I should have asked what version of Project you're using. Project
2002/2003
( I don't remember with 2000) have a field named [Current Date] that you
can
use in calculations. You would use the DateDiff() function to calculate
the
difference. Let's say your end-of-life date was stored in the user
definable field [Date1]. To get the number of days remaining you could
calculate the field [Number1] with the expression DateDiff("d", [Current
Date], [Date1]) and that would give you the number of days until the
expiration date. If that EOL date doesn't apply to all tasks, you might
need to add some error detection because a blank [Date1] will result in
an
error condition in the result field.
--
Steve House [MVP]
MS Project Trainer & Consultant
Visit
http://www.mvps.org/project/faqs.htm for the FAQs
Makes sense, thanks. How can I easily create a 'current-date' field to
include in a calculated field?
:
Duration and constraints aren't what you should be using to express
your
requirements IMHO. Remember, duration is the amount of time between
when
work is first done on a task and when it's finished and NOT the the
"window
of opportunity" during which you have to work on it. If I have a task
that
requires 8 hours of work, can start as of today and needs to finish
before 1
July 2005, its duration is 1 day and it has a deadline of 1 July; it's
NOT a
6 month duration task unless the resource doing the work is going to
put
in
a few minutes on it each day between now and July. Using duration and
constraints as you're attempting is probably going to royally screw up
everything else in your plan and it'll end up making no sense
whatsoever.
Instead, grab a user defined number field and create a calculated
field
that
subtracts the current day from the end-of-life dates and add it to
your
Gantt chart table labeled "Time Remaining" or something appropriate.
Let
your start date and finish date be freely calculated by Project as
they
are
supposed to and remove those constraints. If a task must be finished
before
the end of life date, express that fact in the plan with a deadline
set
on
that date.
--
Steve House [MVP]
MS Project Trainer & Consultant
Visit
http://www.mvps.org/project/faqs.htm for the FAQs
I have a small section of the project plan that I would like to show
days
remaining until ATT end-of-life date for a few of their network
services.
We
are migrating people and want this calendar count down section
visible.
I
have finish-date set with must-finish-on, can't figure out how to
set
start-date to current date so the duration column automatically
counts
days
between start-date and finish-date.
:
George wrote:
How do I have keep me 'start date' = current date?
How do I set 'finish date' to a fixed date that doesn't change as
other tasks are updated?
You could set a MUST FINISH ON constraint on the task. This would
ensure that the finish date did not move.
As far as the start date I guess you could have a macro so this but
what is the business reason for this? I dont get why you would want
the
start date to always be 'today'.
--
___
Brian K
Project MVP
http://www.projectified.com
Project Server Consultant
http://www.quantumpm.com