Convert and Fix Broken Imported Dates in Google Sheets

Turn text or scrambled date imports into true Google Sheets dates so sorting, filtering, and timeline analytics work correctly.

What the video covers

Use native Google Sheets formulas to convert common broken date patterns (text-formatted dates, custom delimiters like periods, and contiguous numeric strings like YYYYMMDD) into serial date values you can sort and format.

Watch the video on YouTube

Step-by-step instructions

  1. Open the sheet and inspect the broken dates
    Locate the column with imported dates. Text-based dates usually align left; real dates align right. Create a helper column next to the broken values.
  2. Convert simple text dates with DATEVALUE
    In the helper column enter =DATEVALUE(A2) (adjust A2 to the first cell). Press Enter and fill down. This converts many text date formats into serial dates.
  3. Fix custom delimiters (periods, alternate slashes)
    If dates use unusual delimiters like YYYY.MM.DD, wrap the cell in SUBSTITUTE first, e.g. =DATEVALUE(SUBSTITUTE(A2,".","/")), then fill down.
  4. Parse contiguous numeric strings (YYYYMMDD)
    For raw numeric strings such as 20260901, extract parts and build a date: =DATE(LEFT(A2,4), MID(A2,5,2), RIGHT(A2,2)). Fill down the column.
  5. Apply a Date format
    Select the converted helper column, open Format → Number and choose Date (or a preferred date format) so values display as readable dates.
  6. Replace the original column with converted values
    Copy the helper column, right-click the original broken column and use Paste special → Values only to overwrite with real dates. Delete the helper column when done.

Watch the video

Video thumbnail for Convert and Fix Broken Imported Dates in Google Sheets Play tutorial

Watch on YouTube

Why it matters

Imported datasets often deliver dates as text or strange numeric strings that break sorting, filtering, and date functions. Converting them to true Google Sheets dates restores correct chronology and enables timeline analytics and date-based formulas.

Check your result

Converted cells become numeric date serials (align right by default) and respond to date formatting. Verify by applying a Date number format and confirming sorts and date formulas behave as expected.

Troubleshooting

If DATEVALUE returns an error, check whether the string matches your locale's expected order (MDY vs DMY). For inconsistent formats, split into helper columns and normalize parts before recombining with DATE(year,month,day). If values still look like text after pasting, use Paste special → Values only to overwrite originals, then reformat as Date.