Excel - DAYS360 Function



DAYS360 Function

The Excel DAYS360 function will calculate the specific number of days between the start and end dates depending on a 360-day year (twelve 30-day months). It is categorized under the Date & Time functions in Excel.

The main difference between the DAYS and DAYS360 functions is that DAYS relies on the 365-day year, whereas the DAYS360 function depends on a 360-day calendar year.

Compatibility

This advanced Excel function is compatible with the following versions of MS-Excel

  • Excel for Microsoft 365
  • Excel for Microsoft 365 for Mac
  • Excel for the web
  • Excel 2024
  • Excel 2024 for Mac
  • Excel 2021
  • Excel 2021 for Mac
  • Excel 2019
  • Excel 2016
  • Excel 2013
  • Excel 2010
  • Excel 2007

Syntax

The syntax of the DAYS360 function is as follows −

=DAYS360(start_date,end_date,[method])

Arguments

You can use the following arguments with the DAYS360 function −

Argument Description Required / Optional
Start_date It specifies a valid date you may write through the DATE function or serial number. Required
end_date

It specifies another valid date or a date serial number.

If start_date value comes after end_date, this function will return a non-positive number.

Required
Method

A logical value that informs you whether to utilize the U.S. method or the European method.

The details of the Method Table is written below:

Optional

Method Table

Method Defined
FALSE or omitted It specifies the US method.
TRUE It specifies the European method.

Points to Remember

  • If the FALSE value is specified in the "method" argument and either the start_date or the end_date contains the last day of the month, then the month's 30th day would be considered.
  • If the FALSE value is specified in the "method" argument, the start_date is before the month's 30th day, and the end_day is the last day of a specific month, then the end_date value will be the first day of the following month.
  • If the TRUE value is referred to the "method" argument and either the start_date or the end_date contains the last day of the month, then the month's 30th day would be considered.

DAY360 Formula Not Working

  • If the specified start_date or end_date arguments contain a numeric value not interpreted as valid dates, then the DAYS360 function will retrieve the #NUM! error.
  • If a text string is not recognized as a date, then the DAYS360 function will retrieve the #VALUE! error.
  • If the method argument contains a non-numeric value, then the DAYS360 function will retrieve the #VALUE! error.

Example of DAY360 Function

In this example, the DAYS360 function is applied in the selected range of cells to compute the number of days between two dates utilizing either Eurpoean or US methods.

Solution

Step 1 − First, assume the sample dataset where the start_date is defined in the cell range A3:A6 and the end_date is mentioned in the B3:B6 cells.

DAYS360 Function is applied in Selected Range1

Step 2 − After that, select the C3 cell, write the formula "=DAYS360(A3,B3)" and hit the Enter tab. If you skip the third argument, the FALSE(US method) will be followed.

DAYS360 Function is applied in Selected Range2

Therefore, the DAYS360 function returns 78 number of days between these two dates.

DAYS360 Function is applied in Selected Range3

Step 3 − Moreover, double click on the C4 cell and type the formula "=DAYS360(A4,B4)" and then press the Enter tab.

DAYS360 Function is applied in Selected Range4

Hence, the DAYS360 function will give a negative value, -339, specifying the number of days as the start_date is larger than the end_date.

DAYS360 Function is applied in Selected Range5

Step 4 − Furthermore, move to the C5 cell and enter the formula =DAYS360(A5,B5,TRUE). The TRUE value means the European method is being used.

DAYS360 Function is applied in Selected Range6

After pressing the Enter tab, the resulting value is 30.

DAYS360 Function is applied in Selected Range7

Step 5 − Afterward, place the cursor on the C6 cell, double-click on it, and type the formula =DAYS360(A6,B6,FALSE). Here, the FALSE value indicates the US method used to evaluate the number of days.

DAYS360 Function is applied in Selected Range8

Therefore, the DAYS360 function will generate the 300 as a result.

DAYS360 Function is applied in Selected Range9

Download Practice Sheet

You can download and use the sample data sheet to practice the DAYS360 function.

Advertisements