Strange pivot table request

charleymax

New Member
Joined
Sep 10, 2010
Messages
39
Hi all,

I have a protected and shared worksheet with thousands of rows of shared data in it showing a Week number work is scheduled for (numeric, 1-52), the project code (alpha) a document type (text) and the standard hours for that doc type (numeric).
s2d0s7.jpg



To that sheet I've linked a separate unshared pivot table which takes the week numbers I put in column A and plots them by project number to give me Sum of Standard Hours....
28u3djl.jpg


What I now want to do is be allowed to put 2 or more weeks in column A and get my pivot table to recognise that I want to split that work over the 2 weeks I specify... so in col A I would put say 18,19 and my pivot table would then pick up that the standard hrs of say 6hrs are to be split 3hrs each for weeks 18 and 19.

I know I might have to have the entire sheet read by a macro, if Col A is one number the row copied to new sheet, if 2 numbers 2 new rows created and the std hrs split between the rows, if 3 numbers 3 rows and std hrs split between the 3 etc....

so
ddev03.jpg


would rewrite to a new sheet as
see below reply...

Any pointers or suggestions would be greatly appreciated...

I know this is a tall order... :biggrin:
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,651
Messages
5,838,579
Members
430,557
Latest member
MK15

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
Top