Sum multiple columns based multiple criteria

vineet78

Board Regular
Joined
Oct 22, 2017
Messages
73
Hi

I am struggling from last one week in applying one of the excel formula.
I have a spreadsheet having 10 columns of which last 4 are number columns.

Now based on criteria in first 6 columns , i need to sum total of last 4 columns.
Sum if and SUMPRODUCT both are not working.

Please help !

Regards
Vineet
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You are a bit vague but try something like:

=SUMPRODUCT(--(A1:A10="a"),--(B1:B10="b"),--(C1:C10="c"),--(D1:D10="d"),--(E1:E10="e"),--(F1:F10="f"),G1:G10+H1:H10+I1:I10+J1:J10)
 
Upvote 0
Thanks Steve ! it worked for small range of data but will try it more my large workbook.
Also, another new issue i am facing is with SUMIF.
I have 4 sumifs formula say SUMIF1+SUMIF2+SUMIF3+SUMIF4 (All these sumifs have multiple criteria).
Now the real issue is that most of the times , my sum range is blank depending on period which i chose.
the result is that then particular SUMIF shows error >>#REF !
Then my combined UMIF1+SUMIF2+SUMIF3+SUMIF4 becomes #REF !
is there a way please to ignore #REF ! error and continue with rest of working please

thanks very much in advance for your help
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,257
Members
448,952
Latest member
kjurney

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