Keep real timestamps, check the text
Turn 2026-11-04T14:30:15 into a date and time, and keep real timestamps as they are.
Download Excel templateMicrosoft 365
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 text |
| 2 | ISNUMBER(A8) | Checks whether the cell is already a real timestamp. | No, it is text |
| 3 | IF(AND( … )) | Keeps a real timestamp from 1901 on, or flags it. | Not used for row 8 |
| 4 | IFERROR(LET( … )) | Reads the text and checks it writes back the same. | November 4, 2026 2:30:15 PM |
| 5 | IF( … ) | Leaves an empty cell blank. | November 4, 2026 2:30:15 PM |
Read it left to right. Real timestamps pass through part 3; text goes to part 4.
=IF(A8="","",IF(ISNUMBER(A8),IF(AND(A8>=DATE(1901,1,1),A8<DATE(9999,12,31)+1),A8,"Review timestamp"),IFERROR(LET(x,DATEVALUE(LEFT(A8,10))+TIMEVALUE(MID(A8,12,8)),IF(AND(YEAR(x)>=1901,TEXT(x,"yyyy-mm-dd""T""hh:mm:ss")=A8),x,"Review timestamp")),"Review timestamp")))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 timestamps. Paste your timestamps, real or written like 2026-11-04T14:30:15, into the green column of the Template tab. The dates and times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Check every Review timestamp row. A 0 or a time with no date shows Review too.
Microsoft's help: IF function
OTHER ROUTES YOU MIGHT LIKE

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 →
Omit a known missing timestamp
0001-01-01T00:00:00 → blank; 2026-11-04T14:30:15 → 11/4/2026 14:30:15
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →