Insert a missing space after given names

Turn AvaReed into Ava Reed, using the given name you already have.

What you'll make

In Excel: AvaReed + Ava becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1AND(B8<>"",LEFT(A8,LEN(B8))=B8,LEN(A8)>LEN(B8))Checks the joined name starts with the given name.TRUE
2B8&" "&The given name with a space after it."Ava "
3MID(A8,LEN(B8)+1,LEN(A8))Adds everything after the given name."Ava Reed"
4"Review name"Shown when the start doesn't match.Not used for row 8
5IF( … )Adds the space only when part 1 is true."Ava Reed"

Read it left to right. Capitals don't matter in part 1, so ava matches Ava. The result keeps the given name as you typed it.

=IF(AND(B8<>"",LEFT(A8,LEN(B8))=B8,LEN(A8)>LEN(B8)),B8&" "&MID(A8,LEN(B8)+1,LEN(A8)),"Review name")

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 joined names and the given names you know into the green columns of the Template tab. Full names fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Type the whole given name with the capitals you want. It appears in the result exactly as you type it.

Route: Get names ready for the letter

Microsoft's help: MID function