Remove an import code before a name

Turn 0042Ava Reed into Ava Reed by removing the first 4 characters.

What you'll make

In Excel: 0042Ava Reed + 4 characters becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The cell with the code and the name."0042Ava Reed"
2B8+1Starts right after the code, at character 5.5
3LEN(A8)Counts every character, so nothing is cut off.12
4MID( … )Keeps the characters from part 2 onward."Ava Reed"
5TRIM( … )Removes any spaces left at the ends."Ava Reed"

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

=TRIM(MID(A8,B8+1,LEN(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. On the Template tab, paste the coded names into column A. Put how many code characters to remove into column B. The names fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Count the code's characters exactly. One too few leaves a digit in front; one too many cuts off a letter.

Route: Get names ready for the letter

Microsoft's help: MID function