+ Reply to Thread
Results 1 to 5 of 5

SUMIFS - an either or OR formula

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Red face SUMIFS - an either or OR formula

    Hello All, THANKs in Advance...trying to figure out if I can use the SUMIFS function to sum the following,

    I want to Sum the Total of a criteria if the CELL-X has a DATE that passed the CELL-A(a specific Date) And/OR if the CELL-X is blank.

    My current formulas are as follows...don't know how to combine them

    =SUMIFS(L3:L39,F3:F39,A43,$N$3:$N39,"") < refers to Sum if Blank
    =SUMIFS($L$3:$L$39,$F$3:$F$39,$A43,$N$3:$N$39,">"&$A$1) < refers to Sum if Date is greater than A1

    THANKS!!!!!
    Last edited by ExceLLemon; 08-06-2013 at 01:38 PM.

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

    Re: SUMIFS - an either or OR formula

    Try this version

    =SUMPRODUCT(SUMIFS(L3:L39,F3:F39,A43,$N$3:$N39,CHOOSE({1,2},"",">"&$A$1)))
    Audere est facere

  3. #3
    Registered User
    Join Date
    08-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: SUMIFS - an either or OR formula

    THANK YOU so very much it works!!!!!

    Just wondering if I need to combine SUMIFs, do I always have to use sumproducts!!!

    Have a great week!

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

    Re: SUMIFS - an either or OR formula

    In this case because you have two criteria for the last condition the formula returns an array of two values - I used SUMPRODUCT to sum those two values (because SUMPRODUCT doesn't normally need "array entry"). If you want you can use SUM instead of SUMPRODUCT but then the formula needs to be confirmed with CTRL+SHIFT+ENTER

  5. #5
    Registered User
    Join Date
    08-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: SUMIFS - an either or OR formula

    Thanks so much, got so much to learn...

+ 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 Formula
    By emmajones711 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-02-2013, 08:09 PM
  2. SUMIFS Puzzle - Trying to avoid adding multiple SUMIFS to get valid result
    By haldavid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 03:42 PM
  3. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  4. SUMIFS Formula
    By hoopfan2000 in forum Excel General
    Replies: 1
    Last Post: 09-06-2012, 05:19 PM
  5. Help with SUMIFS formula
    By emackenney in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2012, 12:29 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