Read a clock with AM/PM in parentheses
Turn clock text like 6:45(PM) from an export into a real time: 6:45 PM.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | A8 | The clock text, with AM or PM in brackets. | "2:30:15(PM)" |
| 2 | SUBSTITUTE( … "(" … ) | Swaps the opening bracket for a space. | "2:30:15 PM)" |
| 3 | SUBSTITUTE( … ")" … ) | Removes the closing bracket. | "2:30:15 PM" |
| 4 | TIMEVALUE( … ) | Turns that text into a real time. | 2:30:15 PM |
Each bracket wraps the one above it, so Excel works from the inside out.
=TIMEVALUE(SUBSTITUTE(SUBSTITUTE(A8,"("," "),")",""))How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own times. Paste clock text like 6:45(PM) into the green column of the Template tab. The times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Use one clock time per cell. Other notes in brackets, like (late), turn the row amber.
Microsoft's help: SUBSTITUTE function
OTHER ROUTES YOU MIGHT LIKE

Read a 24-hour clock like 14h30m
14h30m → 2:30 PM
Get the template →
Clean hidden spaces and tabs in times
2:30:15[nonbreaking space]PM → 2:30:15 PM
Get the template →
Convert dotted clock codes to real times
14.30.15 → 2:30:15 PM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →