Open In App

Convert Text to Date in Excel

Last Updated : 21 Aug, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

We can convert text to dates to ensure our data is ready for sorting, calculations, and reports. This guide walks us through straightforward methods like Text to Columns, DATEVALUE, and TEXT functions to transform text or numbers into proper Excel date formats, keeping our spreadsheets accurate and functional.

Why Convert Text to Dates?

Excel stores dates as serial numbers for calculations, but text-based dates are treated as strings, limiting their usability. By converting text to dates, we enable chronological sorting, time difference calculations, and consistent formatting, making our spreadsheets more effective.

1. Converting Numbers to Dates

When numbers resemble dates (e.g., "20230115" for January 15, 2023), we can convert them to Excel’s date format using cell formatting. This method adjusts how Excel interprets and displays the number.

Step 1: Open MS Excel

Click on Windows' top open all programs and search for MS Excel, or you can search for MS Excel in the search bar to open MS Excel.

Step 2: Select our Data and Perform a Right-click

Once teh MS Excel opens select the data and right-click.

Step 3: Select Format Cells

Under drop-down menu choose Format Cell.

image-
Select Cell

Step 4: Choose Date Format

Select "Date" from the Category list and choose the desired date format from the Type list.

image-
Choose Format

Step 5: Preview Results

Once you have selected the format preview the result to see all changes.

image-
Preview Result

2. Converting Text to Dates

Text-based dates (e.g., "01-12-2023" or "January 12, 2023") require specific methods to convert into Excel’s date format. Below, we outline three effective approaches.

Step 1: Open Excel and Select the Cells

Open the spreadsheet in Excel and select the cells which have the date in text format then go to home tab at top of the ribbon and then select replace from the find and select dropdown.

How to Convert Text to Date in Excel
Select the Cell

Step 2: Format Replace

Enter "-" in find what and "/" in replace with and press replace all.

How to Convert Text to Date in Excel
Format Replace

Step 3: Change the Date Format

Finally, our spreadsheet has changed the date text in the Date format.

How to Convert Text to Date in Excel
Change the Date Format

3. Using Text to Columns

The Text to Columns tool splits and reformats text into dates based on delimiters or Excel’s date recognition.

Step 1: Open MS Excel and Select the Cells

Open the spreadsheet with excel and select all data cells of one column and select the data tab in the top of the ribbon and then choose Texts to Columns from data tools. Then Convert Text to column wizard dialog box will appear and here we can see it is in Step 1 of 3 that is written in the dialog box.

How to Convert Text to Date in Excel
Select all the Cells

Step 2: Select the Data from Column data

Just click NEXT in step 1 and step 2 as it is and in step 3 select the Date from the column data format and press finish.

How to Convert Text to Date in Excel
Click "Next"

Step 3: Select all the cells of another column

Similarly, select all data cells of another column and apply the above step to get the final result in date format.

How to Convert Text to Date in Excel
Result

Now we will understand how we change the date text in Date format.


Article Tags :

Explore