Convert Text to Date in Excel
Last Updated :
21 Aug, 2025
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.
Once teh MS Excel opens select the data and right-click.
Under drop-down menu choose Format Cell.
Select CellSelect "Date" from the Category list and choose the desired date format from the Type list.
Choose FormatStep 5: Preview Results
Once you have selected the format preview the result to see all changes.
Preview Result2. 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.
Select the CellEnter "-" in find what and "/" in replace with and press replace all.
Format ReplaceFinally, our spreadsheet has changed the date text in the Date format.
Change the Date Format3. 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.
Select all the CellsStep 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.
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.
ResultNow we will understand how we change the date text in Date format.