Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to create running total in an Excel Table
  • How To Sort One Column or Multiple Columns in Excel
  • Conditional Formatting New Rule with Formulas in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • How to do a t-Test in Excel?

References

  • Basic INDEX MATCH approximate in Excel
  • How to use Excel ROW Function
  • Approximate match with multiple criteria in Excel
  • Perform case-sensitive Lookup in Excel
  • Two-way lookup with VLOOKUP in Excel

Data Validations

  • Excel Data validation allow weekday only
  • How To Create Drop-down List in Excel
  • Excel Data validation must not contain
  • Excel Data validation must begin with
  • Excel Data validation allow uppercase only

HOUR function: Description, Usage, Syntax, Examples and Explanation

by

What is HOUR function in Excel?

HOUR function is one of Date and Time functions in Microsoft Excel that returns the hour of a time value. The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).

Syntax of HOUR function

HOUR(serial_number)

The HOUR function syntax has the following arguments:

  • Serial_number: The time that contains the hour you want to find. Times may be entered as text strings within quotation marks (for example, “6:45 PM”), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE(“6:45 PM”)).

HOUR formula explanation

Time values are a portion of a date value and represented by a decimal number (for example, 12:00 PM is represented as 0.5 because it is half of a day).

Example of HOUR function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Time
0.75
7/18/2011 7:45
4/21/2012
Formula Description Result
=HOUR(A2) Returns 75% of 24 hours 18
=HOUR(A3) Returns the hour portion of the date/time value. 7
=HOUR(A4) A date with no time portion specified is considered 12:00 AM, or 0 hours. 0

Post navigation

Previous Post:

DCOUNT function: Description, Usage, Syntax, Examples and Explanation

Next Post:

231 Keyboard Shortcut Keys In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples
  • Not Equal To ‘<>‘ operator in Excel
  • Extract multiple matches into separate rows in Excel
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • Add decimal hours to time in Excel
  • How to calculate quarter from date in Excel
  • Extract date from a date and time in Excel
  • How to show last updated date stamp in Excel
  • Get project end date in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Check if range contains a value not in another range in Excel
  • How to generate random date between two dates in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Sum by group in Excel
  • Count cells that contain errors in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning