Use the name after aka

Turn Ava Reed aka Avie Reed into Avie Reed for greetings and name lists.

What you'll make

In Excel: Ava Reed aka Avie Reed becomes Avie Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1TEXTAFTER(A8," aka ",1,1)Takes what comes after aka, in any capitals."Avie Reed"
2TRIM( … )Removes stray spaces at either end."Avie Reed"
3TRIM(A8)With no aka, keeps the whole name.Not used for row 8
4IFERROR( … )Uses part 3 when there is no aka."Avie Reed"

Each bracket wraps the one above it, so Excel works from the inside out.

=IFERROR(TRIM(TEXTAFTER(A8," aka ",1,1)),TRIM(A8))

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 names, with or without an aka, into the green column of the Template tab. The names to use fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Only aka with a space on each side counts. Rows written a.k.a. keep the whole name, so check those by hand.

Route: Get names ready for the letter

Microsoft's help: TEXTAFTER function