Need Pivot Table help

naven_sg

New Member
Joined
Sep 26, 2009
Messages
48
Hello Need a help in Pivot table.

Using the below raw data, i have created Pivot table which shows how many "calls", how many "Made" and "Miss". I also need SLA achived (Made/Miss), can I calculated this(SLA achived) in the pivot table it self.

Note: SLA Achived column given below is not part of pivot. What i really want is this possible to include this in the Pivot.

Regards,
NG



Raw Data</SPAN>
Required data</SPAN>
Ticket</SPAN>City</SPAN>SLA</SPAN>
1654</SPAN>CHESAPEAKE</SPAN>Made</SPAN>
1655</SPAN>COOKEVILLE</SPAN>Miss</SPAN>CityMadeMissGrand TotalSLA Achieved</SPAN>
1656</SPAN>IRVING</SPAN>Made</SPAN>CHESAPEAKE</SPAN>2</SPAN>1</SPAN>3</SPAN>67%</SPAN>
1657</SPAN>KALAMAZOO</SPAN>Made</SPAN>COOKEVILLE</SPAN>2</SPAN>1</SPAN>3</SPAN>67%</SPAN>
1658</SPAN>LAWRENCE</SPAN>Made</SPAN>IRVING</SPAN>3</SPAN>3</SPAN>100%</SPAN>
1659</SPAN>LYNCHBURG</SPAN>Made</SPAN>KALAMAZOO</SPAN>3</SPAN>3</SPAN>100%</SPAN>
1660</SPAN>MOOSIC</SPAN>Made</SPAN>LAWRENCE</SPAN>3</SPAN>3</SPAN>100%</SPAN>
1661</SPAN>RALEIGH</SPAN>Made</SPAN>LYNCHBURG</SPAN>3</SPAN>3</SPAN>100%</SPAN>
1662</SPAN>SPRINGVILLE</SPAN>Made</SPAN>MOOSIC</SPAN>2</SPAN>1</SPAN>3</SPAN>67%</SPAN>
1663</SPAN>SULPHUR SPRI</SPAN>Miss</SPAN>RALEIGH</SPAN>2</SPAN>1</SPAN>3</SPAN>67%</SPAN>
1664</SPAN>TANEYTOWN</SPAN>Miss</SPAN>SPRINGVILLE</SPAN>2</SPAN>1</SPAN>3</SPAN>67%</SPAN>
1665</SPAN>VERNON</SPAN>Miss</SPAN>SULPHUR SPRI</SPAN>1</SPAN>2</SPAN>3</SPAN>33%</SPAN>
1666</SPAN>CHESAPEAKE</SPAN>Miss</SPAN>TANEYTOWN</SPAN>1</SPAN>2</SPAN>3</SPAN>33%</SPAN>
1667</SPAN>COOKEVILLE</SPAN>Made</SPAN>VERNON</SPAN>1</SPAN>2</SPAN>3</SPAN>33%</SPAN>
1668</SPAN>IRVING</SPAN>Made</SPAN>Grand Total25113669%</SPAN>
1669</SPAN>KALAMAZOO</SPAN>Made</SPAN>
1670</SPAN>LAWRENCE</SPAN>Made</SPAN>
1671</SPAN>LYNCHBURG</SPAN>Made</SPAN>
1672</SPAN>MOOSIC</SPAN>Made</SPAN>
1673</SPAN>RALEIGH</SPAN>Made</SPAN>
1674</SPAN>SPRINGVILLE</SPAN>Made</SPAN>
1675</SPAN>SULPHUR SPRI</SPAN>Miss</SPAN>
1676</SPAN>TANEYTOWN</SPAN>Miss</SPAN>
1677</SPAN>VERNON</SPAN>Miss</SPAN>
1678</SPAN>CHESAPEAKE</SPAN>Made</SPAN>
1679</SPAN>COOKEVILLE</SPAN>Made</SPAN>
1680</SPAN>IRVING</SPAN>Made</SPAN>
1681</SPAN>KALAMAZOO</SPAN>Made</SPAN>
1682</SPAN>LAWRENCE</SPAN>Made</SPAN>
1683</SPAN>LYNCHBURG</SPAN>Made</SPAN>
1684</SPAN>MOOSIC</SPAN>Miss</SPAN>
1685</SPAN>RALEIGH</SPAN>Miss</SPAN>
1686</SPAN>SPRINGVILLE</SPAN>Miss</SPAN>
1687</SPAN>SULPHUR SPRI</SPAN>Made</SPAN>
1688</SPAN>TANEYTOWN</SPAN>Made</SPAN>
1689</SPAN>VERNON</SPAN>Made</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL span=4><COL><COL><COL><COL><COL></COLGROUP>
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi
You can add the "SLA" field to the value area of the pivot table one more time and choose "show values as" "% of row total".

