+ Reply to Thread
Results 1 to 5 of 5

Return Count of Data between 2 dates

  1. #1
    Registered User
    Join Date
    09-24-2012
    Location
    Aurora, Il
    MS-Off Ver
    Excel 2013
    Posts
    10

    Return Count of Data between 2 dates

    Hello,

    I am having trouble trying to count data that is between 2 dates. I want to return how many of some value occurs between selected dates (during the first qtr "x" came up "y" times).

    I have a spreadsheet here to review.

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Return Count of Data between 2 dates

    SEE THE ATTACHED FILE
    Formatted the Quarter Number with custom format and used some product
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: Return Count of Data between 2 dates

    Try this, copied down and across...
    =COUNTIFS($B$3:$B$18,">="&K$1,$B$3:$B$18,"<"&EDATE(K$1,3),$C$3:$C$18,$E3)

    There are only 5 PQ matches for qtr1 , not 6
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-24-2012
    Location
    Aurora, Il
    MS-Off Ver
    Excel 2013
    Posts
    10

    Wink Re: Return Count of Data between 2 dates

    That's what I'm talking about! THank you so much, saved me a lot of time.

    Work great!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: Return Count of Data between 2 dates

    Happy to help, thanks for the feedback

+ 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. Using sumifs to return data for specific dates
    By Mackay2m in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-20-2015, 01:47 PM
  2. Lookup and Return Data Between 2 Dates
    By samsnb in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-27-2013, 11:34 AM
  3. Data input and return count
    By Vic in forum Excel General
    Replies: 4
    Last Post: 02-13-2011, 09:19 PM
  4. Replies: 7
    Last Post: 01-16-2009, 05:04 AM
  5. return row count of filtered data.
    By tarns in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2006, 04:03 AM

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