Forum Discussion

ScottErvin's avatar
ScottErvin
Qrew Cadet
7 years ago

Using the workdate field in a fomula

I am trying to calculate how many days late a project assignment is using a workdate field.  I have tried the following formula:

If([Status] = "Completed", null, ToDays(Today() - ([Due Date])) <= 0, null, Today() - [Due Date])

But because I have predecessors in my steps I have to use a workdate field.  I thought i could convert the Due Date to another formula in Date format and use it but I am unable to do that either.

Any suggestions?
  • assuming Due date is the Workdate field type, maybe try this

    If([Status] = "Completed", null, ToDays(Today() - (ToDate([Due Date]))) <= 0, null, Today() - ToDate([Due Date]))