ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUMIF not adding a range (https://www.excelbanter.com/excel-discussion-misc-queries/81499-sumif-not-adding-range.html)

Kathy

SUMIF not adding a range
 
I can't get SUMIF to add the values in a range. I tried:
=SUMIF(B3:B7,"Check",C3:E7)
But it doesn't add all the values in the range C3:E7. It adds only some of
them.

I can make it work by listing each column range to be added separately, like
this:
=SUMIF(B3:B7,"Check",C3:C7)+SUMIF(B3:B7,"Check",D3 :D7)+SUMIF(B3:B7,"Check",E3:E7)

But it's a major pain to enter that whole thing each time.

Any idea why it won't add a range?

Domenic

SUMIF not adding a range
 
Try...

=SUM(IF(B3:B7="Check",C3:E7))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
Kathy wrote:

I can't get SUMIF to add the values in a range. I tried:
=SUMIF(B3:B7,"Check",C3:E7)
But it doesn't add all the values in the range C3:E7. It adds only some of
them.

I can make it work by listing each column range to be added separately, like
this:
=SUMIF(B3:B7,"Check",C3:C7)+SUMIF(B3:B7,"Check",D3 :D7)+SUMIF(B3:B7,"Check",E3:
E7)

But it's a major pain to enter that whole thing each time.

Any idea why it won't add a range?



All times are GMT +1. The time now is 03:00 PM.

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