I'm not sure, but I think the "sum" rollup method is doing just what it
says - adding the values in the fields in question and putting them in the
summary line. The "use formula" method is applying the same formula to the
summary line to calculate the field in question that is used to calculate it
in the detail lines.
Here's an example. I have subtasks with a custom field that adds 10% to the
total cost to calculate a per-task billing amount. (Not that you should use
Project that way but just for purposes of discussion lets say we're going
to.) We have a summary with 4 subtasks, each with a cost of $100. Our
custom billing field would contain $110 for each task while the task's cost
field would contain $100. The summary task's cost field would contain $400,
the sum of the individual subtasks. How to get the summaries rolled-up
billing field?
I'm don't know for a fact but I suspect that the values in calculated custom
fields are not actually stored in the database - in fact, proper database
design would have them calculated on the fly when the view is displayed just
like happens with calculated fields in Access or Oracle queries. IF our
custom field for the individual subtasks was calculated before the summary
task, they would contain $110 and a rollup using the "sum" method would put
$440 into the summary line. But what I think is happening is the
calculation order ripples down from top to bottom and so the summary line is
cacluated BEFORE the detail subtask line. If the subtasks are were
calculated AFTER the summary line, at the time the summary is calculated the
subtasks still contain nulls in their calculated custom fields and so that's
what would go the the summary. On the other hand, the value for the
internal field "cost" IS stored in the database so at the time everything is
calculated for the summary line, that field would contain $400 and the "use
formula" method would add 10% to that to give the customefield a "rolled up"
value of $440. It's not really directly summing to the summary line but
instead the source of the inputs for the calculations are allready rolled up
and so the same formula as applied in the subtasks produces an apparent
rollup in the summary.
--
Steve House [MVP]
MS Project Trainer & Consultant
Visit
http://www.mvps.org/project/faqs.htm for the FAQs