Numbers Exercises

STRIPDURATION in Apple Numbers

Last updated:

Short answer: STRIPDURATION returns the number of days if the value is a duration, and otherwise the value itself. Syntax: STRIPDURATION(any-value)

Explanation

STRIPDURATION returns the number of days if the value is a duration, and otherwise the value itself. It mostly exists for compatibility with other spreadsheet apps.

Syntax

STRIPDURATION(any-value)

Example

Turn the duration “1w” (one week) into a plain number of days.

Formula: =STRIPDURATION("1w")
Result: 7

Frequently asked questions

What does STRIPDURATION do in Apple Numbers?

STRIPDURATION returns the number of days if the value is a duration, and otherwise the value itself. It mostly exists for compatibility with other spreadsheet apps.

What is the syntax of STRIPDURATION?

The syntax is STRIPDURATION(any-value).

More in this category

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising