Convert time text to a real clock time

Turn the text 14:30:15 or 6:45 PM into a real time you can use.

What you'll make

In Excel: 14:30:15 as text becomes 2:30:15 PM.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1A8The time written as text."14:30:15"
2TIMEVALUE( … )Reads the text and turns it into a real time.2:30:15 PM

It reads 24-hour text like 14:30:15 and AM/PM text like 6:45 PM.

=TIMEVALUE(A8)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own times. Paste time text like 6:45 PM into the green column of the Template tab. The times fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Use clock times like 6:45 PM, not lengths of time like 49:30. Those come out as the wrong time.

Microsoft's help: TIMEVALUE function