Noon is half a day
| A | |
|---|---|
| 1 |
Formula: A1: =TIME(12,0,0)*24
Result: 12
Multiplying the day fraction by 24 gives the hour count.
TIME with worked examples you can test in the live grid. The argument details are in the Excel guide.
The arguments and common errors are covered in the TIME Excel guide; check the function help in Google Sheets for its own argument list.
| A | |
|---|---|
| 1 |
Formula: A1: =TIME(12,0,0)*24
Result: 12
Multiplying the day fraction by 24 gives the hour count.
| A | |
|---|---|
| 1 |
Formula: A1: =HOUR(TIME(27,30,0))
Result: 3
Twenty-seven hours is one day plus three hours, and the day part is discarded.
| A | |
|---|---|
| 1 |
Formula: A1: =ROUND((TIME(17,30,0)-TIME(9,0,0))*24,2)
Result: 8.5
From 9:00 to 17:30 is 8.5 hours.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in F2: =TIME(9,30,0)
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Start | End | Holiday | Time | Result | |
| 2 | 3/15/2026 | 6/20/2026 | 5/1/2026 | 14:45 | 09:30 | |
| 3 | 1/31/2026 | 2/28/2026 | 5/9/2026 | 09:30 | ||
| 4 | 12/24/2025 | 1/9/2026 |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page