Tom --
There is a Variance column in the resource Work table (of which we made a
copy and then modified the copy). However, that column is calculated as
follows:
Work Variance = Work - Baseline Work
If I read you correctly, you want to calculate the difference between the
Actual Work column and the Baseline Work column. To do this, you would need
to use a custom field and create the desired formula in that field. Here's
how to do it:
1. Open the project in question
2. Click Tools - Customize - Fields...
3. Select the Custom Fields tab, then select the "Resource" option at the
top
4. In the Type drop-down list on the right, select the "Text" option
5. Select any unused Text field, then click the Rename... button
6. Name the field something like "Actual Work Variance" and click OK
7. Click the Formula button on the right
8. In the Formula dialog box, copy and past the formula listed below
cStr(([Actual Work]-[Baseline Work])/60) & " h"
(You might want to write this formula the other way, depending on whether
you want to see positive or negative numbers when the task has not finished,
and the Actual Work is less than the Baseline Work.)
9. Click OK and then click OK again when warned about deleting existing
data in this field
10. Click OK to close the Customize fields dialog box
Now, you will need to insert this custom field into the table we created
last night. To do this, complete the following steps:
1. Click View - Table - More Tables...
2. Click the "Resource" option at the top of the dialog box
3. Select the "_Actual vs. Baseline Work" table we created and click the
Edit... button
4. Select the location where you would like to add the new field
5. Click the Field Name drop-down list and select the "Actual Work
Variance" field from this list
6. Set the Title for this field to something like "Variance" and set the
Column Width to 11 or 12
7. Click OK and then click the Organizer... button
8. In the Organizer dialog box, select the Fields tab
9. Click the "Resource" option at the top, and then copy the new "Actual
Work Variance" field to your Global.mpt file
10. Click the Table tab, select the "Resource" option, and then copy the
newly-edited Table to your Global.mpt file
11. Click Yes to replace the old Table with the new Table, then click Close
12. Click Close to close the More Tables dialog box
Now, at this point you should be able to run the Report we created last
night, and see the new column of data in the Report. Prepare yourself not
to see a total at the bottom of the new Variance column as this is NOT a
number field, in spite of what the data looks like (we used a Text field to
show the "h" formatting at the end of each Work Variance value). Let me
know if this helps.
--
Dale A. Howard
Project Management Trainer/Consultant
Denver, CO
Tom Bartolo said:
Dale,
First of all, Thank You. It was exactly what I wanted. Now of course I
want more. I just want to add a variance column to show the difference
between the two. I tried importing into Excel but the hours come in
with the tag "hrs" right in the cell so I can't use a formula on them.
How should I proceed?
Many Thanks.
Tom
"Dale Howard" <
[email protected]> wrote in message