Excel DAYS Function

This Excel Tutorial demonstrates how to use the Excel DAYS Function in Excel to count the number of days between dates, with formula examples.

DAYS Function Description:

The DAYS Function Returns the number of days between two dates.

Formula Examples:

days function examples

ExampleFormulaResult
Positive=DAYS(C5,D5)442
Negative=DAYS(C6,D6)-442

Syntax and Arguments:

The Syntax for the DAYS Formula is:

Function Arguments ( Inputs ):

end_date – The end date in Excel serial number format or entered as a date with quotations (“s) surround the date. Example: You can not enter 11/12/2015 directly into the cell. Instead you need to enter “11/12/2015” or you would need to use the corresponding serial number: 42320. Alternatively, you can reference a cell with the date 11/12/2015 entered. Excel automatically converts dates stored in cells into serial format (unless the date is entered as text).

start_date – The start date in Excel serial number format or entered as a date with quotations (“s) surround the date. Example: You can not enter 11/12/2015 directly into the cell. Instead you need to enter “11/12/2015” or you would need to use the corresponding serial number: 42320. Alternatively, you can reference a cell with the date 11/12/2015 entered. Excel automatically converts dates stored in cells into serial format (unless the date is entered as text).

Additional Notes

Use the DAYS Function to count the number of days between dates. Simply enter the two dates. If the end_date is earlier than the start date, DAYS will return a negative value.

Return to the List of all Functions in Excel

How to use the DAYS Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
=AND(
After entering it in the cell, notice how the AND formula inputs appear below the cell:
days formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=DAYS(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the days function in excel

For more information about the DAYS Formula visit the
Microsoft Website.

ADS GO HERE

Posted in