ExcelFlux

HOUR function

Conversion — a serial number to an hour.

Date and time

Where can you use it?

Planning and operations teams. Use this group to work with dates and times in calendars, delivery schedules, shifts and period reporting.

Scenario in the workbook

Extract the hour from an Excel time serial. Half a day equals noon.

A worked example from the workbook

RowA
6Input
70.5
80.25
90.875
Record 1
=HOUR(A7)

Expected result12

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=HOUR(TIME(22,30,45))
Turkish Excel · tr-TR
=SAAT(ZAMAN(22;30;45))

Expected result

22

Worked examples

Extract the hour from an Excel time serial. Half a day equals noon.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A
6 Input
7 0.5
8 0.25
9 0.875
Case Formula Expected result
Record 1 =HOUR(A7) 12
Record 2 =HOUR(A8) 6
Record 3 =HOUR(A9) 21
Microsoft Excel reference