Problem with Calculated Fields in a Pivot Table

JimRoy

New Member
Joined
Jul 17, 2015
Messages
19
Office Version
  1. 365
Platform
  1. Windows
I apologize in advance if this questions has already been asked or I am improperly posting. This is one of my first posts so hang with me please.....

I have a very simple excel pivot table with three columns:
NameActual HrsMax Hrs
Smith, Bill42.0040.00
White, Betty39.0040.00

I wish to add a calculated field to display Over Time hours. I have followed the instructions to the add a calculated field but I get this error message. What the heck am I doing wrong?

1715617157101.png
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I don't see 'Hours in your field list.
 
Upvote 0
I don't see 'Hours in your field list.
Thats what is kind of strange. When I highlight "HoursActual" and then select "Insert", in the formula field it displays 'Hours and not HoursActual. Also note the apostrophe in front of "'Hours". I have tried to manually type in HoursActual but I get the same error message.
 
Upvote 0
Thats what is kind of strange. When I highlight "HoursActual" and then select "Insert", in the formula field it displays 'Hours and not HoursActual. Also note the apostrophe in front of "'Hours". I have tried to manually type in HoursActual but I get the same error message.
I think you want Calculated "Item" not "Field".
 
Upvote 0
Click on the header of the pivot table first.
Clicked on the header and was able to access Calculated Item, but it would not allow the use of an "Average" in the value so I tried to just type in 40 in the formula and get same error message and still seeing 'Hours instead of HoursActual.

1715638979112.png
 
Upvote 0
This seems so darn basic. Just a simple subraction formula
 
Upvote 0
hmm. What does your data look like? You can do a mock-up with non-sensitive info. I want to see the names of your headers and the items within each column.
 
Upvote 0
Well I just resolved the problem. I went back to the original table and changed the name of the HoursActual column header to just Hrs and bingo. Problem resolved! Go figure?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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