Using the workdate field in a fomula

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • In Progress
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?
Photo of Scott


  • 328 Points 250 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
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]))