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 YouTubeStep-by-step instructions
- 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. - 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. - 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. - 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. - 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. - 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
Play tutorial
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.