This function will create a valid date from the values you supply as Year, Month and Day. Return value will be serial number represents a particular date in Excel (if you change the date format to general you can see the serial number).
Syntax:
=DATE (year, month, day)
Parameter list:
year – the year to use when creating the date.
month – the month to use when creating the date.
day – the day to use when creating the date.
Example :
You may generate an anniversary date based on another cell by using the YEAR, MONTH, and DAY methods. Assume an employee’s first day of work is October 1, 2016; the DATE function may be used to get his five year anniversary date:
Ask Your Query