ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum if 2 conditions are met (https://www.excelbanter.com/excel-worksheet-functions/83204-sum-if-2-conditions-met.html)

kieffer

Sum if 2 conditions are met
 

=SUM(IF((Gentex!$C$7:$C$2000="Panamic")*(Gentex!$A W$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.


--
kieffer
------------------------------------------------------------------------
kieffer's Profile: http://www.excelforum.com/member.php...o&userid=30848
View this thread: http://www.excelforum.com/showthread...hreadid=532827


Pete_UK

Sum if 2 conditions are met
 
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.



All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com