The most common scenario where the #VALUE! error occurs in TIMEVALUE is when the time_text argument contains a value other than a text string.
The time_text argument has to be a valid text value, not a number or a time value. For example, 22-June-2000 6:45 AM or 22-June-00 are valid values, but the following values are not:
-
June-22-2000 6:45 AM
-
Six forty-five AM
-
6:45 AM
-
645
Note: Date information in time_text is ignored.
Solution: You have to change to the correct value. Right-click on the cell and click Format and make sure the cell follows the Text format. And if the value already contains a text, make sure it is valid.
Looking at this example, you might wonder why C10 works, but C11 doesn’t. It’s because C10 is formatted as Text, while C11 is formatted as Time.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in Communities.
See Also
Use error checking to detect errors in formulas