Skip to content

All-Access: every lesson, no ads. $8.25€8.25US$8.25$4.08US$4.08$2.41US$2.41₹224.91MX$74.91 a month, billed yearly. Free to start. Cancel any time

See plans
All-Access, no ads: every lesson, course and template. $8.25€8.25US$8.25$4.08US$4.08$2.41US$2.41₹224.91MX$74.91 a month. + GST at checkoutSee the plans →

Date Functionslesson 51 of 95

DATEDIF Function

0daysLet's get rolling!

Loading the data...

0streak
0 XP today
All Lessons

DATEDIF Function - Excel Practice Online

This interactive exercise teaches you DATEDIF Function in Excel through 10 hands-on steps. Instead of watching a video, you type the real formula into a live spreadsheet grid and get instant feedback on every answer. It is part of the Date Functions track and works right in your browser - no Excel install and no download. Start free.

Practising DATEDIF Function this way builds the muscle memory that transfers straight to using Excel at work, in interviews, or for certification prep. Work through the steps above, then keep going with the next lesson to build a complete Excel practice course.

What you'll practice in this DATEDIF Function lesson

  1. The DATEDIF function (think "date difference") returns the number of days, months, or years between two dates. The first two arguments are the two dates. The third argument is "d", "m", or "y" depending on whether you want the difference in days, months, or years. Get the number of days between the two dates in B1 and B2.
  2. Use DATEDIF to get the number of months between the two dates. Hint: the third argument is "m".
  3. Use DATEDIF to get the number of years between the two dates.
  4. Below is a table of former employees at a company with their start dates and end dates. Use DATEDIF to get the number of days Betty worked for the company.
  5. Use DATEDIF to get the number of months John worked for the company.
  6. Use DATEDIF to get the number of years Carol worked for the company.
  7. Use DATEDIF to get the number of days Mike worked for the company.
  8. Use DATEDIF to find out how many days Janet started working after Betty started.
  9. Use DATEDIF to find out how many months Janet started working after Betty started.
  10. Use DATEDIF to find out how many years Janet started working after Betty started.

DATEDIF Function practice - FAQ

How do I practice DATEDIF Function in Excel?

Open this LogicExcel exercise and work through 10 interactive steps. You type the real formula into a live spreadsheet grid and get instant feedback on whether it is correct, plus an explanation. You need no Excel install.

Is the DATEDIF Function exercise free?

Your first two lessons are free with a free account. After that the pass opens all 95 lessons, the Academy and the accounting course. Lessons you finish stay open.

What will I learn in this DATEDIF Function lesson?

This lesson covers DATEDIF Function as part of the Date Functions track. You practice the syntax step by step until it becomes muscle memory you can use at work.