Keeper4826
New Member
- Joined
- Nov 6, 2006
- Messages
- 47
I don’t know how to create effective pivot tables. I have a very large table and I need to identify totals for various groups.
Rules:
The first table needs to show totals across the board but cannot include duplicates (personnel with multiple certifications in the same category, or certifications in a lower category - e.g. CAT 1 certified cannot be double counted in the CAT 2 certified numbers). I want it to show the categories in the first column, totals the second column, and in the third column totals only for those who have a “Yes” in the Mission column.
The second table needs to have units in the left column, and six columns with the totals for the first table (CAT 1 – Total, CAT 2 – Total, CAT 3 – Total, CAT 1 – Mission, CAT 2 – Mission, CAT 3 – Mission).
Here is an example dataset. I have no idea how to create the pivot tables described above.
Rules:
- A person with multiple certifications for a category only counts as one. E.g., A person with two CAT 3 certifications only counts as one).
- A person will be counted at the highest category level only. E.g., A person with CAT 2 and CAT 3 certifications will only be recorded as CAT 2 (the higher of the two certs).
The first table needs to show totals across the board but cannot include duplicates (personnel with multiple certifications in the same category, or certifications in a lower category - e.g. CAT 1 certified cannot be double counted in the CAT 2 certified numbers). I want it to show the categories in the first column, totals the second column, and in the third column totals only for those who have a “Yes” in the Mission column.
Category | Total | Mission |
CAT 1 | 5 | 4 |
CAT 2 | 10 | 7 |
CAT 3 | 3 | 2 |
The second table needs to have units in the left column, and six columns with the totals for the first table (CAT 1 – Total, CAT 2 – Total, CAT 3 – Total, CAT 1 – Mission, CAT 2 – Mission, CAT 3 – Mission).
Units | CAT 1 - Total | CAT 2 - Total | CAT 3 - Total | CAT 1 - Mission | CAT 2 - Mission | CAT 3 - Mission |
Blue | 0 | 4 | 0 | 0 | 3 | 0 |
Green | 1 | 2 | 2 | 1 | 1 | 1 |
Red | 0 | 4 | 0 | 0 | 3 | 0 |
Yellow | 4 | 0 | 1 | 3 | 0 | 1 |
Here is an example dataset. I have no idea how to create the pivot tables described above.
Test_Pivot Table.xlsx | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Name | Unit | School Name 1 | School Name 2 | School Name 3 | School Name 4 | School Name 5 | School Name 6 | School Name 7 | School Name 8 | School Name 9 | School Name 10 | School Name 11 | School Name 12 | School Name 13 | School Name 14 | School Name 15 | Mission | ||
2 | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Full Title | Absolute Title | Full Title | Scope Absolute | YES/NO | ||||
3 | CAT 1 | CAT 1 | CAT 1 | CAT 1 | CAT 2 | CAT 2 & Other 1 | CAT 2 | CAT 3 & Other 1 | CAT 3 | Other 1 | Other 2 | Other 3 | AB | AB | CD | |||||
4 | Person 1 | Blue | x | x | Yes | |||||||||||||||
5 | Person 2 | Blue | x | x | Yes | |||||||||||||||
6 | Person 3 | Blue | x | Yes | ||||||||||||||||
7 | Person 4 | Blue | x | No | ||||||||||||||||
8 | Person 5 | Green | x | x | x | x | x | Yes | ||||||||||||
9 | Person 6 | Green | x | x | Yes | |||||||||||||||
10 | Person 7 | Green | x | x | x | x | Yes | |||||||||||||
11 | Person 8 | Green | x | x | x | No | ||||||||||||||
12 | Person 9 | Green | x | x | x | x | No | |||||||||||||
13 | Person 10 | Red | x | Yes | ||||||||||||||||
14 | Person 11 | Red | x | x | Yes | |||||||||||||||
15 | Person 12 | Red | x | x | x | x | Yes | |||||||||||||
16 | Person 13 | Red | x | No | ||||||||||||||||
17 | Person 14 | Yellow | x | x | Yes | |||||||||||||||
18 | Person 15 | Yellow | x | Yes | ||||||||||||||||
19 | Person 16 | Yellow | x | x | Yes | |||||||||||||||
20 | Person 17 | Yellow | x | Yes | ||||||||||||||||
21 | Person 18 | Yellow | x | No | ||||||||||||||||
Data |