Sub topic 15
Troubleshooting Date Problems in Google Sheets
Assume you can enter formulas, use relative and absolute references, and change number formats from the Format menu. This chapter focuses on diagnosing dates that look wrong, behave like text, or change unexpectedly.
First check the stored value
Google Sheets stores a date as a serial number: a whole number counts days, and the decimal part represents a fraction of a day. For example, 0.5 represents noon. A date format changes how that number appears, but it does not change the stored value.
To inspect a suspicious date, temporarily format it as Format > Number > Number. You can also subtract it from another date:
=B2-A2If the result is a number of days, both cells contain usable date values. If a formula returns an error or treats the date as ordinary text, conversion is needed.
| Symptom | Likely cause | Useful check |
|---|---|---|
| A date is left-aligned or cannot be subtracted | Text that looks like a date | Use `=ISNUMBER(A2)` |
| Month and day appear reversed | Locale-dependent parsing | Check the spreadsheet locale |
| `NOW()` shows an unexpected hour | Spreadsheet time zone differs from your location | Check spreadsheet settings |
| A result changes later | Volatile function such as `TODAY()` or `NOW()` | Recalculate or inspect dependencies |
Text dates and locale parsing
A value imported from a CSV file or copied from another system may look like 2026-11-28 but still be text. DATEVALUE converts recognizable text into a date value:
=DATEVALUE(A2)Parsing text with slashes can depend on the spreadsheet locale. For reliable formulas, build the date from numeric parts instead of asking Sheets to interpret a string:
=DATE(2026, 11, 28)If the text always uses the unambiguous YYYY-MM-DD pattern, you can also extract the parts explicitly:
=DATE(VALUE(LEFT(A2,4)), VALUE(MID(A2,6,2)), VALUE(RIGHT(A2,2)))Use ISNUMBER(A2) to distinguish a real date from text. A real date can be formatted, compared, and used in functions such as EOMONTH and NETWORKDAYS.
Time zones and changing results
NOW() returns the current date and time, while TODAY() returns the current date. Both are volatile functions, meaning Sheets may recalculate them when the spreadsheet recalculates. They are useful for dashboards and deadlines, but they are poor choices for permanent historical records.
The spreadsheet time zone controls how current times are displayed. Open File > Settings and check the Time zone setting. A mismatch can make a timestamp appear several hours early or late. Imported timestamps may also include an offset, so confirm whether the source uses local time or UTC.
A repeatable troubleshooting process
- Test the cell with
=ISNUMBER(A2). - Display the value as a plain number.
- Check the locale if text parsing reverses month and day.
- Check the time zone for current timestamps.
- Replace
TODAY()orNOW()with a fixed value when the result must not change.
Exercise
A2 displays 11/28/2026, but =A2+7 produces an error. What should you test first, and how can you repair it?
Show answer
Test =ISNUMBER(A2). If it returns FALSE, A2 is text. Use =DATEVALUE(A2) if the locale recognizes the format, or construct the value with DATE from known year, month, and day parts.