STRIPDURATION in Apple Numbers
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
- DATE + MONTH
- DATEDIF + DATE
- WEEKDAY + DATE
- MONTH + EDATE + DATE
- DAY + EOMONTH + DATE
- HOUR + TIME
- YEAR
- DATEVALUE + DAY
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