Benches Uncategorized

3

DURATION

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I am doing some calculations on some dates. One of the results seems to be stuck in the duration format, which isn't really what I want. Any way to turn this into a regular number? When I try to change the formatting, it won't permit it.

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    jaxjason

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Look at the StripDuration function.

    STRIPDURATION

    Evaluates a given value and returns either the number of days represented, if a duration value; or the given value. This function is included for compatibility with other spreadsheet applications

    Jason

  2. 0

    Wayne Contello

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    if you want to convert a duration to a number there is a family of functions to do this:

    dur2hours()

    dur2days()

    etc...

  3. 0

    good_nature

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Very helpful and perfect. Thank you.