rudypoochris
New Member
- Joined
- Dec 27, 2013
- Messages
- 3
Hi Guys,
This one is probably pretty tricky. I have a data management issue that I have been able to resolve using SUMIFs and a custom table, but not in pivot form. Since the data source is a SQL database, I would prefer to resolve the issue in pivot form so that future values chart correctly. The data is formatted as so:
<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
From that data I want to see the total size of projects active at the start of the week for the past year. This would essentially mean summing the size of the projects if the week start date lies between the day start and end. This is what I ended up with:
<colgroup><col><col span="2"><col><col></colgroup><tbody>
</tbody>
This is the associated pivot chart:
This would be "OK" except that I would also like to see the size breakdown by project, like this:
This is where I would need the data to be handled purely in a pivot so that when a new project is added, the pivot table will automatically make the summing column for it rather than my manual creation of columns for the data.
I have uploaded a link to a work book with the examples of the data and how I made the charts above. You can see that to make the second chart I had to manually create the columns for each project:
Download PivotExample.xlsx from Sendspace.com - send big files the easy way
Thanks for the help.
This one is probably pretty tricky. I have a data management issue that I have been able to resolve using SUMIFs and a custom table, but not in pivot form. Since the data source is a SQL database, I would prefer to resolve the issue in pivot form so that future values chart correctly. The data is formatted as so:
Job | Day Start | Day End | Size | Project |
1 | 1/1/2014 | 1/10/2014 | 10 | A |
2 | 1/3/2014 | 3/12/2015 | 13 | B |
3 | 1/6/2014 | 2/10/2014 | 50 | C |
4 | 1/18/2014 | 2/10/2014 | 40 | A |
5 | 1/7/2014 | 3/1/2014 | 35 | B |
6 | 2/16/2014 | 4/2/2014 | 23 | C |
7 | 1/29/2014 | 2/28/2014 | 70 | D |
8 | 3/1/2014 | 3/18/2014 | 2 | E |
9 | 1/4/2014 | 2/7/2014 | 12 | G |
10 | 2/9/2014 | 3/9/2014 | 300 | F |
<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
From that data I want to see the total size of projects active at the start of the week for the past year. This would essentially mean summing the size of the projects if the week start date lies between the day start and end. This is what I ended up with:
Year | Month | Week | Weekday Start | Active Size |
2014 | 1 | 1 | 1/1/14 | 10 |
2014 | 1 | 2 | 1/8/14 | 120 |
2014 | 1 | 3 | 1/15/14 | 110 |
2014 | 1 | 4 | 1/22/14 | 150 |
2014 | 1 | 5 | 1/29/14 | 220 |
2014 | 2 | 6 | 2/5/14 | 220 |
2014 | 2 | 7 | 2/12/14 | 418 |
2014 | 2 | 8 | 2/19/14 | 441 |
2014 | 2 | 9 | 2/26/14 | 441 |
2014 | 3 | 10 | 3/5/14 | 338 |
2014 | 3 | 11 | 3/12/14 | 38 |
2014 | 3 | 12 | 3/19/14 | 36 |
2014 | 3 | 13 | 3/26/14 | 36 |
2014 | 4 | 14 | 4/2/14 | 36 |
2014 | 4 | 15 | 4/9/14 | 13 |
2014 | 4 | 16 | 4/16/14 | 13 |
2014 | 4 | 17 | 4/23/14 | 13 |
2014 | 4 | 18 | 4/30/14 | 13 |
<colgroup><col><col span="2"><col><col></colgroup><tbody>
</tbody>
This is the associated pivot chart:
This would be "OK" except that I would also like to see the size breakdown by project, like this:
This is where I would need the data to be handled purely in a pivot so that when a new project is added, the pivot table will automatically make the summing column for it rather than my manual creation of columns for the data.
I have uploaded a link to a work book with the examples of the data and how I made the charts above. You can see that to make the second chart I had to manually create the columns for each project:
Download PivotExample.xlsx from Sendspace.com - send big files the easy way
Thanks for the help.