get percentages in pivot table?

atlascanada

New Member
Joined
Jul 1, 2014
Messages
10
I have 3 columns of data: animal (deer, fish, bear) /completeness(incomplete,complete, fragment) /level(1,2,3,4,5)

I wonder if there is a way to have a pivot table with animal down the side, level along the top and in the middle just the percent of "complete"

for instance there in level 1 there are 4 fish, 2 are complete and 2 are fragments, so i would like it to read "50%"

is this possible? or is there a way to do it without a pivot table?

any help would be great! thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You can get that result, but it's a bit busy-looking and the only way I can think to only show % complete is to hide rows. I'm not a huge user of PivotTables though, so someone might have a good way to clean it up.

Once you've created your PivotTable:
1. Add "Level" to Column Labels
2. Add both "Animal" and "Completeness" to Row Labels
3. Add "Completeness" to Values
4. With a result in your PivotTable selected, in the ribbon under PivotTable Tool > Options > Calculations > Show Values As, select % of Parent Row Total
5. (Optional) Hide the rows containing incomplete and fragment

If you want to do this without a PivotTable, you could manually create your list of animals as row headings, levels as column headings and use a formula like:
=IFERROR(COUNTIFS(animalRange,$A2,levelRange,B$1,completenessRange,"complete")/COUNTIFS(animalRange,$A2,levelRange,B$1),"No Result")

ABCDEF
112345
2deer14%0%0%25%71%
3bear0%67%33%29%20%
4fish29%50%43%0%0%
5crow100%33%50%71%25%
6magpieNo Result67%0%40%25%

<tbody>
</tbody>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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