Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRANSPOSE Function
  • Extract data with helper column in Excel
  • How to get address of first cell in range in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples

Data Analysis Examples

  • How to calculate correlation coefficient Correlation in Excel
  • Subtotal function in Excel
  • Move chart to a separate worksheet in Excel
  • Number and Text Filters Examples in Excel
  • How to Create Gantt Chart in Excel

Data Validation Examples

  • Excel Data validation whole percentage only
  • Excel Data validation don’t exceed total
  • Excel Data validation allow uppercase only
  • Excel Data validation no punctuation
  • Excel Data validation unique values 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”)).
Worked Example:   Excel Date & Time Functions Example

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).

Worked Example:   Excel Date & Time Functions Example

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.

Worked Example:   Excel Date & Time Functions Example

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.

Post navigation

Previous Post:

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

Next Post:

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

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
  • Get first name from name with comma — Manipulating NAMES in Excel
  • How to extract last two words from text string in Excel
  • How to extract text between parentheses in Excel
  • How to check if cell contains some words but not others in Excel
  • Remove file extension from filename in Excel
  • Add years to date in Excel
  • Count day of week between dates in Excel
  • Add business days to date in Excel
  • Get project end date in Excel
  • Find Last Day of the Month in Excel
  • Example of payment for annuity in Excel
  • PV function: Description, Usage, Syntax, Examples and Explanation
  • DURATION function: Description, Usage, Syntax, Examples and Explanation
  • YIELDMAT function: Description, Usage, Syntax, Examples and Explanation
  • PRICE function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles