Automation of weekly buckets to respective monthly buckets

ArunS

New Member
Joined
Jan 5, 2015
Messages
27
Hi,

I would like to understand if there is a formula to:

1. Convert Weeks of a month into a monthly bucket.Below is an example. I need all these weeks to be unified into its respective month.

1606902757793.png


2. There are volumes under each week and I want to sum up the volumes from these weeks into its respective month.

1606903021796.png


May I know if there is an excel formula for having the combinations of point# 1 and 2? I would be a great help for me.
This is just an example and I am looking to replicate this formula to a wide range of weeks to months and then volume of these weeks into its respective months.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
What's your link between weeks and months?

Are 4 October, 11 October etc week start dates, or week end dates?

What months do 27 September and 1 November fall into, and why?
 
Upvote 0
Hi Stephen,

Just to mention, the point was not about whether the week's date, is a start date or an end date of a week.
It's more to do with accumulating all weeks of a particular month, into a Month bucket and subsequently summing the volumes mentioned in the weeks to that particular month.

The link between the weeks and months are the volume within the weeks of a month.
I hope I made my part clear.
What's your link between weeks and months?

Are 4 October, 11 October etc week start dates, or week end dates?

What months do 27 September and 1 November fall into, and
 
Upvote 0
Like this?

ABCDEFGHI
127 Sep 20204 Oct 202011 Oct 202018 Oct 202025 Oct 20201 Nov 20208 Nov 202015 Nov 2020
21235791113
3
4Sep 20201
5Oct 202017
6Nov 202033
Sheet2
Cell Formulas
RangeFormula
B4:B6B4=SUMPRODUCT(--(EOMONTH(0+B$1:I$1,0)=EOMONTH(A4,0)),B$2:I$2)
 
Upvote 0
Like this?

ABCDEFGHI
127 Sep 20204 Oct 202011 Oct 202018 Oct 202025 Oct 20201 Nov 20208 Nov 202015 Nov 2020
21235791113
3
4Sep 20201
5Oct 202017
6Nov 202033
Sheet2
Cell Formulas
RangeFormula
B4:B6B4=SUMPRODUCT(--(EOMONTH(0+B$1:I$1,0)=EOMONTH(A4,0)),B$2:I$2)
Let me try this formula.Ideally I would like to have the months in horizontal format and volumes summed below them
 
Upvote 0
Let me try this formula.Ideally I would like to have the months in horizontal format and volumes summed below them
Hi Stephen,

The formula is not sufficing what I am looking for.
Because what I need as an output from the formula should be like what is shown in green shaded.
Basically having a formula that will be a combination of summing weeks to its respective"MMM-YY" and also subsequently summing the volumes within those weeks.

1606966056377.png
 
Upvote 0
What does not sufficing mean? You need help putting it in your format? The formula is producing an error?

Here it is in your format. Note that O1:Q1 are dates (just formated as MMM YYYY). If it's not working for you, please be specific about what's happening.

Book9.xlsx
ABCDEFGHIJKLMNOPQ
1Weeks4 Oct 202011 Oct 202018 Oct 202025 Oct 20201 Nov 20208 Nov 202015 Nov 202022 Nov 202029 Nov 20206 Dec 202013 Dec 202020 Dec 202027 Dec 2020Oct 2020Nov 2020Dec 2020
2Vol67,59367,37568,29068,46374,13770,74672,57668,85969,10269,23469,36068,58068,226271,721355,420275,400
Sheet2
Cell Formulas
RangeFormula
O2:Q2O2=SUMPRODUCT(--(EOMONTH(0+$B1:$N1,0)=EOMONTH(O1,0)),$B2:$N2)
 
Upvote 0
What does not sufficing mean? You need help putting it in your format? The formula is producing an error?

Here it is in your format. Note that O1:Q1 are dates (just formated as MMM YYYY). If it's not working for you, please be specific about what's happening.

Book9.xlsx
ABCDEFGHIJKLMNOPQ
1Weeks4 Oct 202011 Oct 202018 Oct 202025 Oct 20201 Nov 20208 Nov 202015 Nov 202022 Nov 202029 Nov 20206 Dec 202013 Dec 202020 Dec 202027 Dec 2020Oct 2020Nov 2020Dec 2020
2Vol67,59367,37568,29068,46374,13770,74672,57668,85969,10269,23469,36068,58068,226271,721355,420275,400
Sheet2
Cell Formulas
RangeFormula
O2:Q2O2=SUMPRODUCT(--(EOMONTH(0+$B1:$N1,0)=EOMONTH(O1,0)),$B2:$N2)
Hello Stephen,

Thanks for your support. I guess I will start from the beginning on what I need as help regarding this formula.

I want a formula that will be a combination of:

Converting the weeks of the month into a month summation(not just a formatting, but using a formula that will cummulate the weeks , to a month total)

Second, to induce into the same formula, the summation of the volumes from the weeks of a month, into a month total volume.

To conclude the output as a result of using that formula should be as shown below in green shade.

1607039467815.png


Regards,
Arun
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,759
Members
449,048
Latest member
excelknuckles

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