How to Convert Text to Date
Learn how to convert text-formatted dates into true Excel date values for calculations and sorting. This essential skill enables proper date arithmetic, filtering, and prevents errors in data analysis workflows. You'll master multiple conversion methods suitable for different text formats and scenarios.
Why This Matters
Converted dates enable sorting, filtering, and date calculations that text cannot perform, preventing downstream errors in reports and dashboards. Proper date formatting is critical for professional data management.
Prerequisites
- •Basic Excel navigation and formula knowledge
- •Understanding of date formats (MM/DD/YYYY, DD/MM/YYYY, etc.)
- •Familiarity with cell formatting options
Step-by-Step Instructions
Identify Text-Formatted Dates
Select your date column and check if cells are left-aligned (text) rather than right-aligned (numbers). Text dates won't calculate or sort correctly.
Use DATEVALUE Function
In an empty column, enter =DATEVALUE(A1) to convert text dates to serial numbers. Copy the formula down for all rows using Ctrl+C and Ctrl+V.
Copy Converted Values
Select your converted date column, press Ctrl+C to copy, then right-click on the original column and select Paste Special > Values only (Ctrl+Shift+V).
Format as Date
Select the converted cells, right-click > Format Cells (or Ctrl+1), choose Number tab, select Date category, and pick your desired format.
Delete Helper Column
Right-click the helper column header and select Delete to remove the temporary formula column.
Alternative Methods
Text to Columns Method
Select date column, go to Data > Text to Columns, choose Delimited, click Next, select appropriate Date format, and finish. This converts text dates in place without helper columns.
Find & Replace with Wildcards
Use Find & Replace (Ctrl+H) with regular expressions to reformat text dates before conversion, useful for inconsistent date patterns.
Manual Formula Approach
Use DATE(YEAR(), MONTH(), DAY()) combined with VALUE or MID functions for non-standard text date formats requiring custom parsing.
Tips & Tricks
- ✓Always create a helper column first to preserve original data until conversion is verified.
- ✓Check regional date settings (File > Options > Advanced > Edit Date) before converting mixed-format dates.
- ✓Use conditional formatting to identify remaining text dates after conversion for quality control.
Pro Tips
- ★DATEVALUE works best with standard formats; for unusual formats, combine VALUE() with MID() to extract year/month/day components.
- ★Use Data > Sort or AutoFilter immediately after conversion to verify dates sorted correctly—if not, conversion failed.
- ★Apply a date number format (14 or 22 in Format Cells) to see the underlying serial number for troubleshooting.
Troubleshooting
The text format doesn't match Excel's expected pattern. Check for leading spaces (use TRIM), inconsistent separators, or non-standard characters. Try DATEVALUE(TRIM(A1)) or inspect the actual cell content.
Format is still set to Number category. Select cells, press Ctrl+1, go to Number tab, choose Date category, and select a readable date format.
This indicates a regional date format mismatch (DD/MM vs MM/DD). Verify File > Options > Advanced regional settings match your data, or use DATE(YEAR(), MONTH(), DAY()) formula instead.
Ensure you selected the correct Date format in step 3 of the wizard. If dates still appear as text, the source data may have leading apostrophes—use Find & Replace to remove them.
Related Excel Formulas
Frequently Asked Questions
Why won't my dates sort correctly even after conversion?
Can I convert dates with different formats in one column?
What if the text includes time with the date?
Is DATEVALUE the only way to convert text dates?
This was one task. ElyxAI handles hundreds.
Sign up