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.
Syntax and Arguments:
The Syntax for the TIMEVALUE Formula is:
Function Arguments ( Inputs ):
time_text – The time stored as text. Example “6:00:00”
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:
TIMEVALUE Examples in VBA
You can also use the TIMEVALUE function in VBA. Type:
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:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
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:
For more information about the TIMEVALUE Formula visit the