Lab › Data Cleaning › Join an Address with &

Join an Address with &: Excel Lab

Lab 25 · Beginner& operatorText in quotesUPPERLEFT

The task: Street, city and PIN are in three columns. Join them into one address line, and make a 3-letter city code.

1 Watch how it is done

  1. Step 1: Join with & and your own separators

    =A4&", "&B4&" - "&C4

    • Click D4.
    • Type =A4&", "&B4&" - "&C4 and press Enter. Text you add goes in quotes.
    • Drag the fill handle down.
  2. Step 2: First 3 letters of the city, in capitals

    =UPPER(LEFT(B4,3))

    • Click E4.
    • Type =UPPER(LEFT(B4,3)) and press Enter.
    • Drag the fill handle down.

2 Your turn

Download the practice file. It has new numbers. Open it in Excel (or Google Sheets) and do the same steps.

⬇ Download the practice file

3 Check your answers

Stuck? Download the solution file and compare it with yours.

Next lab: Split a Product Code →
Want the theory? Read the Data Cleaning lessons →
← More Data Cleaning labs · All lab categories