
DateLevel: IntermediateAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Common errors and fixes
- Related functions
TIMEVALUE turns text like “2:45 PM” into a real time you can add and subtract.
Syntax
=TIMEVALUE(time_text)
| Argument |
What it means |
time_text |
Text Excel recognises as a time. |
Examples
Example 1
=TIMEVALUE(C2)-TIMEVALUE(B2)
Shift length from two text columns; format as [h]:mm.
Common errors and fixes
| You see |
Why, and the fix |
#VALUE! |
Text like “14.45” or “2:45PM IST” — clean it with SUBSTITUTE first. |
DATEVALUE · TIME
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong