How to input discontinuous range in SUMIF function

mkane

New Member
Joined
Oct 12, 2017
Messages
2
I'm trying to sum monthly production totals for a number of runs in my production facility and am having some issues summing the series with the ranges being discontinuous. I've found some work arounds but am having struggling applying them to my situation.

More or less, what I am trying to accomplish is something along the lines of the following:

=sumif({U3,U16,U29,U44,...},="January",{{N3,N16,U29,U44,...})

On my spreadheet, each "run production calculator" is 13 rows deep, outputting one row of production totals. So every string of totals is equally spaced by 13 cells...not the most convenient number. I have the month of each run outputed along this row to simplify. See below picture to clarify.

1.jpg
[/URL][/IMG]

I can always sum them up manually but who would want to do that..

Any input is appreciated!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the Forum!

It will be relatively simple to write a formula to pick up every 13th line.

But based on the screenshot you've posted, it looks like you can use the even simpler:

=SUMIF(U3:U999,"January",N3:N999)

adjusting the last line 999 as appropriate?
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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