ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIFS with 3 criteria instead of just 2 (https://www.excelbanter.com/excel-worksheet-functions/199592-sumifs-3-criteria-instead-just-2-a.html)

Hopper

SUMIFS with 3 criteria instead of just 2
 
I am trying to get SUMIFS function to SUM a range of cells only if three
criteria are met. I have tried the SUMIFS function for two of the criteria
and then added SUMIF to the end for the 3rd criteria, but it always defaults
to the SUMIF function even though the first 2 criteria are not met.

Example:

=SUMIFS(C32:C33,E32:E33,"4",G32:G33,"6")+SUMIF(I32 :I33,"<96",C32:C33)

It is adding cells together even when 4 & 6 criteria are not met.

Anyone have any ideas!

Thank you!

Peo Sjoblom[_2_]

SUMIFS with 3 criteria instead of just 2
 
=SUMPRODUCT(--(E32:E33=4),--(G32:G33=6),--(I32:I33<96,C32:C33)

--


Regards,


Peo Sjoblom

"Hopper" wrote in message
...
I am trying to get SUMIFS function to SUM a range of cells only if three
criteria are met. I have tried the SUMIFS function for two of the
criteria
and then added SUMIF to the end for the 3rd criteria, but it always
defaults
to the SUMIF function even though the first 2 criteria are not met.

Example:

=SUMIFS(C32:C33,E32:E33,"4",G32:G33,"6")+SUMIF(I32 :I33,"<96",C32:C33)

It is adding cells together even when 4 & 6 criteria are not met.

Anyone have any ideas!

Thank you!





All times are GMT +1. The time now is 11:55 PM.

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