Place Canadian street types by language

Turn PRINCIPALE and RUE into RUE PRINCIPALE, and MAIN and ST into MAIN ST.

What you'll make

In Excel: PRINCIPALE + RUE + French becomes RUE PRINCIPALE.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1OR( … )Checks for a missing name or type, or no TRUE/FALSE.FALSE
2IF(C8="English", … )English: the name, then the type.Not used for row 8
3IF(D8, … )Number names like 3E come first; otherwise the type does."RUE PRINCIPALE"
4IF(C8="French", … )Uses part 3 for French, else asks for the language."RUE PRINCIPALE"
5IF( … )Shows the first message when part 1 is TRUE."RUE PRINCIPALE"

Works from the inside out. Column D says TRUE when the name is a number, like 3E or 5TH.

=IF(OR(A8="",B8="",NOT(ISLOGICAL(D8))),"Review: check name, type, flag",IF(C8="English",A8&" "&B8,IF(C8="French",IF(D8,A8&" "&B8,B8&" "&A8),"Review: English or French?")))

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 the street name, street type, English or French, and TRUE or FALSE into the Template tab's green columns. The names with types fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Type TRUE or FALSE in column D, not yes or no. The formula never translates or guesses the language.

Microsoft's help: IF function