Keep missing timestamp markers blank
Leave export markers NULL and \N blank. Turn 2026-11-04T14:30:15 into a date and time.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | OR( … ) | Checks for an empty cell, NULL or \N. | No |
| 2 | DATEVALUE( … ) | Reads the first 10 characters as a date. | November 4, 2026 |
| 3 | TIMEVALUE( … ) | Adds the clock time after the T. | November 4, 2026 2:30:15 PM |
| 4 | IF( … ) | Leaves the cell blank if part 1 says yes. | November 4, 2026 2:30:15 PM |
Read it left to right. Only an empty cell, NULL and \N are left blank.
=IF(OR(A8="",A8="NULL",A8="\N"),"",DATEVALUE(LEFT(A8,10))+TIMEVALUE(MID(A8,12,8)))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 timestamps like 2026-11-04T14:30:15 into the green column of the Template tab. Missing ones marked NULL or \N stay blank.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Mark a missing time with NULL or \N, not 0 or a made-up date. Those read as real times.
Microsoft's help: IF function
OTHER ROUTES YOU MIGHT LIKE

Read a text timestamp as a date and time
2026-11-04T14:30:15 → November 4, 2026 2:30:15 PM
Get the template →
Read timestamp text with milliseconds
2026-11-04T14:30:15.123 → 11/4/2026 2:30:15.123 PM
Get the template →
Read a time like T14:30:15
T14: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 →