Excel DAYS360 Function – How To Use (2024)

The DAYS360 function is categorized as a DATE/TIME function in Excel and allows users to calculate the number of days between any two given dates based on a 360-day year (i.e., 30 days for each month).

Note that the DAYS360 function doesn't work on the actual 365/366 days per year. For instance, if you entered January 1, 2021, and December 31, 2021, as start and end dates respectively, the function will return 360.

There are several use-cases for this function, especially for financial analysts. For instance, they can use the function while calculating the age of receivables and payables accounts.

Excel DAYS360 Function – How To Use (1)

Table of Contents

Syntax

The syntax of the DAYS360 function is as follows:

=DAYS360(start_date, end_date, [method])

Arguments:

'start_date' – This is a required argument where you insert a valid Excel date from which you want the calculation of days to begin.
'end_date' – This is a required argument where you insert a valid Excel date at which you want the calculation of days to end.
'method' – This is an optional argument where you insert a Boolean value, i.e., TRUE or FALSE. The effect of using the Boolean value is discussed in the following table. By default, the argument is set to FALSE.

Method ValueMethod TypeDescription

FALSE

U.S. (NASD) MethodBased on this method – If the method argument is omitted or set to FALSE, the formula uses the U.S. (NASD) method. The start_date is set to the 30th of the same month.
  • If start_date is set to the last day of a month, then it is treated to be the 30th of the same month.
  • If the end_date is set to the last day of the month, then:
    • If start_date is set as less than the last day of the month: the end_date is treated as the first day of the following month.
    • Otherwise, the end_date is set to the 30th of the same month.
TRUEEuropean MethodBased on this method – if the starting and ending dates are set as the 31st of a month, they are treated as the 30th of the same month.

Important Characteristics of the DAYS360 function

  • The DAYS360 function has three arguments, two of which (start_date and end_date) only accept numeric values or valid Excel dates, and one that only accepts a Boolean value.
  • The DAYS360 function returns a #VALUE! error, if either the start_date or end_date argument is passed as a text value that can not be interpreted as a date.
  • If the dates entered in either the start_date or end_date argument are out of the Excel's recognized range, the function returns a #NUM! error.

Examples

Let's try to see some examples of the DAYS360 function.

Example 1 – Plain Vanilla Formula for the DAYS360 Function

The DAYS360 function is pretty simple when used without the methodargument. Let's do that to see just what it's trying to do when we enter two dates into its arguments. Following is the formula we'll use:

=DAYS360("12-25-2000","01-31-2001")

Excel DAYS360 Function – How To Use (2)

The formula returns 36. The DAYS360 function takes a no-fuss approach and assumes all months to have 30 days, so it doesn't matter that both January and December have 31 days. What the function essentially did here is that it added 5 days for December, 30 days for January, and 1 day for February.

So, why is February barging in on our DAYS360 party uninvited?

Well, refer to the table for the method argument. When it's omitted and the end_date is set as the is the last day of the month and the start_date is less than the last day of the month thenthe end_date is treated to be the first day of the following month (February 1, 2001, in this case).

Good so far? Let's throw the methodargument into the mix.

Example 2 – DAYS360 Function with 'method' set to TRUE

We've already inadvertently used the method argument in the previous example because it's set to FALSE by default. What we're about to look at now is what the formula does when the methodargument is set to TRUE.

We'll use the same data to see how the output changes, and apply the following formula:

=DAYS360("12-25-2000","01-31-2001", TRUE)

Excel DAYS360 Function – How To Use (3)

Go to the table again. You'll see that when the method is set to TRUE and if the start_date or end_date is set as 31st of the month then it gets treated as 30th of the same month.

Therefore, the only difference is that instead of setting the end_date to February 1 as it did in the previous example, the end_date in this case will be set to January 30. The final computation in that case gives us 35 (i.e., 5 days of December and 30 days of January).

Still with me? If at any point you feel lost, go back to the table and that will make everything crystal clear.

Example 3 – Use DAYS360 Function with the DATE Function

Say you have a software that prepares reports in a different format. It lists the start and end dates of a project and uses the header to categorize it year-wise. When you import this into an Excel sheet, this is what it looks like:

Excel DAYS360 Function – How To Use (4)

Now suppose you want to obtain the per-day cost for each of these projects and you need the number of days spent on each project. You've read this article on ExcelTrick and you immediately know what function to use, but you also know you need valid Excel dates for using the DAYS360 function.

No worries though. You can still use the function as long as you're somehow able to convert this data into valid Excel dates. That's where the DATE function lands on the floor wearing a red cape and reveals this formula to us:

=DAYS360(DATE($A$1,B4,A4),DATE($A$1,D4,C4))

Excel DAYS360 Function – How To Use (5)

The DAYS360 function just works like it normally would; the star of this formula is the DATE function. It creates a valid Excel date out of the date value elements (year, month, and day) that are inserted in separate cells. It then relays these date values to the start_date and end_date arguments in the DAYS360 function, and voila we have the number of days spent on each project.

Recommended Reading: Excel DAYS Function

That's all there's to learn about the DAYS360 function so feel free to call yourself a champion. Alright, while you master these formulas, we'll come back for you with another top-notch function.

Excel DAYS360 Function – How To Use (2024)

FAQs

Excel DAYS360 Function – How To Use? ›

The DAYS360 function syntax has the following arguments: Start_date, end_date Required. The two dates between which you want to know the number of days. If start_date occurs after end_date, the DAYS360 function returns a negative number.

