I am using the SUMIFS functions function with multiple array criteria and have a question about using semi-colons versus commas in the arrays. The following formula using commas in the first criteria incorrectly returns zero:
The following formula using semi-colons in the first criteria returns the correct result:
Can anyone explain why semi-colons work and commas do not? Also, how would I handle this if there was a third criteria? Lastly, is there a better formula to use?
Excel Formula:
=SUM(SUMIFS(RevenueYearToDateRevenues,RevenueFund,{"222","26*","27*"},RevenueObjectCode,{"4010*","4230*"}))
The following formula using semi-colons in the first criteria returns the correct result:
Excel Formula:
=SUM(SUMIFS(RevenueYearToDateRevenues,RevenueFund,{"222";"26*";"27*"},RevenueObjectCode,{"4010*","4230*"}))
Can anyone explain why semi-colons work and commas do not? Also, how would I handle this if there was a third criteria? Lastly, is there a better formula to use?