Summing across multiple columns using SUMIF function

kristikls

New Member
Joined
Mar 8, 2013
Messages
1
I'm trying to get a calculation using SUMIFS that looks at 2 criteria to determine whether a figure should be included in a sum but I want the Sum Range to span multiple columns. I can get the formula to work for a single column but not multiples.


I guess I can't upload the file here but the formula currently is:
=SUMIFS('New Sales'!$N$11:$N$9999,'New Sales'!$E$11:$E$9999,$A$5,'New Sales'!$J$11:$J$9999,1)
I tried to do a named range and that didn't work. Basically, I want where column N is just totally to instead be about 20 columns.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I'm trying to get a calculation using SUMIFS that looks at 2 criteria to determine whether a figure should be included in a sum but I want the Sum Range to span multiple columns. I can get the formula to work for a single column but not multiples.


I guess I can't upload the file here but the formula currently is:
=SUMIFS('New Sales'!$N$11:$N$9999,'New Sales'!$E$11:$E$9999,$A$5,'New Sales'!$J$11:$J$9999,1)
I tried to do a named range and that didn't work. Basically, I want where column N is just totally to instead be about 20 columns.

You need to switch to a different type of formula...

Control+shift+enter, not just enter:

=SUM(IF('New Sales'!$E$11:$E$9999=$A$5,IF('New Sales'!$J$11:$J$9999=1,'New Sales'!$N$11:$Q$9999)))
 
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,946
Members
449,480
Latest member
yesitisasport

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