Add periods to three compact initials

Turn AMR into A.M.R. for labels, letters and name badges.

What you'll make

In Excel: AMR becomes A.M.R.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1LEN(TRIM(A8))=3Checks the cell holds exactly three characters.Yes, three
2UPPER(LEFT( … )&"."&MID( … )&"."&RIGHT( … )&".")Each letter followed by a period, in capitals."A.M.R."
3"Review initials"Shown when the cell isn't three characters.Not used for row 8
4IF( … )Adds the periods, or asks you to check the row."A.M.R."

Read it left to right. Part 1 only counts characters, so a number or a space also passes.

=IF(LEN(TRIM(A8))=3,UPPER(LEFT(TRIM(A8),1)&"."&MID(TRIM(A8),2,1)&"."&RIGHT(TRIM(A8),1)&"."),"Review initials")

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up names with the formula already in.
  2. Use your own names. Paste three-letter initials into the green column of the Template tab. The periods fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Take out any periods and spaces first, like A.M.R. to AMR. Otherwise the row asks for a review.

Route: Get names ready for the letter

Microsoft's help: MID function