+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Count using multiple criteria and date range

  1. #1
    Registered User
    Join Date
    04-08-2011
    Location
    Eden Prairie, MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Count using multiple criteria and date range

    I'm trying to determine the formula to count the number of occurences of text from one column within a date range (today's date - last 10 days) from another column.

    Attached is a sample report so I would need the number of CASH TRANS. received within the date range.

    I have used this formula which references a specific cell, but I need to delete and sort the report so I would prefer incorporating the "today" function.

    =COUNTIFS(Status!AB:AB,">="&Status!AB433,Status!X:X,"CASH TRANS.")

    Any help is much appreciated!
    Attached Files Attached Files
    Last edited by pkukk; 04-08-2011 at 05:30 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Count using multiple criteria and date range

    Try this:

    In cell C2 to count CASH TRANS.

    =COUNTIFS($A$2:$A$23,A2,$B$2:$B$23,">="&TODAY()-10,$B$2:$B$23,"<="&TODAY())

    drag down to C3 to count FHA

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Count using multiple criteria and date range

    Hi pkukk and welcome to the forum,

    I know you are looking for a simple formula with =Today() in it but here is another way to use the power of Excel and get more than your thought your could.

    Look at the attached with a Pivot Table and see if it might answer more than your original question. Play with Pivots a while with this easy example, making different combinations of Rows, Columns and Filters. You can also Group by Dates (as I've done) or sum, count or average numbers in the summation area.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    04-08-2011
    Location
    Eden Prairie, MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Count using multiple criteria and date range

    Thank you both! The formula works great and I will definitely explore using the Pivot Table...I think it opens a whole new level for me!

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Count using multiple criteria and date range

    You're welcome but I was thinking you don't need the last part of the formula I gave you because I doubt you'll have dates > than TODAY() in a column marked "Received".

    Don't forget to mark your thread as SOLVED (click on FAQ link at top of page if you need directions).

    Thanks for the "scales tap".
    Last edited by Cutter; 04-25-2011 at 10:24 AM. Reason: Added thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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