Make a consistent name key

Turn Ava and Reed into reed|ava, so the same name always gives the same key.

What you'll make

In Excel: Ava + Reed becomes reed|ava.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1TRIM(B8)The surname, without stray spaces."Reed"
2&"|"&Adds a | mark to keep the two names apart."Reed|"
3TRIM(A8)Adds the given name, without stray spaces."Reed|Ava"
4LOWER( … )Makes every letter small, so capitals never matter."reed|ava"

Read it left to right. The surname comes first, then the given name.

=LOWER(TRIM(B8)&"|"&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 each given name into column A and each surname into column B of the Template tab.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Two rows with the same key may still be two different people. Check before you merge them.

Route: Get names ready for the letter

Microsoft's help: LOWER function