Space a civic suffix by its role

Canadian style: a letter joins the number, a fraction gets one space.

What you'll make

In Excel: 12, A, Letter becomes 12A.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1B8="",A8,With no suffix, gives only the civic number.Not used for row 8
2"Letter",A8&B8,For Letter, joins the suffix with no space."12A"
3"Fraction",A8&" "&B8,For Fraction, puts one space between.Not used for row 8
4SWITCH(C8, … )Picks by the role, or says Review."12A"
5IF( … )Uses part 1 when the suffix is empty."12A"

Part 4 reads the role in column C and picks part 2 or part 3.

=IF(B8="",A8,SWITCH(C8,"Letter",A8&B8,"Fraction",A8&" "&B8,"Review civic suffix role"))

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 civic numbers, suffixes and roles into the green columns of the Template tab. Leave the suffix and role 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 each suffix and role as your source gives them. The formula doesn't check them.

Microsoft's help: SWITCH function