+ Reply to Thread
Results 1 to 4 of 4

COUNTIFS formula between 2 date ranges Challenge

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    COUNTIFS formula between 2 date ranges Challenge

    I want to count the total submitted request for a given year by status. I attached a sample as I'm not getting any results with my formulas...
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: COUNTIFS formula between 2 date ranges Challenge

    Try this in D6 on the Summary sheet then copy right and down as required.
    =COUNTIFS('Funding Requests (2)'!$L:$L,$C6,'Funding Requests (2)'!$BD:$BD,">="&DATE($D$5*1,1,1),'Funding Requests (2)'!$BD:$BD,"<="&DATE(D$5*1,12,31))

    Then go to column BD on the Funding Requests sheet, select the whole column then "Data / Text to columns / Finish". That will force your dates from a text format to an actual date format.

    Hopefully that will make everything add up as expected.

    BSB

  3. #3
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,782

    Re: COUNTIFS formula between 2 date ranges Challenge

    Summary


    D6=IF(AND($C6<>"",D$5<>""),SUMPRODUCT(('Funding Requests (2)'!$L$2:$L$4663=Summary!$C6)*(YEAR('Funding Requests (2)'!$BD$2:$BD$4663)=Summary!D$5)),"")

    copy down and across
    Last edited by CARACALLA; 06-28-2019 at 03:00 PM.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: COUNTIFS formula between 2 date ranges Challenge

    The text to columns part of the above (post #2) may not be necessary depending on your local settings. The dates show as text for me but may not for you.
    difficult to guess as your profile doesn't give us any detail on where you're based.

    BSB

+ 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 within Date Ranges
    By Jamie_QHSE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-03-2017, 02:59 AM
  2. Countifs with date ranges
    By ljbrown in forum Excel General
    Replies: 2
    Last Post: 05-17-2017, 12:48 PM
  3. [SOLVED] COUNTIFS with named date ranges
    By kristy.brown in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-31-2015, 03:05 PM
  4. Countifs with multiple variables and date ranges
    By genichigo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-25-2015, 03:36 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

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