Note: The other languages of the website are Google-translated. Back to English

Excel Formula: Convert Text to Excel Date

doc convert date to julia 1

In this tutorial, it provides multiple formulas to convert a text string to Excel standard date.

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

DATEVALUE function

 

Generic formula:

DATEVALUE(text_date)

Syntaxt and Arguments

Text_date: the text string that you want to convert to the standard Excel date.

Return Value

The formula returns a series number. 

Remark

This formula only can be used to convert text dates to Excel dates, if there is time data existed, the formula will ignore the time data.

How this formula work

In cell C3 to place below formula to convert the text strings in cell B3:B5 to Excel dates.

=DATEVALUE(B3)

Press Enter key and drag fill handle down to cell C5. All text strings have been converted to related series numbers.
doc convert date to julia 1

Then format the series numbers to date format. Keep the series numbers selected, press Ctrl + 1 to enable the Format Cells dialog, then under Number tab, choose Date from the Category list, then select one date type from the right Type section.
doc convert date to julia 1

Click OK, the texts have been converted to Excel datetime.
doc convert date to julia 1

Explanation

DATEVALUE function: Convert a date stored as text to a valid date.

VALUE function

 

Generic formula:

VALUE(text_date)

Syntaxt and Arguments

Text_date: the text string that you want to convert to the standard Excel date.

Return Value

The formula returns a series number.

How this formula work

In cell C3, place below formula to convert the text strings in cell B3:B5 to Excel dates.

=VALUE(B3)

Press Enter key and drag fill handle down to cell C5. All text strings have been converted to related series numbers.
doc convert date to julia 1

Then keep the results selected, then press Ctrl + 1 to display the Format Cells dialog, under Number tab, select Date from the Category list, then in the right section of Type, choose one format you need.
doc convert date to julia 1

Click OK then the formula results have been formatted as datetime.
doc convert date to julia 1

Explanation

VALUE function: Convert text to number.

Mathematical Operation

 

You can use the mathematical operations to convert the text date to a valid date in Excel. However, remember, do not change the actual value.

Generic formula:

Text_date+0
Text_date*1
Text_date/1
--Text_date

How this formula work

Please use formula as below:

doc convert date to julia 1

Then format the results to the datetime format as you need.


Relative Formulas

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations