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

Data Analysis

  • Get column name from index in Excel Table
  • How to Create Thermometer Chart in Excel
  • Number and Text Filters Examples in Excel
  • How to count table columns in Excel
  • Conditional Formatting Rules in Excel

References

  • How to use Excel FORMULATEXT function
  • Create hyperlink with VLOOKUP in Excel
  • How to get last row in mixed data with blanks in Excel
  • How to use Excel VLOOKUP Function
  • How to get last row in text data in Excel

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation must contain specific text
  • Prevent invalid data entering in specific cells
  • Excel Data validation must not contain
  • Data validation must not exist in list

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

Post navigation

Previous Post:

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

Next Post:

Customize Ribbon 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

  • How to use Excel AND Function
  • IF with wildcards in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to determine year is a leap year in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • How to get number of days, weeks, months or years between two dates in Excel
  • Get first Monday before any date in Excel
  • Convert date to text in Excel

Grouping

  • Running count group by n size in Excel
  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel
  • How to randomly assign people to groups in Excel

General

  • How to fill cell ranges with random number from fixed set of options in Excel
  • Delete Blank Rows at Once in Excel
  • Share Excel data with Word documents
  • How to calculate profit margin percentage in Excel
  • Print Excel Sheet In Landscape Or Portrait
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning