Sumif

danielroberts560

New Member
Joined
May 23, 2008
Messages
46
Hi

I am using a simple sumif formula that is picking up a cpmpletely different number!!!! For example, I am asking Excel to sum all those with an account number of A0012 and it is summing all those with an account number of W0015!! What am I doing wrong!! Im pretty sure the formula is correct - what else could it be?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi

I am using a simple sumif formula that is picking up a cpmpletely different number!!!! For example, I am asking Excel to sum all those with an account number of A0012 and it is summing all those with an account number of W0015!! What am I doing wrong!! Im pretty sure the formula is correct - what else could it be?
Does your formula look something like this...

Book1
AB
2A001299
3A001286
4W001228
5DA001271
6A001256
7X001269
8F001283
9A001266
10W001253
11
12=SUMIF(A2:A10,"A0012",B2:B10)
Sheet3
 
Upvote 0
The unequal ranges might create a problem.

Have you tried

=sumif('worksheet2'!A7:A127,worksheet1!A2,'worksheet2'!E7:E127)
 
Upvote 0
=sumif('worksheet2'!A:A,worksheet1!A2,'worksheet2'!E7:E127)
Your ranges need to match like this...

=SUMIF(worksheet2!A7:A127,worksheet1!A2,worksheet2!E7:E127)

The way it was working with your formula was:

A1...E7
A2...E8
A3...E9
A4...E10
A5...E11
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

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