23.08.2023 Views

CFI-Excel-eBook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Corporate Finance Institute Excel

3. Day – It is a required argument. It can be a positive or negative integer

representing day of a month from 1 to 31.

• When day is greater than the number of days in the specified

month, day adds that number of days to the first day of the month.

For example, DATE(2016,1,35) returns the serial number

representing February 4, 2016.

• When day is less than 1, this function will subtract the value of the

number of days, plus one, from the first day of the month specified.

For example, DATE(2016,1,-15) returns the serial number

representing December 16, 2015.

How to use the DATE Function in Excel?

The Date function is a built-in function that can be used as a worksheet

function in Excel. To understand the uses of this function, let’s consider few

examples:

Example 1

Let’s see how this function works using the different examples below:

Formula used Result Remarks

DATE(YEAR(TODAY()),

MONTH(TODAY()), 1)

January 11,

2017

Returns the first day of the current

year and month

DATE(2017, 5, 20)-15 May 5, 2017 Subtracts 15 days from May 20, 2017

corporatefinanceinstitute.com

41

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!