Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk4 min

Why Excel Won’t Recognize a Text Date—and How to Fix It

Excel can display a date-looking string that is actually text. Identify the input pattern, convert it with the right tool, and apply date formatting afterward.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Excel may show something that looks like a date but store it as text. That often happens when a value is pasted or imported, entered in a cell formatted as Text, contains extra spaces, or uses a day/month order Excel does not expect. Convert the text into a real date value first; changing the cell’s display format alone will not reliably do that.

First, check whether Excel has a date value or text

Excel stores dates as sequential numbers so it can use them in calculations. A text string that resembles a date is not necessarily one of those values, so date subtraction, sorting, filtering, or date functions may behave unexpectedly.

As an Amazon Associate I earn from qualifying purchases.

Under Excel’s default alignment, a text-formatted date is often left-aligned and a date value is generally right-aligned. Alignment is only a clue: it can be changed manually, so do not treat it as proof. Also look for leading spaces in pasted or imported values. If a date calculation returns #VALUE!, check that both inputs are valid dates and that their date conventions match.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose a conversion method that matches the text

Input Best-fit method Important limitation
A text date in a format Excel recognizes DATEVALUE Parsing depends on Excel recognizing the format and date order.
A fixed, known character pattern DATE with text functions Character positions must match the actual input exactly.
A consistently structured column Text to Columns Select the source date order; verify the results before replacing data.
Recurring or imported data Power Query: Change Type > Using Locale Choose the locale that matches the source data.

Convert a recognizable text date with DATEVALUE

If A1 contains a text date Excel can interpret, enter this in a blank cell:

#1 Best Overall
Sale
The Microsoft Office 365 Bible: The Most Updated and Complete Guide to Excel, Word, PowerPoint, Outlook, OneNote, OneDrive, Teams, Access, and Publisher from Beginners to Advanced
  • The Microsoft Office 365 Bible: The Most Updated and Complete Guide to Excel, Word, PowerPoint, Outlook, OneNote, OneDrive, Teams, Access, and Publisher from Beginners to Advanced
  • ABIS BOOK

=DATEVALUE(A1)

  1. Set the formula cell to General and enter the formula.
  2. Check that the result represents the intended date. If it displays as a number, that can be the date’s serial value; apply a date number format to display it as a date.
  3. Fill the formula down if needed. If you want to replace the original text, copy the verified results and use Paste Special > Values.

DATEVALUE is not universal: it works when Excel recognizes the text as a date. If it returns an error or an unexpected date, inspect the characters and the source’s day/month convention rather than repeatedly changing the display format. Excel’s VALUE function has the same general constraint: it converts only text in a format Excel recognizes.

Build a date from a fixed text pattern

When the layout is known, extract the year, month, and day and pass them to DATE. For an eight-character YYYYMMDD value in A1, use:

=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))

For a fixed dd/mm/yyyy value with exactly two day characters, two month characters, and four year characters, use:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

=DATE(RIGHT(A1,4),MID(A1,4,2),LEFT(A1,2))

These formulas rely on the stated character positions. If your source has a different pattern, adjust the extraction positions; do not apply either formula blindly to variable-width dates.

Convert a consistent column with Text to Columns

For a column of similarly structured text dates, Text to Columns can convert the values in bulk:

  1. Select the date column, then open Data > Text to Columns.
  2. In the wizard, set the column data format to Date.
  3. Choose the order matching the source text, such as YMD for year-month-day values, and complete the wizard.
  4. Check a sample of the converted results before overwriting or discarding the original values.

Take particular care with values where both the day and month are 12 or lower: either order can look plausible while representing a different date. If the source convention is unknown, determine it before converting.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Set the locale for imports and recurring data

For repeated imports, use an explicit locale rather than relying on whichever regional settings happen to be active. In Power Query, select the column, then choose Change Type > Using Locale and specify the data type and the locale that matches the source.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Power Query applies the column’s Change Type setting first, then its own locale, then the operating-system locale when interpreting values. A workbook query retains the locale selected by its author or last saver, which helps keep interpretation consistent across users.

For a Text Import Wizard import, select the date order that matches the incoming text. A mismatched order or a column containing mixed formats may leave values as General instead of converting them as intended; inspect the imported results.

Apply a date format after conversion

Once the cell contains a real date value, choose Short Date, Long Date, or a custom date format. Date and time display formats can vary by locale; formats marked with an asterisk respond to system regional date and time settings. If a converted value appears as a number, apply a date format. If the cell shows #####, widen the column.

Formatting controls how a value appears, not whether arbitrary text has been converted into a usable date. If the underlying value is still text, return to the appropriate conversion method above.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.