Sumif formula not working - Excel emergency!

DogGoneGood

New Member
Joined
Nov 29, 2010
Messages
5
I am trying to do a sumif in excel and am getting the incorrect results. As seen in the below table. I am doing a sumif to return the sum of values for particular codes that begin with the number zero. Excel is summing up the values for both codes 0E1 and 0E2 instead of treating these codes as unique. How can I resolve this? Your prompt response would be greatly appreciated.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>

Code Value Sumifformula Sumifresult
0E1 10 =SUMIF($A:$A,A1,$B:$B) 45
0E1 20 =SUMIF($A:$A,A2,$B:$B) 45
0E2 5 =SUMIF($A:$A,A3,$B:$B) 45
0E2 10 =SUMIF($A:$A,A4,$B:$B) 45
 
Barry,

So SUMIF & SUMIFS can not distinguish between "Numbers" and "Text"?

I'm having the same issue with 18 digit serial numbers that are imput as text. I checked using a SUMPRODUCT, and found that it could be swapping the last 3 digits to 000. So when I SUMIF on that serial number it sums all the serial numbers that have the first 15 digits matching. I get a total of $1500 instead of the $165 that it should total as. Any way to get SUMIF/S to work and not have to use SUMPRODUCT? SUMPRODUCT just seems to take up more time.
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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