Excel TIMEVALUE Function

This Excel Tutorial demonstrates how to use the Excel TIMEVALUE Function in Excel to convert a time stored as text into a valid time, with formula examples.

TIMEVALUE Function Description:

The TIMEVALUE Function Converts a time stored as text into the time’s corresponding serial number.

Formula Examples:

timevalue function examples

ExampleFormulaResult
AM=TIMEVALUE(C5)0.208333333333333
PM=TIMEVALUE(C6)0.708333333333333

Syntax and Arguments:

The Syntax for the TIMEVALUE Formula is:

Function Arguments ( Inputs ):

time_text – The time stored as text. Example “6:00:00”

Additional Notes

Enter time stored as text.

The time-serial number stores time as a fraction of the day. Example: 8:00AM would be .3333.

The result of the TIME Function may appear as a decimal number. Change the cell Number Formatting to TIME to display the time:
time formatting excel shortcut

TIMEVALUE Examples in VBA

You can also use the TIMEVALUE function in VBA. Type:
application.worksheetfunction.timevalue(time_text)
For the function arguments (time_text, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

How to use the TIMEVALUE Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
=AND(
After entering it in the cell, notice how the AND formula inputs appear below the cell:
timevalue formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=TIMEVALUE(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the timevalue function in excel

For more information about the TIMEVALUE Formula visit the
Microsoft Website.

ADS GO HERE

Posted in