Help with proof of concept -

mick0005

Active Member
Joined
Feb 21, 2011
Messages
406
Hey all –

I have a spreadsheet that I receive weekly with updated data from another department. It basically provides forecasted quantities at the daily level for multiple products across multiple locations. What I would like to do is come up with a way for users to select a range of dates they want forecasted quantities for as well as for which locations and which products, and they would receive output of the aggregated quantities for that date range, subtotaled first by product then location (location we are concerned about being the Adcoop). I have provided a small sample of the type of data I’d be using to do this. I have also shown an output I manually generated of what I’d like it to look like.

I don’t know if a macro is the best way to do this, or a formula, or something else… I am open to ideas on the vision… then I will see if someone can help with the execution.

Excel Workbook
ABCDEFGHIJK
1ProductDivisionRegionAdcoopDCRest_CountUnits_09_26_2011Units_09_27_2011Units_09_28_2011Units_09_29_2011Units_09_30_2011
2WrenchCENTRAL DIVISION-0150000000CHICAGOCHICAGO IL CP-000796299,2699,4759,79510,10211,384
3WrenchCENTRAL DIVISION-0150000000CHICAGOCHICAGO IL CP-000799458191,163194,461201,463206,704226,528
4WrenchCENTRAL DIVISION-0150000000CHICAGOCTRL IL IL CP-0016475218,37318,91019,31720,07422,516
5WrenchCENTRAL DIVISION-0150000000CHICAGOILIAMO MO CP-0011472356359357390460
6WrenchCENTRAL DIVISION-0150000000NEW YORKMLWAUKE WI CP-00539612338,89640,34541,67242,93847,125
7WrenchCENTRAL DIVISION-0150000000NEW YORKPEORIA IL CP-0013473813,25413,61013,98714,59016,386
8HammerCENTRAL DIVISION-0150000000NEW YORKQUAD CITIS CP-0044992523539554588687
9HammerCENTRAL DIVISION-0150000000NEW YORKROCKFRD IL CP-0056963111,29411,52512,00612,50214,071
10HammerCENTRAL DIVISION-0150000000NEW YORKST LOU MO CP-00144729389199641,0381,233
11HammerCENTRAL DIVISION-0150000000CHICAGOBATON ROUGE CP-01312061,6761,7391,7861,8542,118
12HammerCENTRAL DIVISION-0150000000SOUTHERNBATON ROUGE CP-0131674714,88915,05215,71716,21118,249
13HammerCENTRAL DIVISION-0150000000SOUTHERNBILOXI-GLFP CP-012520266,6886,8386,9877,2748,090
14ScrewdriverCENTRAL DIVISION-0150000000GREAT BARRIERCEN ARK AK CP-0098377925,34525,84426,14427,83031,333
15ScrewdriverCENTRAL DIVISION-0150000000GREAT BARRIERCNTR LOUISI CP-013320123,8043,8273,9394,1404,787
16ScrewdriverCENTRAL DIVISION-0150000000SOUTHERNGRW-GRV MS CP-0158201278284273304402
17ScrewdriverCENTRAL DIVISION-0150000000GREAT BARRIERGRW-GRV MS CP-01583731,0109821,0281,1111,377
18ScrewdriverCENTRAL DIVISION-0150000000GREAT BARRIERGRW-GRV MS CP-015860103,2283,1343,2633,5024,391
19NailsCENTRAL DIVISION-0150000000GREAT BARRIERJACKSON MS CP-0123204414,53714,60014,95915,74618,578
20NailsCENTRAL DIVISION-0150000000MICHIGANLAFAYETTE L CP-012920308,6678,7579,0999,50710,993
21NailsCENTRAL DIVISION-0150000000MICHIGANLAKE CHARLE CP-013220134,1284,1754,3134,4985,018
22NailsCENTRAL DIVISION-0150000000MICHIGANLRL-HAT MS CP-016120134,3514,4014,4474,7805,309
23NailsCENTRAL DIVISION-0150000000MICHIGANMEMPHIS TN CP-0065372294290296317373
Sheet1



So here is the output I’d like… in this example the selection criteria I would choose would be:

Product: Hammer
Adcoop: Baton Rouge and Biloxi
Date range: 9/27 – 9/29

Excel Workbook
ABCDEFGH
1ProductDivisionRegionAdcoopDCRest_Count9/27 - 9/29 TOTAL
2HammerCENTRAL DIVISION-0150000000CHICAGOBATON ROUGE CP-01312065,379
3HammerCENTRAL DIVISION-0150000000SOUTHERNBATON ROUGE CP-0131674746,980
4TOTAL52,359
5HammerCENTRAL DIVISION-0150000000SOUTHERNBILOXI-GLFP CP-012520266,838
6TOTAL6,838
7
Sheet2
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
This one sounds like fun. Curious what your skill level is with pivot tables. Your concept might actually be easier than you think, but I need to brainstorm.
 
Upvote 0
This one sounds like fun. Curious what your skill level is with pivot tables. Your concept might actually be easier than you think, but I need to brainstorm.

I like where you went with that one cuz Pivot Tables was my first thought as well... only issue with that is the daily forecasts go out up to 6 months... users would need to select on average at least 30-90 days of forecast typically. For my example I made it only a few days to make it easy but that's not exactly typical. With a pivot table you'd need to drag those fields down into a row or column for every single day you want a forecast for and I don't think it will aggregate/sum across columns...

My pivot table skill level is pretty good... better than anyone I know at my office, but probably only intermediate compared to many of the users on this board.
 
Upvote 0
Hmm, well that is an onion in the ointment. Is this a file you get brand new each cycle or do columns get deleted and re-added for new dates.

In other words, could you maintain formulas in columns of to the right (i.e. after all of your forecast data) or would you need to re-create them in a new version of the file every time a new version is created? Also, would you be allowed to insert a row above your headers (that would be the best way to format your headers to get just the date value)?

Also, we could always create macro to create a pivot table to do a pivot on everything, and then pass through your user variables through there and thus the people wouldn't need to select the dates, the macro could do it.

Let me know your thoughts. I'll send you a private message with my email, if you want to send me the structure of the file (without proprietary data) so i could get a better feel, let me know.
 
Upvote 0
Hmm, well that is an onion in the ointment. Is this a file you get brand new each cycle or do columns get deleted and re-added for new dates.

In other words, could you maintain formulas in columns of to the right (i.e. after all of your forecast data) or would you need to re-create them in a new version of the file every time a new version is created? Also, would you be allowed to insert a row above your headers (that would be the best way to format your headers to get just the date value)?

Also, we could always create macro to create a pivot table to do a pivot on everything, and then pass through your user variables through there and thus the people wouldn't need to select the dates, the macro could do it.

Let me know your thoughts. I'll send you a private message with my email, if you want to send me the structure of the file (without proprietary data) so i could get a better feel, let me know.

Just shot you an email buddy -

The file will be renewed each week with refreshed dates that replace the old dates (delete the prior week's days and add the new days... it is a rolling 6 months) The columns will always remain the same.
 
Upvote 0

Forum statistics

Threads
1,224,534
Messages
6,179,391
Members
452,909
Latest member
VickiS

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