TIMEVALUE Function

Excel Functions › Date & Time

All versions Date & Time

The Excel TIMEVALUE function converts a time stored as text into a time serial — a fraction of a day — so you can subtract times, sum durations, and chart text-based time data.


Quick answer: turn text into a real time:
=TIMEVALUE("2:30 PM") // returns 0.6041... = format as time

Syntax

=TIMEVALUE(time_text)
ArgumentDescription
time_textRequiredA time written as text, e.g. "2:30 PM" or "14:30:00".

How to use it

TIMEVALUE ignores any date in the text and returns only the time fraction (0 = midnight, 0.5 = noon). Format the cell as time to read it. Pair with DATEVALUE to rebuild a full timestamp from text.

Remember Excel’s date system: every date is a serial number (days since Jan 1, 1900 — so 1 = that day, 46000-ish = today) and every time is a fraction of a day (0.5 = noon). If a result shows a raw number, just apply a date or time cell format.

Try it: interactive demo

Live demo

Adjust the input and watch the formula and result update.

Result:

Tips & gotchas

Convert a text time into a real time serial so durations calculate. Format result cells as Date or Time so they don’t display raw serial numbers.

Practice workbook

📊
Download the free TIMEVALUE practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

What does the decimal mean?
Times are day-fractions: 0.25 = 6 AM, 0.5 = noon, 0.75 = 6 PM. Format as time to display normally.
Does it keep the date part?
No — TIMEVALUE strips any date and returns only the time fraction. Use DATEVALUE for the date.
Why #VALUE!?
The text isn’t a recognizable time format. Check for stray characters or non-standard separators.
How do I sum text durations?
Convert each with TIMEVALUE first, then SUM — and format the total as [h]:mm to show totals over 24 hours.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: DATE · TODAY · DATEDIF · EOMONTH · TEXT