Excel 2013 Structured Reference - SUMIFS Multiple Possible Criterion using OR?
I am pulling data using SumIFS and one of the criteria can be any one of 3 answers, "Y", "B", or "E". Is this possible? Cant get the syntax to work.
Microsoft ExcelSpreadsheets
Last Comment
ekaplan323
8/22/2022 - Mon
regmigrant
how about:
=SUMIFS(D5:D8,E5:E8,"y")+ SUMIFS(D5:D8,E5:E8,"b") + SUMIFS(D5:D8,E5:E8,"e")
ekaplan323
ASKER
I know I can do that, however, the formula has 3 or 4 other criteria and that makes for a long formula. I am also using absolute values which adds to the length.
Subodh Tiwari (Neeraj)
One way is this...
Assuming the criteria range is B2:B20 and range to be summed is A2:A20 then try this....
You can add more criteria inside the curly braces.
=SUMIFS(D5:D8,E5:E8,"y")+ SUMIFS(D5:D8,E5:E8,"b") + SUMIFS(D5:D8,E5:E8,"e")