Horizontal weekly date values aggregated into single vertical monthly value

sgray

New Member
Joined
Aug 27, 2013
Messages
3
I can't seem to figure out to easily aggregate & automate a series of weekly values (ie. forecast volumes by a specific part number) into vertical monthly summaries, by product.Here's the before picture:column A column B column C column D column E column FPart num 1/1/2013 1/8/2013 1/15/2013 1/22/2013 1/29/2013A 100 100 100 100 100B 150 150 150 150 150C 200 200 200 200 200D 250 250 250 250 250The output after manually doing this would look like this:column A column B column CPart num Date QuantityA Jan-2013 500B Jan-2013 750C Jan-2013 1000D Jan-2013 1250Thanks for your help on this one. I'm interested to see what the community has to say (sorry about the format...)sgray
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Welcome to the Board!

Sorry I can't really decipher that, but you can copy and paste directly from Excel to the board. Sometimes it is easy to just put borders around the cells to make it a little more visual.
 
Upvote 0
Hi schielrn, let me try this again.

I can't seem to figure out to easily aggregate & automate a series of weekly values (ie. forecast volumes by a specific part number) into vertical monthly summaries, by product.Here's the before picture

Part num
1/1/2013
1/8/2013
1/15/2013
1/22/2013
1/29/2013
A
100
100
100
100
100
B
150
150
150
150
150
C
200
200
200
200
200
D
250
250
250
250
250

<tbody>
</tbody>

The output after manually doing this would look like this

Part num
Date
Quantity
A
Jan-13
500
B
Jan-13
750
C
Jan-13
1000
D
Jan-13
1250

<tbody>
</tbody>

Thanks for your help.

sgray
 
Upvote 0
Assuming this needs to be dynamic as far as which row the part number is in, this is one way:
Excel Workbook
ABCDEFGHIJ
1Part num1/1/20131/8/20131/15/20131/22/20131/29/2013
2A100100100100100
3B150150150150150
4C200200200200200
5D250250250250250
6
7
8Part numDate
9AJan-13500
10BJan-13750
11CJan-131000
12DJan-131250
Sheet2
#VALUE!

Hope that helps.
 
Upvote 0
schielrn, thanks for the quick reply. Assuming the only input data points you have are in cells A1 - F5, is there a way to to dynamically populate columns A9 - C12 in your example, without manually typing any of the values (ie. part nums or dates)?

Thanks, sgray
 
Upvote 0
It could probably be done dynamically with using combinations of the frequency formula with other formulas to create a unique list, but I have only seen it done and have not really tried to attempt it myself. The data isn't set up to lend itself to a pivot table, so in short it could definitely be done with VBA and possibly with formulas, but nothing that I have time to work on at the moment. I would copy and paste the list of part numbers and remove duplicates and then put the dates in.
 
Upvote 0

Forum statistics

Threads
1,216,077
Messages
6,128,679
Members
449,463
Latest member
Jojomen56

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