Fix odd hyphens in house numbers

Turn a look-alike dash in 108‑02 into an ordinary hyphen. Leading zeros stay.

What you'll make

In Excel: 108‑02 becomes 108-02.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The house number. ‑ and – only look like hyphens."108‑02"
2SUBSTITUTE( … 8209 … )Swaps the nonbreaking hyphen ‑ for an ordinary one."108-02"
3SUBSTITUTE( … 8211 … )Swaps the short dash – for an ordinary hyphen."108-02"

The outer bracket wraps the inner one, so Excel works from the inside out.

=SUBSTITUTE(SUBSTITUTE(A8,UNICHAR(8209),"-"),UNICHAR(8211),"-")

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 house numbers into the green column of the Template tab. Fixed numbers fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Use this only on house numbers. A dash in a range like 10–20 may mean something else.

Microsoft's help: SUBSTITUTE function