TIMEVALUE Parameter Cannot Be Parsed in Google Sheets
Google Sheets TIMEVALUE returns #VALUE! for decimal hours, dotted times, blanks, and hidden spaces. A 25:00 duration parses anyway and wraps to 1:00 AM.
On this page
A community pool export put 13:30 and 1.5 in the same Clock column. TIMEVALUE accepted the first as a time of day and rejected the second with #VALUE!: TIMEVALUE parameter '1.5' cannot be parsed to date/time.
The hover uses a red Error heading and includes a Fix button; I did not click Fix.
Both values look like times. 1.5 is one and a half hours on a decimal-hour report, not clock text TIMEVALUE will parse. The same column also contains 25:00 for a 25-hour hire of the dive well. That value does not raise the parse error; TIMEVALUE wraps it to 1:00 AM. The parse error is obvious. The wrap is easier to miss.
Enter this fictional session log in A1:C11 of a spreadsheet set to the United States locale (en_US). Set C2:C10 to Plain text before typing the Clock values, so Sheets does not turn 13:30 into a serial behind the scenes. In C11, enter =TIME(13,30,0) and apply the Time number format.
| Session | Lane | Clock |
|---|---|---|
| S-21 | 1 | 13:30:00 |
| S-22 | 3 | 13:30 |
| S-23 | 2 | 1:30 PM |
| S-24 | Dive | 25:00 |
| S-25 | 1 | 24:00 |
| S-26 | 3 | 1.5 |
| S-27 | 2 | 13.30 |
| S-28 | 1 | 2026-11-26 13:30:00 |
| S-29 | Dive | n/a |
| S-30 | 3 | 1:30:00 PM |
C2 is text (ISTEXT TRUE, ISNUMBER FALSE). C11 looks similar on the grid, but it holds the numeric serial 0.5625 (ISNUMBER TRUE).
In D2:
=TIMEVALUE(C2)
The result is 0.5625, the fraction of a day for 13 hours and 30 minutes. Under Automatic the cell shows 0.5625; under Time it shows 1:30:00 PM; under Duration, 13:30:00. =TIME(13,30,0) stores the same serial, but a cell left on Automatic already displays 1:30:00 PM. The date and time cheat sheet covers both functions; the rest of this page is about the values TIMEVALUE will not parse, and the durations it will parse by wrapping past midnight.
Decimal hours and dotted clock text
C7 holds the text 1.5. C8 holds 13.30, a dotted lookalike for 13:30. =TIMEVALUE(C7) returns #VALUE! with TIMEVALUE parameter '1.5' cannot be parsed to date/time. =TIMEVALUE(C8) returns #VALUE! with TIMEVALUE parameter '13.30' cannot be parsed to date/time. The same message appears if 1.5 is stored as a number rather than Plain text, so changing the cell format does not fix a decimal-hour figure.
For decimal hours, divide by 24:
=VALUE(C7)/24
That returns 0.0625. Automatic shows 0.0625, Time shows 1:30:00 AM, and Duration shows 1:30:00. The Time result is 90 minutes after midnight, not 1:30 PM.
If the period in C8 is genuinely an hour-minute separator, replace it with a colon:
=TIMEVALUE(SUBSTITUTE(C8,".",":"))
That returns 0.5625. I would not run this substitution on a mixed column. In a decimal-hour report, 13.30 means 13 hours and 18 minutes, and a global replace would change those values.
Fractional seconds in colon-separated text are fine: =TIMEVALUE("13:30:00.000") also returns 0.5625.
25:00 wraps to 1:00 AM
C5 contains 25:00 and C6 contains 24:00. Neither one produced the parse error. =TIMEVALUE(C5) returns approximately 0.04166666667, the same serial as =TIME(25,0,0). Under Time both display 1:00:00 AM; under Duration both display 1:00:00, not 25:00:00. TIMEVALUE accepts the text and wraps the extra hour past midnight, just as TIME does.
=TIMEVALUE(C6) returns 0. Time displays 12:00:00 AM, and Duration displays 0:00:00. That is midnight, not a 24-hour duration.
To keep 25 elapsed hours as a fraction of a day:
=VALUE(INDEX(SPLIT(C5,":"),1,1))/24+VALUE(INDEX(SPLIT(C5,":"),1,2))/1440
The result is approximately 1.041666667. Time still shows 1:00:00 AM (the clock of day), but Duration shows 25:00:00. Use this kind of conversion for elapsed hours, not for a scheduled start time. The guide to summing time over 24 hours covers how to display accumulated durations without dropping the extra day.
Replacing TIMEVALUE with TIME on these inputs does not preserve the 25-hour hire either. Both functions wrap.
Clock text, AM/PM, and a date-time stamp
The missing seconds and the lowercase pm were not the problem. =TIMEVALUE(C3) on 13:30, =TIMEVALUE(C4) on 1:30 PM, and =TIMEVALUE("1:30 pm") each return 0.5625, with Time displaying 1:30:00 PM.
C9 holds a full stamp, 2026-11-26 13:30:00. =TIMEVALUE(C9) also returns 0.5625. There is no need to split the date and time first if you only want the clock fraction. Keep the original stamp if the session date still matters.
Blanks, empty strings, and n/a
Leave C12 genuinely empty. =TIMEVALUE(C12) and =TIMEVALUE("") both return #VALUE! with TIMEVALUE parameter '' cannot be parsed to date/time. =TIMEVALUE(C10) returns #VALUE! with TIMEVALUE parameter 'n/a' cannot be parsed to date/time.
Once those missing marks are identified:
=IF(OR(C10="",C10="n/a"),"",TIMEVALUE(C10))
For C10 the result is an empty string (ISNUMBER FALSE). Unlike a blanket IFERROR, this leaves an unexpected parse error visible, and it does not replace a missing time with zero, which would look like midnight.
When a serial already holds the time
C11 already contains the result of TIME. You can use =C11 directly. A formula that simply points at C11 inherits the Time display 1:30:00 PM; a Number format such as 0.0000 shows 0.5625.
If you pass that serial back into TIMEVALUE anyway, the result follows the displayed format, not the underlying number alone. =TIMEVALUE(C11) returns 0.5625 while C11 is formatted as Time (1:30:00 PM). The same serial formatted as 0.0000, or typed as the number 0.5625 and left on Automatic, returns #VALUE! with TIMEVALUE parameter '0.5625' cannot be parsed to date/time.
A mixed column can branch on type, but only when the numeric cells are actually time serials, not decimal hours, and only if you know how those serials are formatted:
=IF(ISNUMBER(C11),C11,TIMEVALUE(C11))
On C11 this keeps 0.5625. On the text in C2 it converts to the same fraction. It would be the wrong branch for the number 1.5.
The DATEVALUE cannot be parsed page covers the sister problem with date text and date serials.
A non-breaking space before PM
Text copied from a web page sometimes puts a non-breaking space where a normal space belongs. In C13:
="1:30"&UNICHAR(160)&"PM"
The cell looks like C4, but =UNICODE(MID(C13,5,1)) returns 160, compared with 32 for the ordinary space in C4. =TIMEVALUE(C13) returns #VALUE! with TIMEVALUE parameter '1:30 PM' cannot be parsed to date/time. The gap in that quoted time is a non-breaking space.
=TIMEVALUE(SUBSTITUTE(C13,UNICHAR(160)," "))
That returns 0.5625.
For times I type myself, I enter them in a cell that is not formatted as Plain text and check that ISNUMBER is TRUE. For an import, I leave the source column in place and convert beside it, with a different formula for decimal hours, dotted clock text, and elapsed hours past midnight, so a 25:00 block does not quietly become 1:00 AM.