Sumif Help

redhouse23

New Member
Joined
Mar 25, 2020
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
Hello,

I am trying to sumif a column based on multiple criteria. However, the formula requires that I drag it across hundreds of columns, which in turn means I need to add a new criteria for each column I drag the formula across (see image "Original").

How can I write the same formula, but in a way that I don't have to keep manually adding the new column/criteria into the formula for each column I drag it over? Conceptually, I'd like to get to something like I have in image "New". Obviously, the formula in image doesn't work, but what can I do to get the same result?

For both image examples, the result should be 100. Please let me know if my explanation of the problem is unclear. I hope the images will do most of the "talking" for me. Thanks!


ORIGINAL
Original.JPG

NEW

New.JPG
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Here are the same examples if I drag the formula down some columns. You can see that I'd have to keep manually adding a column to the formula in the "Original" formula. How can I avoid this?

ORIGINAL V2
Original 2.JPG


NEW V2
New 2.JPG
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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