+ Reply to Thread
Results 1 to 4 of 4

SUMIFS Function with an OR Statement In One Criteria

  1. #1
    Forum Contributor
    Join Date
    04-06-2006
    Posts
    131

    SUMIFS Function with an OR Statement In One Criteria

    Hey Everyone!!

    I have a bit of a tricky one and I am at an absolute loss as to how do do this.

    I need to do a SUMIFS with 2 sets of Criteria, but I need the second Criteria to be an OR Statement. The numbers I am adding up is in Column E, with any where from about 20,000 to about 60,000 records (will fluctuate all the time). The first Criteria is easy - match up the name in AG12 with any of the names in Column C. The second criteria is to match up the numbers in Column A with any of the numbers in AD1 through AD40.

    I tried this but it didn't work: =SUMIFS(E:E,C:C,AG12,A:A,AD1:AD40). I've alos tried a million other variations of that, imbedded SUM(IF( statements, SUMPRODUCT statements, and DSUM statements and no luck. I can't find anything that allows me to make that second second criteria look at the numbers in Column AD as being AD1 or AD2 or AD3 so on and so forth.

    Any help would be greatly appreciated. Thanx a million!!!

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: SUMIFS Function with an OR Statement In One Criteria

    Have a look at the attached and see if this helps at all...

    The formula in the yellow cell looks at ColA to check for those that match the list in ColG. It then checks for an "X" in ColC and sums ColB.

    Sounds like what you're trying to do and should be clear enough to easily adapt to your data.
    If not, post a sample and we'll go from there.

  3. #3
    Forum Contributor
    Join Date
    04-06-2006
    Posts
    131

    Re: SUMIFS Function with an OR Statement In One Criteria

    Worked like a charm! Thank you soooo much!! :D

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: SUMIFS Function with an OR Statement In One Criteria

    Happy to help

+ 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 Function - mutliple criteria
    By tdsmith14 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2014, 05:19 PM
  2. [SOLVED] SumIfs function in VBA with Date as one criteria
    By Bezzie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-08-2013, 12:11 PM
  3. Sum rage = criteria range in sumifs function
    By mj1118888 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2013, 12:25 PM
  4. SUMIFS w/ multiple criteria and an or function
    By jacobkmc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2013, 09:22 PM
  5. SUMIFS function with calculated criteria
    By RollsWRangler in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2013, 11:35 AM

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