Turn a date stored as text into a real date Excel can calculate with.
Copy this formula
=DATEVALUE(A2)DATEVALUE parses a text string like "2026-06-23" into a date serial number. Format the result as a date. If the text uses an unusual layout, rebuild it with DATE(year, month, day).
=DATEVALUE("23/06/2026")→2026-06-23Parses a text date into a real date.
Rebuild from parts
=DATE(RIGHT(A2,4), MID(A2,4,2), LEFT(A2,2))Use when DATEVALUE can't parse the layout.
The text doesn't match a recognized date format for your regional settings. Rebuild it with DATE() from the parts.
Need a formula for your own data?
Describe what you want in plain language and let ExcelGPT write, explain, and verify the formula — free to start, no plugin.