Recall & Review
beginner
What does the DATEDIF function do in Google Sheets?
DATEDIF calculates the difference between two dates in years, months, or days.
Click to reveal answer
beginner
Syntax of DATEDIF function?
DATEDIF(start_date, end_date, unit) where unit can be "Y", "M", "D", "MD", "YM", or "YD".
Click to reveal answer
beginner
What does the unit "Y" mean in DATEDIF?
It returns the number of complete years between the start and end dates.
Click to reveal answer
intermediate
How to get the number of months ignoring years using DATEDIF?
Use unit "YM" to get months difference ignoring years.
Click to reveal answer
intermediate
What happens if the start_date is after the end_date in DATEDIF?
DATEDIF returns a #NUM! error because start_date must be before end_date.
Click to reveal answer
Which DATEDIF unit returns the total days difference between two dates?
✗ Incorrect
"D" returns the total number of days between the two dates.
What does the "MD" unit in DATEDIF calculate?
✗ Incorrect
"MD" returns the difference in days ignoring months and years.
If start_date is 2023-01-01 and end_date is 2024-01-01, what does DATEDIF with unit "Y" return?
✗ Incorrect
It returns 1 because there is one complete year between the dates.
Which unit would you use to find months difference ignoring years?
✗ Incorrect
"YM" calculates months difference ignoring years.
What error occurs if start_date is after end_date in DATEDIF?
✗ Incorrect
DATEDIF returns a #NUM! error if start_date is after end_date.
Explain how to use DATEDIF to find the difference in years, months, and days between two dates.
Think about how each unit counts different parts of the date difference.
You got /4 concepts.
Describe the difference between the DATEDIF units "MD", "YM", and "YD".
Each unit ignores some parts of the date difference.
You got /3 concepts.