Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Spreadsheet applications store every date as an integer — the number of days since a fixed start date (January 0, 1900 in Excel; December 30, 1899 in Google Sheets). When a cell's format is set to General or Number, this underlying serial number is displayed instead of the formatted date.
=TODAY()=TEXT(TODAY(),"DD/MM/YYYY")If TODAY() is in a General-formatted cell it may show as a serial number. Wrapping in TEXT() with a format string forces the output to a readable date string regardless of cell format. Alternatively, leave the formula as =TODAY() and apply a Date format to the cell directly.
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Stop hunting errors by hand.
Upload your spreadsheet and the Auditor flags every Serial number and broken formula at once — or paste this one formula and get the fix explained.
Excel's epoch is January 1, 1900 (with a historical bug treating 1900 as a leap year, adding 1 to all post-Feb-28-1900 dates). Google Sheets uses December 30, 1899 as day 0. The difference is usually zero for modern dates, but can be 1 for dates in 1900.
No. Formulas use the underlying serial number, which is the same whether the cell is formatted as a date or a number. If the formula result is wrong, the issue is with the formula logic, not the display format.
Use =TEXT(A2,"YYYY-MM-DD") replacing the format string with your preferred date format. This returns a text string, not a date value, so you cannot do further date math on the result.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: