Skip to main content
Question

Covert Duration to Number in formulas

  • Jul 31, 2019 10:47 PM UTC
  • 1 reply
  • 51 views

I have am looking to identify a percentage as end value. I have two durations #days on task/ # days to complete task. I am trying to write formulat to return value % ( Estimated % Task should be completed)

ToNumber[Tonumber(Duration To Today])/(ToNumber[Days to Complete Task]))  Error: Can not apply  / on types number, duration.   Not sure what I'm doing wrong.
This topic has been closed for replies.

1 reply

ToDays([Duration]) will return the number of days in the duration as a number. Use it in place of ToNumber().