Numbers Exercises

DATEDIF in Apple Numbers

Last updated:

Short answer: DATEDIF returns the difference between two dates in days ("D"), whole months ("M") or whole years ("Y"). Syntax: DATEDIF(start, end, unit)

Explanation

DATEDIF returns the difference between two dates in days ("D"), whole months ("M") or whole years ("Y").

Syntax

DATEDIF(start, end, unit)

Example

How many whole months are between 1 January 2026 and 25 December 2026?

Formula: =DATEDIF(DATE(2026,1,1),DATE(2026,12,25),"M")
Result: 11

Frequently asked questions

What does DATEDIF do in Apple Numbers?

DATEDIF returns the difference between two dates in days ("D"), whole months ("M") or whole years ("Y").

What is the syntax of DATEDIF?

The syntax is DATEDIF(start, end, unit).

More in this category

Read more

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