Show a letter time with AM or PM
Turn the time 14:30 into the text 2:30 PM for a letter. Empty cells stay blank.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | A8="" | Checks if the time cell is empty. | No |
| 2 | A8 | The real clock time. | 14:30 |
| 3 | "h:mm AM/PM" | The pattern: hour, minutes, then AM or PM. | "h:mm AM/PM" |
| 4 | TEXT( … ) | Writes the time in that pattern as text. | "2:30 PM" |
| 5 | IF( … ) | Leaves the cell blank if part 1 says yes. | "2:30 PM" |
Read it left to right. Without part 1, an empty cell would show as 12:00 AM.
=IF(A8="","",TEXT(A8,"h:mm AM/PM"))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 real times into the green column of the Template tab. The letter times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Seconds are left off, so 2:30:45 PM shows as 2:30 PM. Check times where seconds matter.
Microsoft's help: TEXT function
OTHER ROUTES YOU MIGHT LIKE

Show a 24-hour time including seconds
2:30:15 PM → 14:30:15
Get the template →
Show a 24-hour time like 14:30
2:30 PM → 14:30
Get the template →
Write a duration past 24 hours as text
Duration 49:30 → text 49:30, not 1:30
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →