Clean a mixed column of clock times
Turn timestamps and time text like 9:05 AM into real clock times, midnight included.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | A8="" | Checks whether the cell is empty. | No, it has a date and time |
| 2 | ISNUMBER(A8) | Checks whether the cell is a real time or timestamp. | Yes |
| 3 | MOD(A8,1) | Drops the date and keeps the clock time. | 2:30:15 PM |
| 4 | IFERROR(TIMEVALUE(A8), … ) | Reads time text, or says Review time. | Not used for row 8 |
| 5 | IF( … ) | Blank if empty, part 3 for numbers, else part 4. | 2:30:15 PM |
Read it left to right. Real times and timestamps keep their clock, and text is read as a time.
=IF(A8="","",IF(ISNUMBER(A8),MOD(A8,1),IFERROR(TIMEVALUE(A8),"Review time")))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 your times, timestamps or time text into the green column of the Template tab. The clock times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
The date is dropped on purpose. Midnight shows as 12:00:00 AM; it's a real time, not a missing one.
Microsoft's help: TIMEVALUE function
OTHER ROUTES YOU MIGHT LIKE

Keep real timestamps, check the text
2026-11-04T14:30:15 → November 4, 2026 2:30:15 PM; real timestamps stay
Get the template →
Rewrite clock text in a chosen format
2:30:15 PM with hh:mm:ss → 14:30:15
Get the template →
Write a time as hhmm or hhmmss
12:00:00 AM, pattern hhmmss → 000000, not 0
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →