+ Reply to Thread
Results 1 to 10 of 10

Sumifs to check multiple criteria in the same column

  1. #1
    Registered User
    Join Date
    05-06-2015
    Location
    austin
    MS-Off Ver
    2007
    Posts
    7

    Sumifs to check multiple criteria in the same column

    Hey Everyone,

    I need help with fixing my sumifs function. I have it adding my data in "column d" while matching the criteria range in "column b." There are three different criteria I am searching for in "column b" that correspond to what needs to be added in "colulmn d". Here is what I have"
    Please Login or Register  to view this content.
    Excel returns 0.00 and I'm not sure how to fix this. Do I need to use a different function to correct this? The goal is to add data in column "d" that matches criteria in column "b" "Sysco", Euro Imports" or "LAF".

    Any help will be greatly appreciated.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Sumifs to check multiple criteria in the same column

    The syntax for SUMIFS is correct, so it must be a data error. Make sure there are no floating spaces after your text string data ranges. Otherwise, you may want to upload a sample workbook that recreates your results.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    05-06-2015
    Location
    austin
    MS-Off Ver
    2007
    Posts
    7

    Re: Sumifs to check multiple criteria in the same column

    I've attached an example of what my results are. I can't figure out the problem.
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumifs to check multiple criteria in the same column

    Quote Originally Posted by mcmahobt View Post
    The syntax for SUMIFS is correct, so it must be a data error.
    =SUMIFS(D13:D23,B13:B23,"Sysco",B13:B23,"Euro Imports",B13:B23,"LAF")

    3 criteria all using the same criteria range.

    Try it like this...

    =SUM(SUMIF(B13:B23,{"Sysco","Euro Imports","LAF"},D13:D23))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sumifs to check multiple criteria in the same column

    Your current formula will always return zero because SUMIFS works like AND - all conditions need to be true for a row for that row's value to be included......and it isn't possible for a single cell to be equal to all 3 of your text values at once - for your needs try this version which works like OR

    =SUM(SUMIFS(D13:D23,B13:B23,{"Sysco","Euro Imports","LAF"}))
    Audere est facere

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Sumifs to check multiple criteria in the same column

    I quit life for today. Good call Tony.

  7. #7
    Registered User
    Join Date
    05-06-2015
    Location
    austin
    MS-Off Ver
    2007
    Posts
    7

    Re: Sumifs to check multiple criteria in the same column

    Thanks for the help guys.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumifs to check multiple criteria in the same column

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

  9. #9
    Registered User
    Join Date
    05-06-2015
    Location
    austin
    MS-Off Ver
    2007
    Posts
    7

    Re: Sumifs to check multiple criteria in the same column

    I actually have a follow up question using the same data. I can start a new thread, but I thought it would be easier to just use this one.

    Now that I have total of all the matching criteria I can get the percentage by dividing my sumifs total from grand total, equaling 87%. Is there a way to display both the 87% in one cell and the remaining 13% in another, without having to use multiple formulas?

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumifs to check multiple criteria in the same column

    If I understand what you're asking...

    You can only have 1 formula in 1 cell.

    If you have 2 cells for results then you need 2 formulas, 1 for each cell.

+ 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. [SOLVED] SUMIFS Multiple Criteria Same Column
    By jsharrard in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-18-2017, 05:08 PM
  2. [SOLVED] SumIfs with column and row criteria
    By picassov7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-24-2013, 08:34 AM
  3. SUMIFS: Cannot use the same criteria range (A column)
    By cssst5 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-23-2013, 04:05 PM
  4. [SOLVED] SUMIFS with Column Concatenate for Criteria
    By carlyman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-29-2013, 09:11 AM
  5. Replies: 6
    Last Post: 02-27-2009, 02:47 PM

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