# Count the Number of Days between Two Dates

This post will guide you how to count the number of days between two dates in Excel. How to calculate the number of days between 2 dates with a formula in Excel.

## Count the Number of Days between Two Dates

If you want to calculate the number of days between two dates, you need to know the start date and the end date, and you just need to subtract the start date from the date of end.

Assuming that you have a list of data in range B1:C2 that contain two dates, and you want to get the number of days between two dates in B1:C2, and you can use the following formula.

`=C1-B1`

You need to type the formula into a blank cell and press Enter key, and then drag the AutoFill Handle from Cell C1 to C2 to apply this formula. Related Posts

Match Single Criteria in Excel

No repeat statistic based on a single condition is used wildly in daily work, for example, count type of products, the duplicate types are not encountered. This article describes the way of no repeats statistics for data in a single ...

Excel Array Construction

This article will talk about how to create one-dimensional array or two-dimensional array by using some functions in Excel. When using array formulas in Excel, we often use functions to construct arrays. Generate Array with ROW or COLUMN Functions Array ...

Excel Array Operation

We have all heard of arrays. Depending on the dimensionality, they are divided into one-dimensional arrays and two-dimensional arrays. Depending on the data type, they can also be divided into numeric arrays, logical arrays, and so on. The concatenation and ...

Excel Array Matrix Operation

In Excel, we have a built-in function used to perform matrix operations. It is the MMULT function. This function accepts two arrays as parameters and returns the product of the two arrays. However, this function has a prerequisite that the ...

A1 Reference Style and R1C2 Reference in Excel

In Excel, there are two reference styles. A1 reference style and R1C2 reference style. These two reference styles can help us find the cell by the cell address. Some functions return these two addresses through the argument settings. A1 Reference ...