Log in
x
or
x
x
Register
x

or

Excel DATEDVALUE function

Normally, when you import some data in Excel worksheet from other applications, such as PDF, TXT file, the date will be stored as text format. In this case, the DATEVALUE function can help you to convert date that stored as text format to a serial number which Excel can recognize as a date, and then format the number to proper date format.


 Syntax:

The syntax for the DATEVALUE function in Excel is:

=DATEVALUE (Date_text)

 Arguments:

  • Date_text: A date stored as a text string.

 Return:

Return a serial number based on a specific date in Excel.


 Usage:

To convert the text string date format to a real date format, please apply this formula:

=DATEVALUE(B2)

doc datevalue function 1

Then, five-digit numbers will be displayed, and then, you should format these serial numbers as normal date format by choosing Short Date option from the Number Format drop down list under the Home tab, see screenshot:

doc datevalue function 2

Note: If there are date and time text string in the cells, you should apply the VALUE function to deal with it. Please enter this formula:

=VALUE(B2)

doc datevalue function 3

And then, go to the Format Cells dialog box to specify a date time format to convert the serial numbers to datetime format as following screenshot shown:

doc datevalue function 4

Note: In the above formulas, B2 is the cell contains the date text string you want to convert.

Tips: You can also replace the cell reference in the above formulas with the date text string, such as:

=DATEVALUE("2018-11-23")

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)
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.