How To Calculate Days Between Dates in Google Sheets

Last Updated on October 31, 2023 by Jake Sheridan

In this tutorial, you will learn how to calculate Dates in Google Sheets.

The DAYS, DATEDIF, and NETWORKDAYS functions in Google Sheets can be used to count the number of days that pass between two dates. While NETWORKDAYS doesn’t include Saturday and Sunday, DAYS and DATEDIF count all days.

Once ready, we’ll get started by utilizing real-world examples to show you how to calculate Dates in Google Sheets.

How To Calculate Days Between Dates in Google Sheets

Before we begin we will need a group of data to calculate Dates in Google Sheets.

Method 1 : DAYS Function

First, you need to have a clean and tidy group of data to work with.

To count the days between two dates, you can use the DAYS function. You can simply insert this formula =DAYS(A2,B2).

Once you press ‘Enter’, the formula will return the number of days.

Method 2 : DATEIF Function

To count the days between two dates, you can use the DATEIF function. THE DATEIF function is similar to DAYS function. The difference is that with the DATEIF function, you can specify if you want to calculate the days, months, or years between two dates. You can simply insert this formula =DATEDIF(A3,B3,”D”).

Once you press ‘Enter’, the formula will return the number of days.

Method 3 : NETWORKDAYS Function

The NETWORKDAYS function is also similar to the DAYS and DATEIF functions. The only difference is that it will exclude the Saturdays and Sundays that are in between the dates, and only return the number of days that are working days. You can simply insert this formula =NETWORKDAYS(A4,B4).

Once you press ‘Enter’, the formula will return the number of days.

Summary

That’s all there is to it. You are welcome to copy the example spreadsheet below to see how it is done. The most crucial lesson is to enjoy yourself while doing it.

Example Spreadsheet: Make a copy of the example spreadsheet

In this tutorial, I covered how to calculate the difference in Google Sheets. Want more? Check out all the Google Sheets Tutorials.