Multi-Column Range Sums

DHRogers

New Member
Joined
Oct 16, 2017
Messages
1
Hello all,
I'm hoping the experts here can point me in the right direction for what I need to do

Here's the situation: I have an excel file that tracks production of multiple products by the week and it's set up essentially like this:

Product NameWeek 1 OverWeek 1 UnderWeek 2 OverWeek 2 Under
Product 10210
Product 21011
Product 31120

<tbody>
</tbody>

What I'm trying to do is to create a formula that will give me the sum total of all the times each product has been over produced and under produced so I'd have something like the following (which I have set up on another sheet in the same workbook):

Product NameOverUnder
Product 112

<tbody>
</tbody>

What I'm struggling with is the formula for this since it's a range that covers multiple columns. Is there a way to do this without writing a formula that references each individual column to be summed?

Any advice would be greatly appreciated, I've been beating my head against a wall for a couple of week trying to create a usable format.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Maybe this?
A​
B​
C​
D​
E​
F​
G​
H​
1​
Product NameWeek 1 OverWeek 1 UnderWeek 2 OverWeek 2 UnderOverUnder
2​
Product 10210
1​
2​
3​
Product 21011
2​
1​
4​
Product 31120
3​
1​

=SUMIFS($B2:$E2,$B$1:$E$1,"*"&G$1)
copied across and down
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,690
Members
449,092
Latest member
snoom82

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