TIMEVALUE function - Zoho Sheet - Help Guide

TIMEVALUE

Returns the decimal number from a time given as text.

 

Syntax

 

TIMEVALUE(time_text)
time_text: A time expressed in the form of text. E.g. "14:30PM"

 

Remarks

  • The result ranges from 0 to 0.99988426, indicating the time from 12:00:00 AM to 11:59:59 PM.

  • The result can be formatted to display time.

  • The date value given in input will be ignored.


Examples

 

Formula

Result

=TIMEVALUE("14:30PM")

0.104166667

=TIMEVALUE("2/3/2020  1:15:20AM")

0.052314815

=TIMEVALUE("12PM")

0.5


Get a hands-on experience of the function in the embedded range below.   



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.

 

Similar Functions