Vidar
 
Upvote 0
Hello Vidar,

I have already tried this. The result will show like below; I just need Made%, but this will also give Miss% and Total% (Which i dont need). Also you may suggent to hide the columns which you dont need. But if there is no misses for that particular day then an incorrect column get hidden.

Column Labels
Count of TicketCount of SLATotal Count of TicketTotal Count of SLA
Row LabelsMadeMissMadeMiss
CHESAPEAKE</SPAN>2</SPAN>1</SPAN>66.67%</SPAN>33.33%</SPAN>3</SPAN>100.00%</SPAN>
COOKEVILLE</SPAN>2</SPAN>1</SPAN>66.67%</SPAN>33.33%</SPAN>3</SPAN>100.00%</SPAN>
IRVING</SPAN>3</SPAN>100.00%</SPAN>0.00%</SPAN>3</SPAN>100.00%</SPAN>
KALAMAZOO</SPAN>3</SPAN>100.00%</SPAN>0.00%</SPAN>3</SPAN>100.00%</SPAN>
LAWRENCE</SPAN>3</SPAN>100.00%</SPAN>0.00%</SPAN>3</SPAN>100.00%</SPAN>
LYNCHBURG</SPAN>3</SPAN>100.00%</SPAN>0.00%</SPAN>3</SPAN>100.00%</SPAN>
MOOSIC</SPAN>2</SPAN>1</SPAN>66.67%</SPAN>33.33%</SPAN>3</SPAN>100.00%</SPAN>
RALEIGH</SPAN>2</SPAN>1</SPAN>66.67%</SPAN>33.33%</SPAN>3</SPAN>100.00%</SPAN>
SPRINGVILLE</SPAN>2</SPAN>1</SPAN>66.67%</SPAN>33.33%</SPAN>3</SPAN>100.00%</SPAN>
SULPHUR SPRI</SPAN>1</SPAN>2</SPAN>33.33%</SPAN>66.67%</SPAN>3</SPAN>100.00%</SPAN>
TANEYTOWN</SPAN>1</SPAN>2</SPAN>33.33%</SPAN>66.67%</SPAN>3</SPAN>100.00%</SPAN>
VERNON</SPAN>1</SPAN>2</SPAN>33.33%</SPAN>66.67%</SPAN>3</SPAN>100.00%</SPAN>
Grand Total251169.44%30.56%36100.00%

<TBODY>
</TBODY><COLGROUP><COL><COL><COL><COL><COL><COL><COL></COLGROUP>
 
Upvote 0
Put City in the Row area, SLA in the Column Area and Count of Ticket in the Data area. Then select the SLA field and add a Calculated Item with the formula:

=Made/(Made+Miss)

Result in Excel 2003:


Excel 2003
FGHI
1Count of TicketSLA
2CityMadeMissAchieved
3CHESAPEAKE2167%
4COOKEVILLE2167%
5IRVING3100%
6KALAMAZOO3100%
7LAWRENCE3100%
8LYNCHBURG3100%
9MOOSIC2167%
10RALEIGH2167%
11SPRINGVILLE2167%
12SULPHUR SPRI1233%
13TANEYTOWN1233%
14VERNON1233%
Sheet1
 
Upvote 0
Hello Andrew,


Thanks for the solution it works perfectly fine.


Regards,
NG
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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