Go Back

How to Use the Excel DATE Function

Figure 1. Excel Date Function.

If we have to assemble dates that require dynamic changes based on other values in our worksheet, we are going utilize the Excel DATE Function.

Formula Syntax

=DATE (year, month, day)

  • day = Number value of the day
  • month = Number value of the month
  • year = Number value of the year

The DATE Function is the most essential function to understand when it comes to working with dates in Excel.

How to use the Excel DATE Function.

We are now going to use individual year, month, and day components to create a valid Excel date.

  1. List the dates available for conversion in a column of our worksheet.

Figure 2. Excel Date Function.

Be sure to provide an empty column for Excel to return the dates.

  1. In our worksheet example above, the DATE formula we will enter into cell D2 is as follows;

=DATE(A2,B2,C2)

Figure 3. Excel Date Function.

Excel returned 2/21/2017 as our required date format.

  1. Modify the DATE formula in cell D2 and copy it into the other cells in the RESULT column to achieve the required date format.

Figure 4. Excel Date Function.

other Excel functions such as, the COUNTIFS and SUMIFS Functions cannot always recognize dates entered in the text format.

The DATE Function makes it easier to generate a date using year, month, and day values obtained from a formula result or cell reference.

Figure 5. Final Result.

Instant Connection to an Expert through our Excelchat Service:

Our live Excelchat Service is here for you. We have Excel Experts available 24/7 to answer any Excel questions you may have. Guaranteed connection within 30 seconds and a customized solution for you within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

Hello, I need help with the following logic: Logic for GTIN Logic = In Market Active = Yes Approval Status = Approved Start of Ship Date = Start of ship date equal to or Prior to todays date Latest approval date = if the Start of ship date is same then the product with latest approval date. Market Distribution= contain United States Logic for GTIN Logic = Future Active = Yes Approval Status = Approved Start of Ship Date = Closest Start of ship date post todays date Latest approval date = if the Start of ship date is same then the product with latest approval date. Market Distribution= contain United States
Solved by K. U. in 13 mins
Need to know the schedule according to sale date/ last visit date / current date
Solved by G. S. in 16 mins
I need to have cells note red if the date is past the time period based on start date Opening Date 8/28/18 Today's date 6/1/18 Task Due 3 months prior to opening date Date due 5/28/18 - That cell should be red if date is past due
Solved by S. U. in 11 mins

Leave a Comment

avatar