summarizing different series with different starting points (tricky)

karolinem

New Member
Joined
Sep 15, 2020
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hi,

I have different value series (light blue cells) whose first value is attached to a different "starting month".

For example, in February 2020, one value series is starting with the value 9 in February 2020, the value 51 in March 2020, the value 83 in April 2020 etc.
I have another value series starting in August 2020, with the value 8 in August 2020, the value 48 in September 2020, the value 79 in October 2020 etc.

I want these different value series to be summarized and attributed to the right month (illustrated in the bottom)

So, for January 2020 - July 2020 I want the values 9, 51, 83, 90, 274, 339 but for August 2020 I want 600 + 8 (7th value of the first series and 1st value of the second series). For September 2020, I want 699 + 48 + 2 (8th value of the first series, 2nd value of the second series and 1st value of the third series).

And so on.

Does anyone know how to get a dynamic formula to summarize the values like above?
Screen Shot 2020-09-15 at 10.36.51 PM.png
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Do the rows always represent sequential months?...with no months skipped?
 
Upvote 0
Assuming the answers to my questions are that rows always represent sequential months with none skipped, here is one approach:
MrExcel20200915.xlsx
ABCDEFGHIJKLMNOPQRS
1datecityreachable citizenstotal citizenscitizens share
2Jan-20
3Feb-2095183902743396006998489471009126013621430
4Mar-20
5Apr-20
6May-20
7Jun-20
8Jul-20
9Aug-208487985260322570664805899957119612931357
10Sep-2021118206075132154187208222277300314
11Oct-204264246139172304354430480511638690724
12Nov-2021322247289157183223248265330357375
13Dec-20
14Jan-21
15Feb-21
16Mar-215315055167206365425516576613766829870
17
18
19Jan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21Feb-21
20095183902743396087499421078134417102170
karolinem
Cell Formulas
RangeFormula
F20:S20F20=SUM((COLUMN(OFFSET($F$2,,,COLUMNS($F19:F19),COLUMNS($F19:F19)))+ROW(OFFSET($F$2,,,COLUMNS($F19:F19),COLUMNS($F19:F19)))=COLUMN($F$2)+ROW($F$2)+COLUMNS($F19:F19)-1)*OFFSET($F$2,,,COLUMNS($F19:F19),COLUMNS($F19:F19)))
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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