How to calculate duration in days

S

sdc

I have created 2 new custom fields - a date field (date1) and duration
(duration1). I would like to calculate the difference in days between
'start' and date1 in days. If I try to create a formula for duration1 of:
start -date1 I get an odd answer. Can you please help me with the formula to
calculate duration between 2 dates.

Thank you!
 
J

Jan De Messemaeker

Hi,

If you want the difference in calendar days, use the DateDiff function
If you want the difference in Working days, use ProjDateDiff function.
HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 
A

Andrew

Jan

I tried the ProjDateDiff function, if I have a different calendar than the
project calendar how do I make the distinction in the formula ?

Regards

Andrew
 
A

Andrew

Magic

Thankyou very much

Regards

Andrew

Jan De Messemaeker said:
Hi,

Put the name of the calendar between double quotes, for instance:

ProjDateDiff([Start],[Finish],"Six Days")

HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
Andrew said:
Jan

I tried the ProjDateDiff function, if I have a different calendar than the
project calendar how do I make the distinction in the formula ?

Regards

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top