SUMIF - should be simple really??

cruyff73

New Member
Joined
Oct 7, 2016
Messages
29
Hi, can anyone help with this? Haven't used excel for a while but can't understand what's not working with this....

=SUMIF(A10:A35,"DSBI",G10:Y35)

Why would this formula only sum the amounts in column G and not the others?

Help much appreciated.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
SUMIF is not designed to total multiple columns.

You can use SUMPRODUCT as demonstrated below.

H1 formula = SUMPRODUCT(($B$1:$D$4)*($A$1:$A$4=G1))

1626903171097.png


Kind regards

Saba
 
Upvote 0
It helps to let us know what version of Excel you are using.
If you have Excel 365 you could us the FILTER function.
=SUM(FILTER(G10:Y35,A10:A35="DSBI"))
 
Upvote 0
No problem

Suppose you have another AND criteria.You could enter use the following formula and replace the bold one with your argument.

=SUMPRODUCT((G10:Y35)*(A10:A35="DSBI")*(A10:A35="DSBI"))

Kind regards

Saba
 
Upvote 0

Forum statistics

Threads
1,215,559
Messages
6,125,517
Members
449,236
Latest member
Afua

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