+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Counting With Multiple Criteria Including Date Range

  1. #1
    Registered User
    Join Date
    05-20-2011
    Location
    Orlando, Fl
    MS-Off Ver
    Excel 2007
    Posts
    3

    Counting With Multiple Criteria Including Date Range

    I am trying to run an active count of all package sign ups on my website. In Sheet 1, in column B are the package names and in column E are the sign up dates. In Sheet 2, I am trying to calculate package sign ups by month, with the package names on the vertical (Rows 2-6) and the months on the horizontal (Columns B-T).

    My thoughts are that there is a CountIf formula that would be able to accommodate this.

    I understand that pivot tables would be able to accommodate this, but am looking for an equation that will do the same. Ideally, the equation would reference the horizontal month cell in Sheet 2 and the vertical package name cell in Sheet 2 to calculate from the master reference in Sheet 1.

    Anyone have suggestions for a formula that would be able to accommodate this?

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

    Re: Counting With Multiple Criteria Including Date Range

    Could you upload a small sample file?

  3. #3
    Registered User
    Join Date
    05-20-2011
    Location
    Orlando, Fl
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Counting With Multiple Criteria Including Date Range

    Please see attached for sample.
    Attached Files Attached Files

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

    Re: Counting With Multiple Criteria Including Date Range

    First - change the "Month" headings on Sheet 2 to first of month dates.
    Second - Place this formula in Sheet 2 B3:

    =COUNTIFS(Sheet1!$B:$B,Sheet2!$A3,Sheet1!$E:$E,">="&Sheet2!B$2,Sheet1!$E:$E,"<"&EDATE(Sheet2!B$2,1))

    Third - there is no match for Sheet 2 A3 on Sheet 1 so in the attached I changed it to "Silver"
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-20-2011
    Location
    Orlando, Fl
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Counting With Multiple Criteria Including Date Range

    That works great, thank you so much!

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

    Re: Counting With Multiple Criteria Including Date Range

    You're welcome.
    Don't forget to mark your thread as SOLVED - click FAQ at top of page for instructions.

+ 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