Calculated Field in Pivot Table

Jasmaine86

New Member
Joined
Jul 26, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hi There,

I need a calculated field to work out the "completed on time" % in my pivot table.

When i do it manually, my formula is =(D5-B5)/D5.

I want to insert a calculated field but only have it create one extra column with one result.

Thank you,
 

Attachments

  • sample.JPG
    sample.JPG
    137 KB · Views: 29

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Sorry, I was seeing that as 2 fields, not 2 items of the same field. Look at this ... it's more than one extra column, but does the right calculation (added Count to Data Area twice, and having the second one be Field Settings/Show Values As/% of Row Total):
 

Attachments

  • CapPTPct.JPG
    CapPTPct.JPG
    27.5 KB · Views: 15
Upvote 0
Solution
Sorry, I was seeing that as 2 fields, not 2 items of the same field. Look at this ... it's more than one extra column, but does the right calculation (added Count to Data Area twice, and having the second one be Field Settings/Show Values As/% of Row Total):
Thanks Glen. This was helpful. I have played with this format before but was hoping there was a tidier way to transform the data and show the one result.
 
Upvote 0
Thanks Glen. This was helpful. I have played with this format before but was hoping there was a tidier way to transform the data and show the one result.
Well, you could add 2 fields to your data, one for Fail and one for On Time, and then my initial suggestion would work:
 

Attachments

  • CapPTFailOT.JPG
    CapPTFailOT.JPG
    80.3 KB · Views: 24
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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