+ Reply to Thread
Results 1 to 7 of 7

Count of Occurences based on multiple criteria

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Buffalo, NY
    MS-Off Ver
    Excel 2007
    Posts
    3

    Count of Occurences based on multiple criteria

    I am looking to design a report that will self-update once food is selected from dropdown menus. I am attaching a sample of my report. I have tried the sumproduct and countif formulas but to no avail. Basically, I want a count of how much times a specific region has had different food orders. I have attached the data I have in sheet 1. In sheet 2 is the report that I want to set up to sum the # of times each of the foods are input (broken out by region).

    I know I can run a pivot table but I want this to be a "live" report that will update automatically as someone enters a new food.

    Any help would be much appreciated! Thank you so much
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-08-2013
    Location
    Reigate
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Count of Occurences based on multiple criteria

    Countifs will work but you will have to do a seperate one for each of the 8 food columns, and sum them.

  3. #3
    Registered User
    Join Date
    02-13-2013
    Location
    Rogers
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Count of Occurences based on multiple criteria

    Quote Originally Posted by hilpup24 View Post
    I am looking to design a report that will self-update once food is selected from dropdown menus. I am attaching a sample of my report. I have tried the sumproduct and countif formulas but to no avail. Basically, I want a count of how much times a specific region has had different food orders. I have attached the data I have in sheet 1. In sheet 2 is the report that I want to set up to sum the # of times each of the foods are input (broken out by region).

    I know I can run a pivot table but I want this to be a "live" report that will update automatically as someone enters a new food.

    Any help would be much appreciated! Thank you so much
    Good afternoon,

    Please see the attached. I believe the series of countifs is what you're needing.
    Attached Files Attached Files
    Last edited by rlh06; 04-08-2013 at 05:15 PM.

  4. #4
    Registered User
    Join Date
    04-08-2013
    Location
    Reigate
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Count of Occurences based on multiple criteria

    As rhl06 has it ^^ but instead in your formula, replace each of the instances of Data!$A$2:$A$9 with Data!$A:$A (for example) so it reads the whole column, therefore automatically updating when a new row is added.

  5. #5
    Registered User
    Join Date
    02-13-2013
    Location
    Rogers
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Count of Occurences based on multiple criteria

    Quote Originally Posted by Dan_SJ View Post
    As rhl06 has it ^^ but instead in your formula, replace each of the instances of Data!$A$2:$A$9 with Data!$A:$A (for example) so it reads the whole column, therefore automatically updating when a new row is added.
    Yep. Dan is right. The attached has a 60,000 row cap alternative "fix".
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-05-2013
    Location
    dublin, Ireland
    MS-Off Ver
    Excel 2007/10
    Posts
    26

    Re: Count of Occurences based on multiple criteria

    =+SUMPRODUCT((Data!$A:$A = Report!B$3)* (Data!$D:$K = Report!$A4))

    will do same job but takes a lot of CPU power for all column

    see attached
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-11-2012
    Location
    Buffalo, NY
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Count of Occurences based on multiple criteria

    Thank you ALL for your excellent input. This worked perfectly and you all saved me HOURS of work and frustration!

+ 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