Return the street after a fraction

Turn 12 1/2 Oak St into Oak St, dropping the house number and its fraction.

What you'll make

In Excel: 12 1/2 Oak St becomes Oak St.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1OR( … )Checks if the second word is 1/2, 1/4 or 3/4.Yes
2IF( … ,2,1)Picks the second space after a fraction, else the first.2
3TEXTAFTER(A8," ", … )Keeps everything after that space."Oak St"
4"Review street line"What the cell says when the line is too short.Not used for row 8
5IFERROR( … )Uses part 4 when the line is too short."Oak St"

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

=IFERROR(TEXTAFTER(A8," ",IF(OR(TEXTBEFORE(TEXTAFTER(A8," ")," ")="1/2",TEXTBEFORE(TEXTAFTER(A8," ")," ")="1/4",TEXTBEFORE(TEXTAFTER(A8," ")," ")="3/4"),2,1)),"Review street line")

How to use it

Yellow bar at the top? Click Enable Editing.

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

Before you send

Only 1/2, 1/4 and 3/4 count as part of the house number. Check any other fraction by hand.

Microsoft's help: TEXTAFTER function