sumif using multiple criteria

G

Guest

How can I use the sumif using more than one criteria. For example:

Sum column C if column A = 5 AND if column B =10
 
P

Pete_UK

Try this array* formula:

=SUM(IF((A1:A100=5)*(B1:B100=10),C1:C100))

*As this is an array formula, then once you have typed it in (or
subsequently edit it) you must use CTRL-SHIFT-ENTER (CSE) rather than
just ENTER. If you do this correctly, then Excel will wrap curly braces
{ } around the formula when viewed in the formula bar - you must not
type these yourself.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top