Calculating the difference between two dates can get frustrating when you have to do it for numerous batches. Luckily, Google Sheets has a special function for this purpose. The DATEDIF function takes in the two dates and tells you how much the difference between them is in days, months, or even years.