Originally Posted by
Jonmo1
Not that I'm aware of.
the <9.99999999999999E+307 is saying only count numbers that are less than 9.99999999999999E+307 (the biggest number allowed in a cell, referred to as BIGNUM)
This is what allows the sumifs function to ignore the errors because it's only looking for NUMBERS that are less than Bignum. Errors are NOT numbers.
Then adding the sumproduct allows it to do multiple criteria (G2:G5) as an OR type of function.
A simplified example
=SUMPRODUCT(SUMIF(A1:A100,B1:B3,B1:B100))
This would be the same as doing
SUMIF(A1:A100,B1,B1:B100)+SUMIF(A1:A100,B2,B1:B100)+SUMIF(A1:A100,B3,B1:B100))
Bookmarks