megera716
Board Regular
- Joined
- Jan 3, 2013
- Messages
- 146
- Office Version
- 365
- Platform
- Windows
I have a spreadsheet with a tab for each month. Each of these tabs contains the same 11 columns, except F and G contain the month name so those vary.
I want to pivot on the Admin name, with the ability to expand and see the breakdown by RD under each Admin, by month. Admins are occasionally reassigned so I want to see any RD they were working with. I first tried doing a multiple range pivot but because it lacks the same filter-ability of a single range pivot, it's not working (I couldn't have admin on the left, with RD breakdown, with months across the top). I have been reading about the Data Model, relationships, and maybe it just won't work with my set of data. When I was trying to create the relationships, I thought I should do it off the Admin column because that was the primary key I was wanting to connect across tabs, but it kept throwing errors because the Admin column has duplicate values.
For example, November numbers:
[TABLE="width: 444"]
<tbody>[TR]
[TD]Admin[/TD]
[TD]RD[/TD]
[TD]Team[/TD]
[TD]Nov Target[/TD]
[TD]Nov Totals[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Adam C[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Aaron[/TD]
[TD]Clinical[/TD]
[TD]20[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD]Monique[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Erik[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Paul[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Ben[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Emily[/TD]
[TD]Clinical[/TD]
[TD]12[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Mark[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Ann[/TD]
[TD]Paul P[/TD]
[TD]Financial[/TD]
[TD]20[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]Ann[/TD]
[TD]Joe[/TD]
[TD]Financial[/TD]
[TD]16[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
But in October (on a separate tab):
[TABLE="width: 472"]
<tbody>[TR]
[TD]Admin[/TD]
[TD]RD[/TD]
[TD]Team[/TD]
[TD]Oct Target[/TD]
[TD]Oct Totals[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Garrett[/TD]
[TD]Clinical[/TD]
[TD]4[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Aaron[/TD]
[TD]Clinical[/TD]
[TD]5[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD]Monique[/TD]
[TD]Clinical[/TD]
[TD]20[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD]Adam C[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]36[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Erik[/TD]
[TD]Clinical[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Paul[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Ben[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
So the Pivot would look like this:
[TABLE="width: 554"]
<tbody>[TR]
[TD]ADMIN[/TD]
[TD]RD[/TD]
[TD]Dec Target[/TD]
[TD]Dec Totals[/TD]
[TD]Nov Target[/TD]
[TD]Nov Totals[/TD]
[TD]Oct Target[/TD]
[TD]Oct Totals[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Aaron[/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Adam C[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Garrett[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Adam C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]36[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Monique[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]24[/TD]
[/TR]
</tbody>[/TABLE]
Hopefully this makes sense. Sorry if it's not entirely clear, obviously I don't want to paste in ALL the data for anonymity, but I'm happy to answer questions and clarify!
I want to pivot on the Admin name, with the ability to expand and see the breakdown by RD under each Admin, by month. Admins are occasionally reassigned so I want to see any RD they were working with. I first tried doing a multiple range pivot but because it lacks the same filter-ability of a single range pivot, it's not working (I couldn't have admin on the left, with RD breakdown, with months across the top). I have been reading about the Data Model, relationships, and maybe it just won't work with my set of data. When I was trying to create the relationships, I thought I should do it off the Admin column because that was the primary key I was wanting to connect across tabs, but it kept throwing errors because the Admin column has duplicate values.
For example, November numbers:
[TABLE="width: 444"]
<tbody>[TR]
[TD]Admin[/TD]
[TD]RD[/TD]
[TD]Team[/TD]
[TD]Nov Target[/TD]
[TD]Nov Totals[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Adam C[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Aaron[/TD]
[TD]Clinical[/TD]
[TD]20[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD]Monique[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Erik[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Paul[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Ben[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Emily[/TD]
[TD]Clinical[/TD]
[TD]12[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Mark[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Ann[/TD]
[TD]Paul P[/TD]
[TD]Financial[/TD]
[TD]20[/TD]
[TD]14[/TD]
[/TR]
[TR]
[TD]Ann[/TD]
[TD]Joe[/TD]
[TD]Financial[/TD]
[TD]16[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
But in October (on a separate tab):
[TABLE="width: 472"]
<tbody>[TR]
[TD]Admin[/TD]
[TD]RD[/TD]
[TD]Team[/TD]
[TD]Oct Target[/TD]
[TD]Oct Totals[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Garrett[/TD]
[TD]Clinical[/TD]
[TD]4[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD]Aaron[/TD]
[TD]Clinical[/TD]
[TD]5[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD]Monique[/TD]
[TD]Clinical[/TD]
[TD]20[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD]Adam C[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]36[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Erik[/TD]
[TD]Clinical[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Kristen[/TD]
[TD]Paul[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]McKenna[/TD]
[TD]Ben[/TD]
[TD]Clinical[/TD]
[TD]16[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
So the Pivot would look like this:
[TABLE="width: 554"]
<tbody>[TR]
[TD]ADMIN[/TD]
[TD]RD[/TD]
[TD]Dec Target[/TD]
[TD]Dec Totals[/TD]
[TD]Nov Target[/TD]
[TD]Nov Totals[/TD]
[TD]Oct Target[/TD]
[TD]Oct Totals[/TD]
[/TR]
[TR]
[TD]Rebecca[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Aaron[/TD]
[TD="align: right"]15[/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]24[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Adam C[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Garrett[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]Brandy[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Adam C[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]36[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Monique[/TD]
[TD="align: right"]12[/TD]
[TD][/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]24[/TD]
[/TR]
</tbody>[/TABLE]
Hopefully this makes sense. Sorry if it's not entirely clear, obviously I don't want to paste in ALL the data for anonymity, but I'm happy to answer questions and clarify!