Discussions

Expand all | Collapse all

Using the workdate field in a fomula

  • 1.  Using the workdate field in a fomula

    Posted 05-10-2018 19:01
    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?


  • 2.  RE: Using the workdate field in a fomula

    Posted 05-10-2018 19:26
    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]))