HOUR function - The function returns the hour of a time value in Excel
The following article introduces you to the HOUR function - one of the functions in the date and time group is very popular in Excel.
HOUR function - The function returns the hour of a time value in Excel Picture 1
Description: The function returns the hour value of a time value, the hour is returned as an integer.
Syntax : HOUR (serial_number)
Where: serial_number is the time value want to count, is a required parameter.
Attention:
- Where serial_number value is a date value does not specify the time the function will return the value #VALUE !.
- The time value is part of the date value and it is expressed as a decimal.
For example:
Calculate the hour value in the time value in the following table:
HOUR function - The function returns the hour of a time value in Excel Picture 2
- In the cell to calculate enter the formula : = HOUR (E7).
HOUR function - The function returns the hour of a time value in Excel Picture 3
- Press Enter -> 25% of 24 hours is:
HOUR function - The function returns the hour of a time value in Excel Picture 4
- Similarly copying the formula for the remaining values results:
HOUR function - The function returns the hour of a time value in Excel Picture 5
- Where the value seri_number does not contain the hour unit -> the function returns the #VALUE! Error value
HOUR function - The function returns the hour of a time value in Excel Picture 6
Above are instructions and some specific examples in working with HOUR function in Excel.
Good luck!
You should read it
- HOUR function - The function converts a serial number into an hour in Excel
- TIME function - Function returns decimal numbers for a specific time value in Excel
- DATEPART function in SQL Server
- DATENAME function in SQL Server
- How to Convert Time from 24-Hour to 12-Hour
- NOW function - The function returns the current date and time in Excel
- POISSON.DIST function - The function returns the Poisson distribution in Excel
- SECOND function - The function returns the second part of a time value in Excel
- POISSON function - The function returns the Poisson distribution in Excel
- How to use the IF function in Excel
- How to use the IFS function in Excel 2016
- CHISQ.TEST function - The function returns the independence test in Excel
May be interested
ISOWEEKNUM function - The function returns the ordinal number of the year of the week that contains the given date in Excel
MINUTE function - The function returns minutes of a time value in Excel
MONTH function - The function returns the monthly value of a day expressed as a serial number in Excel
NETWORKDAYS function - The function returns the number of whole working days between 2 dates in Excel
How to insert pictures into Word, Excel and align images
How to insert symbols, special characters in Word