What is the difference between days and DAYS360 in Excel? ›

The only difference between these two formulas is the length of the calendar year. The first (above) is based on a normal 365-day calendar year, with 12 months of varying days. The second is based on a 360-day calendar year with 12 30-day months.

How do I enter a days formula in Excel? ›

The Excel DAYS function returns the number of days between two dates. With a start date in A1 and end date in B1, =DAYS(B1,A1) will return the days between the two dates.

How to use workday formula in Excel? ›

For example, if you want to calculate a future date that is 10 workdays from the start date, use the formula =WORKDAY(A2, 10) where A2 contains the start date. Fact: The WORKDAY function in Excel is a useful tool for project planning, employee scheduling, and managing deadlines.

How to calculate the number of days between two dates in Excel? ›

To find the number of days between these two dates, you can enter “=B2-B1” (without the quotes into cell B3). Once you hit enter, Excel will automatically calculate the number of days between the two dates entered. Note that Excel recognizes leap years.

How do I use DAYS360 in Excel? ›

The DAYS360 function syntax has the following arguments: Start_date, end_date Required. The two dates between which you want to know the number of days. If start_date occurs after end_date, the DAYS360 function returns a negative number.

How do I keep track of days in Excel? ›

How to calculate the number of days in Excel using the TODAY function
  1. Create two columns. Create two columns and title them "Start Date" and "Number of Days up to Today." ...
  2. Enter the TODAY function. ...
  3. Subtract the TODAY function by the date.
Apr 9, 2024

How to calculate 365 days from a date in Excel? ›

=A1-A3” returns 365, because December 15, 2013 is one year (365 days) before December 15, 2014. “=A2-A3” returns 360, because December 15, 2013, is 360 days before December 10, 2014.

Why is the days function not working in Excel? ›

Solution: Check your system's date and time settings to make sure that they match the format of the dates referred to in the formula. If necessary, update the formula to the correct format.

How do I write the day function in Excel? ›

The Day function in Excel looks at a given date and figures out what day of the month it is. It then gives you a number from 1 to 31, representing the day. For example, if you have a date “April 16, 2023” in cell B1 and use the formula =DAY (B1), you will get the result as 16.

How do you calculate workdays between dates in Excel? ›

How to Calculate Weekdays Between Two Dates in Excel
  1. Click inside the cell where the formula will reside.
  2. Type =networkdays(
  3. Then type in the first date of the range encased in "". For example "4/6/2012".
  4. Then type a comma and the end date of the range encased in quotes.
  5. Close your parenthis and hit enter.
Apr 10, 2012

How do I extract data from WORKDAY to Excel? ›

In Excel, open the Data tab and choose Get Data -> From Other Sources -> From Microsoft Query. Choose the Workday DSN. Select the option to use Query Wizard to create/edit queries. In the Query Wizard, expand the node for the table you would like to import into your spreadsheet.

How do you calculate days from dates? ›

To calculate the number of days between two dates, you need to subtract the start date from the end date.
  1. If this crosses several years, you should calculate the number of full years.
  2. For the period left over, work out the number of months.
  3. For the leftover period, work out the number of days.
Jan 18, 2024

What is the weekday formula in Excel? ›

Example
Data
FormulaDescription (Result)Result
=WEEKDAY(A2)Day of the week, with numbers 1 (Sunday) through 7 (Saturday) (5)5
=WEEKDAY(A2, 2)Day of the week, with numbers 1 (Monday) through 7 (Sunday) (4)4
=WEEKDAY(A2, 3)Day of the week, with numbers 0 (Monday) through 6 (Sunday) (3)3
1 more row

How do I differentiate days in Excel? ›

Calculate the difference in days
  1. Select cell D2, which is the first blank cell in the Duration column.
  2. Type =C2-B2, and then press RETURN . Excel displays the result as the number of days between the two dates (104).
  3. Select cell D2.
  4. To copy the formula into the remaining rows, drag the fill handle .

Why use days function in Excel? ›

What is the DAYS Function? The DAYS Function[1] in Excel is a Date/Time function that is used for calculating the number of days between two dates. The DAYS function was introduced in MS Excel 2013. Its purpose is to provide the days between two dates.

What is the difference between Networkdays and workdays function? ›

The WORKDAY function returns a date N working days in the future or in the past and you can use it to add or subtract workdays to a given date. Using the NETWORKDAYS function, you can calculate the number of workdays between two dates that you specify.

What is the formula for identifying days in Excel? ›

Example
Data
31-DEC-2021
1-JAN-2021
FormulaDescriptionResult
=DAYS("15-MAR-2021","1-FEB-2021")Finds the number of days between the end date (15-MAR-2021) and start date (1-FEB-2021). When you enter a date directly in the function, you need to enclose it in quotation marks. Result is 42.42
1 more row

References

Top Articles
Latest Posts
Article information

Author: Golda Nolan II

Last Updated:

Views: 6632

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Golda Nolan II

Birthday: 1998-05-14

Address: Suite 369 9754 Roberts Pines, West Benitaburgh, NM 69180-7958

Phone: +522993866487

Job: Sales Executive

Hobby: Worldbuilding, Shopping, Quilting, Cooking, Homebrewing, Leather crafting, Pet

Introduction: My name is Golda Nolan II, I am a thoughtful, clever, cute, jolly, brave, powerful, splendid person who loves writing and wants to share my knowledge and understanding with you.