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.
 
I think you are saying you want a formula for O1 as well as O2? Here's one way you could do it.

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 202031 Oct 202030 Nov 202031 Dec 2020
2Vol67,59367,37568,29068,46374,13770,74672,57668,85969,10269,23469,36068,58068,226271,721355,420275,400
Sheet1
Cell Formulas
RangeFormula
O1:Q1O1=UNIQUE(EOMONTH(0+MyWeeks,0),1)
O2:Q2O2=SUM((EOMONTH(0+MyWeeks,0)=O1)*MyValues)
Dynamic array formulas.
Named Ranges
NameRefers ToCells
MyValues=Sheet1!$B$2:$N$2O2:Q2
MyWeeks=Sheet1!$B$1:$N$1O2:Q2, O1
 
Upvote 0
Solution

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I think you are saying you want a formula for O1 as well as O2? Here's one way you could do it.

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 202031 Oct 202030 Nov 202031 Dec 2020
2Vol67,59367,37568,29068,46374,13770,74672,57668,85969,10269,23469,36068,58068,226271,721355,420275,400
Sheet1
Cell Formulas
RangeFormula
O1:Q1O1=UNIQUE(EOMONTH(0+MyWeeks,0),1)
O2:Q2O2=SUM((EOMONTH(0+MyWeeks,0)=O1)*MyValues)
Dynamic array formulas.
Named Ranges
NameRefers ToCells
MyValues=Sheet1!$B$2:$N$2O2:Q2
MyWeeks=Sheet1!$B$1:$N$1O2:Q2, O1
Thank you Stephen. Its working now.
 
Upvote 0

Forum statistics

Threads
1,215,756
Messages
6,126,690
Members
449,329
Latest member
tommyarra

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