+ Reply to Thread
Results 1 to 5 of 5

COUNTIFS with Date Ranges

Hybrid View

aldenes COUNTIFS with Date Ranges 02-10-2020, 09:53 AM
AliGW Re: COUNTIFS with Date Ranges 02-10-2020, 09:58 AM
modytrane Re: COUNTIFS with Date Ranges 02-10-2020, 09:59 AM
modytrane Re: COUNTIFS with Date Ranges 02-10-2020, 10:00 AM
aldenes Re: COUNTIFS with Date Ranges 02-10-2020, 01:09 PM
  1. #1
    Registered User
    Join Date
    01-12-2020
    Location
    California
    MS-Off Ver
    2016
    Posts
    53

    Unhappy COUNTIFS with Date Ranges

    Hello,
    I am trying to add a 2nd argument to COUNTIFS that to count would look for a date to fall within an entered date.
    Specifically in the attached example, I would like to count how many times unique names in Name Column A appear and list them as Total occurrences. I know how to do that with COUNTIFS and 1 argument.

    What I need then is to further narrow down the results and count the unique name occurrences for which Date1 falls in the range entered manually on the right - results manually calculated highlighted in yellow.
    Can you please help? I know it has to do with COUNTIFS and multiple arguments but can't seem to get it right.
    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,030

    Re: COUNTIFS with Date Ranges

    This is what you are looking for:

    =COUNTIFS($A$2:$A$10,D2,$B$2:$B$10,">="&K$2,$B$2:$B$10,"<="&L$2)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: COUNTIFS with Date Ranges

    =COUNTIFS(A$2:A$10,D2,B$2:B$10,">=" & K$2,B$2:B$10,"<=" &L$2)

    in F2 and drag it down.
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  4. #4
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: COUNTIFS with Date Ranges

    I was few seconds too late !!!!

  5. #5
    Registered User
    Join Date
    01-12-2020
    Location
    California
    MS-Off Ver
    2016
    Posts
    53

    Cool Re: COUNTIFS with Date Ranges

    Awesome; thank you very much to both of you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Countifs not working within date ranges
    By locopete999 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2019, 08:46 AM
  2. [SOLVED] COUNTIFS within Date Ranges
    By Jamie_QHSE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-03-2017, 02:59 AM
  3. Countifs with date ranges
    By ljbrown in forum Excel General
    Replies: 2
    Last Post: 05-17-2017, 12:48 PM
  4. [SOLVED] COUNTIFS with named date ranges
    By kristy.brown in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-31-2015, 03:05 PM
  5. [SOLVED] countifs and date ranges
    By esaban in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2014, 06:49 PM
  6. [SOLVED] Using COUNTIFS with date ranges
    By Harrytheb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-24-2013, 12:17 PM
  7. [SOLVED] Countifs and Date Ranges
    By MercyMercyMe in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-08-2013, 07:16 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1