Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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.

Output of various TIMEVALUE functions

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

Correct a #VALUE! error

TIMEVALUE function

Overview of formulas in Excel

How to avoid broken formulas

Use error checking to detect errors in formulas

All Excel functions (alphabetical)

All Excel functions (by category)

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!