If Excel Text to Columns is not converting your dates, run the wizard again and, in its final step, select the date column in the preview, choose Date, and pick the order used in the original text—such as DMY, MDY, or YMD. Make sure you are not using the date’s slash or hyphen as a delimiter; that would split the date instead of converting it.
What Text to Columns does with dates
Text to Columns is primarily a tool for dividing text into separate columns using delimiters, such as commas, tabs, or spaces, or using fixed-width positions. Its final wizard step also lets Excel interpret a selected output column as a date. If the text matches the order you specify and represents a valid date, Excel converts it into a numeric date value that can be sorted, filtered, formatted, and used in date calculations.
That distinction matters because a cell can look like a date without being one. The text 2025-03-08 may display just like a date, but Excel may treat it as a string. Changing the cell’s number format to Short Date will not convert that string. Conversely, a genuine Excel date may display as a number if its cell format is General. Text to Columns can address the first situation; a number-format change addresses the second.
The wizard does not infer every source convention correctly. A date such as 04/05/2025 is ambiguous: it can mean April 5 or May 4. You need to tell Excel how the source is ordered, rather than relying on how dates normally appear on your computer.
Convert a date column with the wizard
In Excel for Microsoft 365 on Windows, first make a copy of the source column or save a backup. Text to Columns can write results into cells beside the source, so check that those cells are empty. Then use these steps:
- Select the cells containing the dates. If the range has a header, you can select the data cells without the header.
- Choose Data > Text to Columns. In the wizard, select Delimited and choose Next. For a column that contains only dates, clear the delimiter checkboxes so the date stays in one field.
- If the date is one field among other delimited data, select the correct delimiter, such as Tab or Comma. Check the preview: the date should occupy one column, not several.
- Choose Next. In the preview, click the column containing the dates. Under Column data format, select Date, then choose the source order, such as DMY, MDY, or YMD.
- Optionally set Destination to a blank cell if you want to preserve the original values. Choose Finish, then inspect several converted dates.
The date-order option is applied to the column selected in the preview, not automatically to every column in the file. If a delimited import contains several fields and the date is the third one, click that third preview column before selecting Date. Otherwise, Excel may convert a different field or leave the dates as text.
The command is also available in Excel for Mac, though the wizard’s appearance and some interface details can differ. If you are working in Excel for the web and cannot find the command or its full wizard options, open the workbook in the desktop app and use the desktop steps. Menu availability can vary with the web app’s current feature set.
Choose the date order that matches the source
The date-order choice describes the text as it arrived, not your preferred display format. For example, if the source says 31/12/2024, choose DMY. If it says 12/31/2024, choose MDY. For 2024-12-31, choose YMD. Once converted, you can separately choose how the date displays in the worksheet.
Be especially careful with dates where both the first and second numbers are 12 or less. With 03/04/2025, choosing MDY produces March 4, while DMY produces April 3. If you do not know which convention the source uses, check the original system, documentation, or an unambiguous example such as a date with a day number above 12. Guessing can produce valid-looking but incorrect dates.
Excel’s regional settings influence how date text is normally interpreted, but the wizard’s explicit Date order is useful when the source uses a different convention. For repeatable work, record the source convention and select it deliberately. Avoid two-digit years where possible; a four-digit year removes uncertainty about the century.
Why the conversion may fail
- A date separator was selected as a delimiter. If you check Slash for
03/08/2025, the preview can split it into separate fields. Clear Slash and other date punctuation when the whole date must remain together. - The wrong preview column is selected. In a multi-column import, select the actual date field at the final step before choosing Date.
- The source order is wrong. A DMY string interpreted as MDY may produce the wrong date or an invalid-date error, especially when the day is greater than 12.
- The cell contains extra characters. Leading or trailing spaces, a nonbreaking space, an apostrophe, or a suffix such as
UTCcan stop Excel from recognizing a clean date. Inspect a few original cells and remove or clean unwanted characters before converting. - The values are inconsistent. One column might mix ISO dates, month names, timestamps, and dates in different regional orders. A single date-order selection cannot safely resolve every pattern. Separate the formats or standardize them first.
- The value is not a valid calendar date. Text such as
2025-02-30does not represent a real date. Correct the source rather than expecting a formatting option to make it valid. - The conversion happened, but the display is unexpected. The value may now be a date serial shown in General format, or a correctly converted date displayed in a different regional style. Apply a suitable date format after conversion.
For delimited files, also check the wizard preview for text qualifiers and consecutive delimiters. A quotation mark around a field may be treated as a text qualifier, while multiple separators can create empty columns depending on the settings. These options affect how fields are divided; they do not replace the need to choose the right date order for the date field.
Check whether Excel converted the values
A quick test is to change a converted cell temporarily to General using Home > Number Format. A real Excel date will generally display as a number, because Excel stores dates as serial values. Restore a date format afterward. Do not interpret the exact serial as a human-readable date: it is an internal count, and workbooks can use different date systems.
You can also test a cell with a worksheet function. With a converted date in B2, enter =ISNUMBER(B2) in another cell. The result is TRUE if B2 contains a number, as a standard Excel date does, and FALSE if it remains text. This test confirms the value type, not whether Excel interpreted an ambiguous date as the intended day and month. Compare the displayed result with a known source example too.
After checking, apply Home > Number Format and choose Short Date, or open Format Cells to select a specific date display. Formatting changes appearance, not the underlying value. If the test returns TRUE but the date looks wrong, revisit the source order and redo the conversion from the original text.
When to use another method
Text to Columns is a good choice for a one-time cleanup or a straightforward import, particularly when the source has a consistent date order. It is less suitable when new rows arrive regularly, source formats vary, or you need to preserve a reproducible transformation. In those cases, Power Query can provide a refreshable import workflow. In Power Query, set the date column’s data type using the source locale when the source and computer use different regional conventions; exact menu labels can vary by build.
For a small number of values, typing dates in a consistent, unambiguous format can be simpler than running a wizard. When using formulas to construct dates from separate year, month, and day fields, confirm the order of those fields first. Do not rely on changing a text cell’s number format, because formatting alone does not parse text into a date.
Another option is to import the source file through Excel’s data-import tools and assign the date type during import. That can be preferable for recurring CSV or text-file work because you can review the preview and data types before loading. If you only need a quick correction to an existing worksheet, however, Text to Columns is often the more direct route.
Prevent date problems in future files
When you control the source data, use four-digit years and a consistent date convention. For data exchanged across countries or software systems, the ISO-style year-month-day pattern, such as 2025-03-08, is less ambiguous than a slash-separated date. Still, confirm how the receiving application imports it; a consistent source format reduces confusion but does not guarantee that every import tool will infer the intended type.
Keep raw imported values on a separate sheet or in a preserved source column until you have checked the conversion. For important records, verify samples from the beginning, middle, and end of the data, and inspect dates around month boundaries. A column can contain mostly correct dates while a few ambiguous entries have been reversed.
Frequently Asked Questions
Why are my dates still left-aligned after Text to Columns?
Left alignment is a clue that Excel may still be treating the values as text, though alignment can be changed manually. Test a cell with =ISNUMBER(B2), replacing B2 with the cell you want to check. If the result is FALSE, repeat the wizard and select Date with the correct source order; also check for spaces or extra characters.
Should I choose MDY or DMY for dates like 04/05/2025?
Choose the order used by the original data source. MDY means April 5, 2025; DMY means 4 May 2025. The text alone does not reveal which meaning was intended, so check the source settings or an unambiguous example before converting.
Can I convert dates without splitting them into columns?
Yes. In the wizard, use Delimited, proceed to the delimiter choices, and clear the delimiter boxes so the complete date remains in one field. At the final step, select that preview column and set its format to Date.
Why does changing the cell to Short Date not fix it?
Short Date changes the display of values Excel already recognizes as dates. If the cell contains text, the format change does not parse the text. Use Text to Columns with the appropriate date order, or use an import or cleanup method that converts the text into a date value.
What if the column contains several date formats?
A single Text to Columns date-order choice may not handle mixed conventions reliably. Preserve the original data, separate the entries by format, and convert each consistent group using its own order. If the data is recurring or complex, consider a Power Query import with an explicitly chosen locale.
Related
- How to Move Everything Down a Row in Excel Safely
- Move a Row Up or Down in Excel Without Losing Data
- How to Move Cells Down in Excel Without Overwriting Data
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Errors & fixes
- MIN Not Working in Excel? Fix the Formula and DataIf MIN is not working in Excel, first check that the formula points to the cells you intend…
- Google Sheets Filter Range: Extend It and Fix Common IssuesYes—when a Google Sheets filter does not include new rows, the reliable fix is to remove it and…
- Fix a Broken Workbook Link in ExcelTo fix a broken workbook link in Excel for Microsoft 365 on Windows, open the workbook that contains…
- Excel MAX Not Working? Common Causes, Checks, and FixesIf Excel MAX is not giving the result you expect, first check that the cells contain real numbers…
- VLOOKUP Formula Not Working? Fix Show FormulaIf Excel displays =VLOOKUP(...) in a cell instead of a result, first turn off Show Formulas with Ctrl+`…
- VLOOKUP Not Working in Excel? Fix the Common CausesIf VLOOKUP returns an error or the wrong result, first check that the lookup value is in the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.