+ Reply to Thread
Results 1 to 8 of 8

problem with sumifs with multiple criteria

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    10

    problem with sumifs with multiple criteria

    Hi all,

    Trying to determine what formula to use to total all the values based on if two criteria are met. I tried using sumifs but it repeatedly gave me the wrong response.

    In the "template tab", I want a formula that sums all the values in the 12 month sales tab in column "sales category". The two criteria that it has to meet is that the category on the template must match the category on the 12 month sales tab, likewise with the date.

    any help with a formula that achieves this objective would be greatly appreciated.

    thank you

    Excel Array Problem.xlsx

  2. #2
    Forum Contributor
    Join Date
    04-23-2013
    Location
    Abu Dhabi United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: problem with sumifs with multiple criteria

    try this:
    =SUMIFS('12 Month Sales'!J:J,'12 Month Sales'!A:A,"="&Template!C$3,'12 Month Sales'!G:G,Template!$B5)

  3. #3
    Forum Contributor
    Join Date
    04-23-2013
    Location
    Abu Dhabi United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: problem with sumifs with multiple criteria

    =SUMIFS('12 Month Sales'!H:H,'12 Month Sales'!A:A,"="&Template!C$3,'12 Month Sales'!G:G,Template!$B5)
    summing up the units

  4. #4
    Forum Contributor
    Join Date
    04-23-2013
    Location
    Abu Dhabi United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: problem with sumifs with multiple criteria

    to make the absolute cell reference i inserted $:
    =SUMIFS('12 Month Sales'!$H:$H,'12 Month Sales'!$A:$A,"="&Template!C$3,'12 Month Sales'!$G:$G,Template!$B5)

  5. #5
    Registered User
    Join Date
    05-16-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: problem with sumifs with multiple criteria

    Hi acerrhod, thanks for the help. When I use that formula I'm only getting a value for one category in each column. All the other categories are blank with "-" as a value. There should be values in each of those categories and I'm unsure as to why it is only returning the value for once category and not each individual one.

    Any ideas?

  6. #6
    Forum Contributor
    Join Date
    04-23-2013
    Location
    Abu Dhabi United Arab Emirates
    MS-Off Ver
    Excel 2010
    Posts
    178

    Re: problem with sumifs with multiple criteria

    to make the absolute cell reference i inserted $:
    =SUMIFS('12 Month Sales'!$H:$H,'12 Month Sales'!$A:$A,"="&Template!C$3,'12 Month Sales'!$G:$G,Template!$B5)

  7. #7
    Registered User
    Join Date
    05-16-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: problem with sumifs with multiple criteria

    I put that formula in and I am still receiving one value for one category and nothing for the other categories.

    I attached the file with the formula in it so you can see what I'm seeing. I have no idea why it's not pulling the values for the other categories and dates.

    Thank you for your help and patience.
    Excel Array Problem.xlsx

  8. #8
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: problem with sumifs with multiple criteria

    the key thing in solving a problem is understanding the data. you have actual "dates" in column A on '12 Month Sales' tab - ranging from the 1st of the month to the last of the month; these dates have been "masked" to show just the Month and the Year.

    on the 'Template' tab, you have the 'first' of every month, again, masked to show just the Month and the Year.

    how do you expect these to match and give you the right results?

    try this formula in cell Template!C5, drag-fill right and down:

    Please Login or Register  to view this content.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ 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