Excel07 - pvt tbl - calculated field question

tagoso

New Member
Joined
Aug 23, 2007
Messages
1
Hi,
I have a few thousand lines of data.
Each line contains;

Date: ProjectName : HoursWorked

I have successfully created a pivot table showing number of hours for each project and I can even filter by month.

What I want to do now is create a calculated field which tells me how much money those HoursWorked cost us. Each month the accountant gives me the total $ figure for labour expense. I divide this by the total number of hours worked in that month to give me an average rate per hour. I would then like to apply that rate to each project and get a cost of labour for each project.

I have tried creating a calculated field but Excel wont let me reference a cell external to the pivot table (namely the average hourly rate).
Any brilliant ideas?
Thanks in advance.
bryan
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi - welcome to the board!

you can't use a different constant for, eg, each month break in a calculated field. You'll need to have a single value for the lot, or add what you need to the data & let the pivot do the work.
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,666
Members
448,977
Latest member
moonlight6

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