Pass/Fail rate calculation in pivot table

choks90233

New Member
Joined
Jan 27, 2019
Messages
11
Office Version
  1. 2010
Platform
  1. Windows
I am looking to add a measure for my pivot table that will do a simple pass fail rate calculation. The calculation is =pass/sum(pass, fail) how do I translate that into pivot table language? There are 4 basic criteria I am working with. Inspection ID, Date/time, Eval Area, and Rate Status. The date and Eval Area are used as filters for the pivot table. The Inspection ID is the value, and Rate status makes up the rows. There are 4 possible inputs for Rate Status. Fail, Not Rated, Observation, and Pass. So I need to add the number of passes to the number of fails, then divide that total by the passes to get the pass rate. As an example below I created a filtered view of similar data I am using. There are six total inspections. Three Passes and one fail which equals a 75% pass rate. Can I get my pivot table to do that calculation for me?


Inspection IDDateEval AreaRate Status
11-Jan-20Component installationPass
215-Jan-20Component installationPass
330-Jan-20Component installationNot rated
41-Feb-20Component installationFail
515-Feb-20Component installationObservation
622-Feb-20Component installationPass
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
The desired result is a pivot chart that shows pass rates instead of just passes and fails. I do not know how to get the pivot table to calculate that formula to create a data point for the pivot chart
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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