Loading suggested videos
DATEDIF function in the format =DATEDIF(start_date, end_date, "unit")."D" for days, "M" for months, or "Y" for years.=DATEDIF(A1, B1, "D"))Result: Excel will return the difference between the two dates based on the unit you specified.
Tip: Make sure your dates are valid Excel date values, or the formula may return an error.
Your feedback helps us improve our content.