Parse full address

Intermediate

When you’re cleaning customer or lead lists, addresses often arrive as a single text field. Splitting them into structured columns (like city and state) makes reporting and filtering much easier.

In this sheet, column B contains full addresses in a consistent format:

<Street address>, <City>, <State> <ZIP>

Your goal is to extract only the City into column C.

Your task

  1. In C2, write a formula that returns the city from the address in B2.
  2. Fill the formula down through C12.

Use FIND to locate the commas and MID to return the text between them. The result should not include commas or extra spaces.

Need some help?

Hint 1

The city is the text between the first comma and the second comma in the address.

Hint 2

MID needs a start position and a character count; you can get both by subtracting the comma positions returned by FIND.

Related function(s)

Exercise