Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to convert text datetime format to real datetime format in Excel?

Sometimes, when you import some data from other applications to Excel worksheet, the datetime format will be recognized as text format instead of the real datetime format. In this case, how could you convert the text datetime format to normal datetime in Excel as below screenshot shown?


Quickly Convert text datetime format to real datetime with only one click

Kutools for Excel's Convert To Date utility can help you to convert any various non-standard date formats to real date format in Excel quickly and easily. Click to download Kutools for Excel!

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Convert text datetime format to real datetime with formula

To convert the text datetime format cells to real datetime, the following formula may help you:

1. Please apply the below formula into a blank cell where you want to output the result:

=DATEVALUE(TEXT(A2,"YYYY-MM-DD")) + TIMEVALUE(TEXT(A2,"HH:MM"))

2. Then, drag the fill handle down to the cells you want to apply this formula, and you will get the below screenshot shown:

3. And then, you should convert the decimal numbers to a datetime format, please right click the selected formula cells, and then choose Format Cells from the context menu, in the Format Cells dialog box, click Custom from the Category pane, and then choose m/d/yyyy h:mm format from the Type list box, see screenshot:

4. Then, click OK button, and all the text datetime cells have been converted to the real datetime format, see screenshot:


Convert text datetime format to real datetime with a powerful feature

If you are not familiar with the formula, here, you can use a useful feature – Convert to Date of Kutools for Excel, with this function, you can quickly solve this job with ease.

Tips:To apply this Convert To Date feature, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Select the cells with the text datetime you want to convert. And then click Kutools > Content > Convert to Date, see screenshot:

2. And then, you can see the text datetime cells have been converted to real datetime at once, see screenshots:

Click to Download Kutools for Excel and free trial Now!


More relative date and time articles:

  • Convert Date From Dot To Slash Format In Excel
  • For example, you have a list of date which formatted as 12.23.2014, now, you want to convert this date format to 12/23/2014 slash format. In Excel, how could you convert date from dot to slash format quickly and easily?
  • Convert Date To Weekday, Month, Quarter Or Year In Excel
  • Says you enter a date in one cell, and it shows as 2012/12/21. Is there a way to show only the year, only the quarter, only the month or the weekday? The following methods can help you easily convert or format any kinds of date to display only the weekday name or month name or quarter name or year name in Microsoft Excel.
  • Convert Yyyymmdd To Normal Date Format In Excel
  • Maybe, there are multiple date with yyyymmdd format, and now, you want to change the date to the normal date format as mm/dd/yyyy in Excel as following screenshot shown. If you apply the Format Cells function in Excel, you will get the result like ###########, how could you convert the yyyymmdd to normal date format correctly in Excel?
  • Convert Yyyymmddhhmmss Date Format To Normal Datetime In Excel
  • Maybe you have a worksheet which contains some date time format as this: yyyymmddhhmmss, but now, you want to convert it to the normal date time format dd/mm/yyyy hh:mm:ss as following screenshot shown. How could you deal with this task in Excel?
  • Extract Date From Text Strings In Excel
  • In Excel worksheet, how could you extract the date from text strings as following screenshot shown? This article, I will talk about a useful formula to solve it.


  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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.