Summarizing Daily Data into Monthly and then Copy Across Months

alexvolodarsky

New Member
Joined
Nov 15, 2016
Messages
1
Hi,

I have a 684x684 data set for daily retention metrics thats that I want to consolidate into Monthly.

1/1/151/2/151/3/151/4/15......10/27/1610/28/1610/29/16
1/1/151098766322
1/2/15-1210877432
1/3/15--14131211543
1/4/15---161510655
...----18171099
...-----20655
10/27/16------313029
10/28/16-------3533
10/29/16--------36

<tbody>
</tbody>

The resulting table should look like this
31283130313031313031
Jan 2015Feb 2015Mar 2015Apr 2015May 2015Jun 2015......July 2016Aug 2016Sept 2016Oct 2016
Jan 2015Sum of Jan daily800700600500400375350300200150100
Feb 2015120011001000900800700600500400300200
March 2015..............................
Apr 2015...........................
May 2015........................
Jun 2015.....................
...150014001300120011001000
...16001500140013001200
July 20161700160015001400
Aug 2016180017001600
Sept 201619001800
Oct 20162000

<tbody>
</tbody>


For example, the formula for January value in monthly table should be sum(Daily!B2:Daily!AF32). I want to create a formula which I can drag on the monthly table. I assume I'll have use some combination of index and match, and add a row above months with the number of days in the month to adjust the position of the daily table to sum the correct amount (e.g. the table should move over 28 not 31 from January to February).

Does anyone have any ideas how to construct this formula??
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Do you create your data in that manner or does it come to you in that manner?

Also, what is the point of having the dates duplicated on the top and the side?

Ideally, you would want your data to be formatted like below. Then you could use a pivot table to easily do what you want.

Month
Date
Amount
January
1/1/2016
187
January
1/2/2016
387
January
1/5/2016
77
January
1/16/2016
487
January
1/17/2016
395
October
10/12/2016
195
October
10/15/2016
362
October
10/22/2016
412

<tbody>
</tbody>
 
Last edited:
Upvote 0
SUMIFS and SUMPRODUCT will be your primary formula solutions.
However, Pivot Tables have a grouping function for dates that works great too.

You might check out EXCELISFUN channel on Youtube and the video helps from Mr Excel
 
Upvote 0

Forum statistics

Threads
1,218,220
Messages
6,141,231
Members
450,344
Latest member
renslaw

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