0
0
Excelspreadsheet~5 mins

DATEDIF for date differences in Excel - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the DATEDIF function do in Excel?
DATEDIF calculates the difference between two dates in days, months, or years.
Click to reveal answer
beginner
What is the correct syntax for the DATEDIF function?
DATEDIF(start_date, end_date, unit)<br>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_date and end_date.
Click to reveal answer
intermediate
How does the "MD" unit in DATEDIF work?
It returns the difference in days, ignoring months and years. For example, difference in days between the days of the two dates.
Click to reveal answer
intermediate
Why might DATEDIF sometimes give unexpected results?
Because it is an undocumented function in Excel and can behave oddly with invalid dates or if start_date is after end_date.
Click to reveal answer
What does the formula =DATEDIF("2023-01-01", "2024-01-01", "Y") return?
A1
B12
C365
D0
Which DATEDIF unit returns the difference in months ignoring years?
AMD
BM
CY
DYM
If start_date is after end_date, what happens with DATEDIF?
AReturns negative number
BReturns #VALUE! error
CReturns #NUM! error
DReturns zero
What does the unit "D" in DATEDIF calculate?
ADifference in days ignoring months and years
BTotal difference in days between two dates
CDifference in days ignoring years
DDifference in days ignoring months
Which of these is NOT a valid unit for DATEDIF?
AWD
BYD
CMD
DYM
Explain how to use DATEDIF to find the number of complete months between two dates.
Remember the unit for months is "M" and start_date should be before end_date.
You got /3 concepts.
    Describe the difference between the DATEDIF units "MD" and "D".
    Think about whether months and years are considered in the calculation.
    You got /3 concepts.