SUMIF Formula not working

RIP2632

New Member
Joined
Oct 15, 2005
Messages
11
I have a SUMIF formula that is not bringing back the correct data. Here is one of the formulas, =SUMIF($C$2:$T$43,"704",N$2:N$43). The range is the same for all of the formulas but the criteria changes as well as the sum range. There are 4 columns (sum ranges) that I am trying to sum. The first one worked correctly and the last one worked correctly, but the two in the middle do not bring back the correct data.

Any help would be appreciated.

Cameron
 
This formula brings back the correct sum, =SUMIF($C$2:$T$43,"704",J$2:J$43)

This formula does not bring back the correct sum, =SUMIF($C$2:$T$43,704,N$2:N$43)

This formula does not bring back the correct sum,=SUMIF($C$2:$T$43,"704",O$2:O$43)

This formula brings back the correct sum, =SUMIF($C$2:$T$43,"704",P$2:P$43)

I am not sure why one works and not another. Please help.
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi:

Can you confirm the items of interest in columns J, N, O, and P are in fact numbers (and not text).


Try copying the items in Colum J to Column O....results?



plettieri
 
Upvote 0
I don't understand why you are using the range $C$2:$T$43

As I explained in an earlier post, this means that your sum range won't be limited to column N. If you only want to sum column N when column C is "704" use

=SUMIF($C$2:$C$43,"704",N$2:N$43)
 
Upvote 0
Posted: Mon Sep 25, 2006 8:12 pm Post subject:

--------------------------------------------------------------------------------

I don't understand why you are using the range $C$2:$T$43

As I explained in an earlier post, this means that your sum range won't be limited to column N. If you only want to sum column N when column C is "704" use

=SUMIF($C$2:$C$43,"704",N$2:N$43)

...and barry is the winner. It was a formatting error. I see the logic behind it now. Thanks all for your help.
 
Upvote 0

Forum statistics

Threads
1,216,981
Messages
6,133,858
Members
449,839
Latest member
adam234432

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top