Can I use two criteria in the SUMIF worksheet function?

P

Patricia

Would appreciate knowing if anyone knows how to do this, and if so what is
the syntax. Thanks.
 
A

Alan

No, you can only use one criteria with SUMIF, but with SUMPRODUCT there is
no limit to how many criteria that can be used apart from the fact that it
is a volatile function, and if used in large ranges it will take a
significant time to calculate, more so if it's looking for more than one
criteria.
If you do need to use large (several hundreds or thousands) of SUMPRODUCT
formulas then probably the best way to go is a Pivot Table.
Check out this link, it'll take a while to read but it really is worth the
effort,
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
Regards,
Alan.
 
Top