Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=TEXT(A2,"YYYY-MM-DD")Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
That number is the date serial number. It means the cell is not formatted as a date. Use TEXT(A2,"YYYY-MM-DD") to convert it to a readable string, or format the source cell as a Date.
In Google Sheets, use TEXT with a locale parameter in newer versions, or rely on LOWER/UPPER for case adjustments. In Excel, TEXT follows the Windows locale setting.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: