# How to Subtract Dates in Excel

In this tutorial, you will learn how to subtract dates in Excel.

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

Once ready, we’ll get started by utilizing real-world examples to show you how to subtract dates in Excel.

## Subtract Dates

Before we begin we will need a group of data to subtract dates in Excel.

### 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 : NETWORKDAYS Function

The NETWORKDAYS function is also similar to the DAYS function. 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.

In this tutorial, I covered how to subtract dates in Excel.