Sum if 2 conditions are met

K

kieffer

=SUM(IF((Gentex!$C$7:$C$2000="Panamic")*(Gentex!$AW$7:$AW$2000=$A6),Gentex!$G$7:$G$2000))

I want to sum what is in column G only if the 2 conditions are met in
column C and column AW. I get the #value as a result.

Any suggestions.
 
P

Pete_UK

This is an array formula, so instead of pressing ENTER when you have
typed it in (or subsequently edit it), you have to press
CTRL-SHIFT-ENTER. If you do this correctly, then Excel will wrap the
formula with curly braces { } - you should not type these yourself.

So, double-click on the cell as if to edit it, then CTRL-SHIFT-ENTER.
You can use <copy> and <paste> in the normal way once you have set the
formula up correctly.

Hope this helps.
 

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