Skip to main content

Excel Formula: Get Date From Given Day Month And Year

doc convert date to julia 1

If you have a table which contains three columns, which are day, month, and year, how can you create the Excel valid dates based on these days, months and years in Excel.

If you want to follow along with this tutorial, please download the example spreadsheet.
doc convert date to julia 1

Generic formula:

DATE(year,month,day)

Syntaxt and Arguments

Year: a number between 1 and 4-digit number that indicates the year of date.

If the number is between 0-1900, Excel adds 1900 to the year number automatically. For example, the year number is 10, the date of the formula result will be shown as 1910.

If the number is between 1900 and 9999, the number is the actual year in the result.

Month: a number that indicates the month of date.

When the number is between 1 and 12, it is the actual month in the result.

If the number is greater than 12, it adds the number of months to the first month of the specified year. For instance, DATE(2019,14,21) returns 2/21/2020.

If the number is negative, Excel will subtract the absolute value of month plus 1 from the first month of the specified year. For instance, DATE(2011,-5,1) returns 7/1/2011.

Day: a number that indicates the day of date.

If the number is greater than the total number of days in the specified month, Excel will add the number of days to the first day of the specified month.

For example, DATE(2019,3,32) will return the date 2/3/2019.

If the number is negative, Excel will subtract the absolute value of day plus 1 from the first day of the month specified.

For example, DATE(2020,4,-2) will return the date 3/29/2020.

Return Value

The formula returns to a valid date in Excel.

How this formula works

To create a date based on the given year, month and day in cell B3, C3, and D3, please use below formula:

=DATE(B3,C3,D3)

Or directly type the numbers into the function

=DATE(2019,1,19)

Press Enter key then drag auto fill handle over cells to apply this formula.
doc convert date to julia 1
doc convert date to julia 1

Explanation

DATE function: creates a date based on given year, month and day numbers.


Relative Formulas

Relative Functions


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations