mak345
asked on
ARRAY IN SUMIFS WITH "<>" CRITERIA
I have a SUMIFS formula where I would to like to have one of the criteria be an array of values that a particular range cannot be equal to. I undertsnad how to do this when I only want to include an array of values, but I am having trouble doing the opposite.
=+SUMIFS(data!$F:$F,data!$ C:$C,$A35, data!$D:$D ,$D35,data !$G:$G,$B3 5,data!$I:$I,"<>{0068999,100 0000,33003 05}",data!$B:$B,"<="""&MONTH(F $27))
**Please note the values in the array are text, not numbers.
I can make it work with a SUMPRODUCT formula, but I wanted to see if this was possible as well.
Thanks for any help!
=+SUMIFS(data!$F:$F,data!$
**Please note the values in the array are text, not numbers.
I can make it work with a SUMPRODUCT formula, but I wanted to see if this was possible as well.
Thanks for any help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't think you need 3 separate SUMIFS, you can simply use 3 separate conditions in a single SUMIFS, e.g.
=SUMIFS(data!$F:$F,data!$C :$C,$A35,d ata!$D:$D, $D35,data! $G:$G,$B35 ,data!$I:$ I,"<>00689 99",data!$ I:$I,"<>10 00000",dat a!$I:$I,"< >3300305", data!$B:$B ,"<="&MONT H(F$27))
If you want to exclude a longer list of values then Rob's method may suit better
regards, barry
=SUMIFS(data!$F:$F,data!$C
If you want to exclude a longer list of values then Rob's method may suit better
regards, barry
ASKER
This turned out to be the best option. When I attempted the SUMIFS formula with multiple "<>" criteria it ended up including all values. SUMPRODUCT works, but I prefer the use of SUMIFS.
You will need 3 separate SUMIFS added together (one for each separate column I check.
Also, SUMIFS will convert Text string numbers to numbers and will look for those in column I. So it will look for the number 68999 and not find it amongst numbers/text like 0006899
Sumproduct would be the better choice for that situation. You will just need to try to limit the ranges or use Dynamic Named Ranges.