Read a timestamp if its zone matches

Turn 2026-11-04 14:30:15 UTC into a real date and time, but only when it ends in UTC.

What you'll make

In Excel: 2026-11-04 14:30:15 UTC, label UTC becomes November 4, 2026 2:30:15 PM.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1RIGHT( … )=" "&B8Checks the text ends in a space and the label.TRUE
2DATEVALUE( … )Reads the first 10 characters as a date.November 4, 2026
3TIMEVALUE( … )Adds the clock time after the space.November 4, 2026 2:30:15 PM
4"Review zone"The message when the label doesn't match.Not used for row 8
5IF( … )Shows the date and time, or else the message.November 4, 2026 2:30:15 PM

The label is only checked, not converted. A UTC timestamp stays in UTC.

=IF(RIGHT(A8,LEN(B8)+1)=" "&B8,DATEVALUE(LEFT(A8,10))+TIMEVALUE(MID(A8,12,8)),"Review zone")

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 timestamps. Paste timestamps like 2026-11-04 14:30:15 UTC and the label you expect, like UTC, into the Template tab's green columns. The dates and times fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Check every Review zone row. Those times are in a different zone, so don't mix them in.

Microsoft's help: IF function