Place a unit before the civic number

Turn unit 5 at 12 OAK ST into 5-12 OAK ST, the Canadian way.

What you'll make

In Excel: Unit 5 + civic number 12 becomes 5-12 OAK ST.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1IF(A8="",…)The unit and a hyphen, then the civic number."5-12"
2&" "&Adds a space."5-12 "
3C8Adds the street."5-12 OAK ST"

Read it left to right. With no unit, part 1 gives only the civic number.

=IF(A8="",B8,A8&"-"&B8)&" "&C8

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 units, civic numbers and streets into the green columns of the Template tab. Leave the unit empty when there isn't one.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Type units and civic numbers exactly as approved, like 77A. The formula doesn't check them.

Microsoft's help: IF function