FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

HOUR in Google Sheets

HOUR with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the HOUR Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Hour of a time cell

A
1Time
214:45

Formula: C2: =HOUR(A2)

Result: 14

A quarter to three in the afternoon is hour 14.

Time written as text

A
1

Formula: A1: =HOUR("18:45")

Result: 18

The quoted text is converted to a time first, then its hour is read.

Fraction of a day

A
1

Formula: A1: =HOUR(0.75)

Result: 18

Three quarters of a day is 18:00.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =HOUR(D2)

Example spreadsheet for HOUR
ABCDEF
1StartEndHolidayTimeResult
23/15/20266/20/20265/1/202614:4514
31/31/20262/28/20265/9/202609:30
412/24/20251/9/2026
Result in F2: 14

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.