THE SHORT ANSWER

Check the underlying value before changing formatting: a date-looking string may still be text. Convert in a helper column only after you know the source’s day, month, and year order, then validate dates that expose ambiguous interpretations.

Applies to: Examples use English formulas in Microsoft 365, Excel 2024, and Excel 2021; desktop menus and regional date interpretation can differ across Windows, Mac, and the web.

A column can display 04/05/2026 and still refuse to sort chronologically. It may contain text rather than Excel date values. More seriously, a successful conversion can turn April 5 into May 4 without displaying an error. Diagnose the source format before trying to make the column look consistent.

Keep the original export untouched. Make a workbook copy and add a helper column beside the imported data. That gives you an audit trail: the original string, your conversion, and any unresolved entry remain visible together.

Identify the problem before choosing a method

Date-conversion decision guide
What you findWhat it may meanNext step
A numeric value with an unwanted displayA date serial may already exist.Change the number format, then verify the date.
Text in a recognized regional date formatDATEVALUE may be suitable.Convert in a helper column and inspect representative rows.
Text consistently shaped YYYY-MM-DDThe components can be extracted explicitly.Use a reviewed DATE formula for that exact pattern.
Mixed orders, missing years, or unknown originThe intended date is not established.Stop and confirm the source specification.

Microsoft’s conversion guide describes text dates and helper formulas. Alignment or a green error indicator can be a clue, but neither should be your only check because formatting can change appearance.

Check whether the cell is numeric or text

If A2 contains the imported entry, type =ISNUMBER(A2) in B2. TRUE means the underlying value is numeric; FALSE means it is not. Because Excel stores dates as numbers, this helps distinguish a date serial from a text string. It does not prove that an arbitrary number represents a sensible date.

Microsoft’s IS function reference explains that ISNUMBER does not coerce a quoted number into a numeric value. For a clearer inspection, temporarily format a copied numeric cell as General and examine it alongside the original. Never replace the only copy just to perform that check.

When the underlying value is already correct, choose an appropriate Date format through Format Cells. Microsoft documents those controls in its date-format guide. Applying a date format to text does not reliably convert the text itself.

Use DATEVALUE only when the interpretation is known

  1. Confirm whether the export uses month/day/year or day/month/year.
  2. Choose an empty helper column and enter =DATEVALUE(A2).
  3. Apply a date format to the helper result.
  4. Check a date with a day above 12, an early-month date, and a year boundary.
  5. Fill down only after those examples match the source specification.

For a US-formatted text entry of 10/19/2026, the intended date is October 19, 2026. A displayed serial number after conversion is expected until you apply a date format. Microsoft’s DATEVALUE reference notes that system date settings affect interpretation, a missing year can use the current year, and time information is ignored.

If the export contains transaction timestamps, do not use this as a complete timestamp conversion. Losing the time can make two events appear simultaneous or change a time-based report. Decide separately whether you need a date, a time, or both.

Parse a fixed year-month-day pattern explicitly

For text guaranteed to have exactly the pattern YYYY-MM-DD, an alternative in B2 is =DATE(VALUE(LEFT(A2,4)),VALUE(MID(A2,6,2)),VALUE(RIGHT(A2,2))). With A2 containing 2026-10-19, the expected date is October 19, 2026. The formula extracts the year, month, and day by position rather than guessing their order.

This is a pattern-specific example, not a universal cleaner. It is unsuitable for rows containing a time suffix, missing zeroes, or a different separator layout. Check the string length and shape before copying it over a mixed column.

Microsoft’s DATE documentation also matters for validation: DATE can normalize out-of-range day or month values instead of rejecting them. A source such as 2026-02-31 must be flagged for review, not accepted merely because the formula produces a date. Compare the resulting year, month, and day with the intended components.

Resolve errors without erasing uncertainty

A #VALUE! result may indicate an unrecognized string or regional incompatibility. Microsoft’s DATEVALUE error guide explains that mismatch. Do not wrap the entire conversion in a formula that turns every failure into an empty cell before you have reviewed the failed rows.

Separate true blanks from missing values, invalid dates, and ambiguous dates. A blank might mean “not supplied,” while an error might mean “supplied but unreadable.” Those are different states in a report. Preserve a short review note beside exceptional records.

Keep a short conversion note beside the working copy: the source format, the chosen method, and one unambiguous sample such as 2026-11-23. This helps a colleague distinguish an intentional year-month-day conversion from a regional guess. If the next import changes its pattern, review the conversion again instead of assuming that yesterday’s formula still describes today’s input.

Validate the finished column and know when to stop

Sort a copy of the converted results from earliest to latest. Inspect the first and last dates, a few known records, and dates near month boundaries. Compare a simple date subtraction for two known entries with the expected number of calendar days. Keep the imported column available even after the output passes review.

Stop when entries such as 04/05/2026 cannot be resolved from the export specification. Excel cannot recover the author’s intention from an ambiguous string. Ask the source owner for a format definition or a fresh export with explicit year-month-day components. A visible exception is more useful than a confidently misinterpreted date.

Match a task to a formula pattern, a worked example and the version you need.Open excel formula finder ↗

Keep these in mind

  • Preserve the original strings beside the converted dates.
  • Confirm regional interpretation with dates above day 12.
  • A successful formula is not proof that the source date is valid.

Common questions

Will selecting Short Date convert text into a date?

A number format changes display; text may still need conversion. Check the underlying value and use a helper column.

Why did DATEVALUE swap the day and month?

A date string can be interpreted according to regional settings. Confirm the source format before converting ambiguous values.

Can I use the fixed-pattern formula for timestamps?

Not as written. It assumes exactly YYYY-MM-DD and does not preserve a time suffix or handle other layouts.

Sources & further help

Prepared with AI assistance from the linked documentation. This is a source-led explanation, not a claim of hands-on testing across every device. Read the editorial policy.