+ Reply to Thread
Results 1 to 7 of 7

SUMIFS to match array of Criteria

  1. #1
    Registered User
    Join Date
    06-21-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    11

    SUMIFS to match array of Criteria

    I am trying to use SUMIFS to return the sum of a revenue column if the adjacent column contains one of two possible values.

    So let's say column A contains 5 lines of revenue figures.

    Column B contains the status of a sales order that that revenue applies to. The order status can be either: Processing, Complete, Cancelled or Closed.

    REVENUE STATUS
    22.30 Complete
    19.99 Closed
    100 Complete
    56.50 Complete
    39.25 Cancelled

    How do I use the SUMIFS formula to get the total of revenue for the two orders that equal 'Cancelled' and 'Closed', so in this case, I want to see the figure 59.24.

    I tried embedding an 'OR' statement, but that didn't seem to work.

    Note that I'm using the SUMIFS formula because more criteria need to be added later, such as a date range.
    Last edited by amazinglazers; 07-19-2013 at 06:20 AM. Reason: Amend to title; not clear.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: SUMIFS to match any of Criteria, not all.

    Try this...

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Registered User
    Join Date
    06-21-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: SUMIFS to match any of Criteria, not all.

    That's the one. Thank you.

  4. #4
    Registered User
    Join Date
    06-21-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: SUMIFS to match any of Criteria, not all.

    Oh wait, sorry. that doesn't work. If I do that, I only get the sum of the first entry in the array. So if I do {"Closed","Cancelled"} I get the sum of "Closed" revenue but not "Cancelled".

  5. #5
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: SUMIFS to match array of Criteria

    Somehow its true.. I thonk.. You are using only SumIF section.. not the outer SUM..

    Try to use the above with Ctrl + Shift + Enter.. but i hope its not required..

    still try one more approach.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-21-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: SUMIFS to match array of Criteria

    Oh, I get it now. You were correct, I was trying to use the SUMIF outside of the SUM formula. Your first solution was correct; apologies for the confusion.

  7. #7
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: SUMIFS to match array of Criteria

    Thanks for the feedback & Rep..

+ 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. Replies: 5
    Last Post: 07-02-2017, 10:25 AM
  2. SUMIFS with Multiple Criteria and a Partial match
    By paulbeav in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-28-2013, 04:00 PM
  3. Replies: 4
    Last Post: 06-27-2012, 03:04 PM
  4. Replies: 5
    Last Post: 09-07-2011, 11:14 PM
  5. Replies: 1
    Last Post: 05-16-2011, 05:00 PM

Tags for this Thread

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