Date & time
TIMEVALUE
Converts a time written as text into a time.
Syntax
TIMEVALUE(time_text)Example: =TIMEVALUE("6:45 PM")
Available in: All versions
Try it
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in F2: =TIMEVALUE(D2)
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Start | End | Holiday | Time | Result | |
| 2 | 3/15/2026 | 6/20/2026 | 5/1/2026 | 14:45 | 0.614583333333 | |
| 3 | 1/31/2026 | 2/28/2026 | 5/9/2026 | 09:30 | ||
| 4 | 12/24/2025 | 1/9/2026 |
Result in F2: 0.614583333333