How to Separate an Address in Excel (3 Methods)

Method 1 – Using the ‘Text to Columns’ Option to Split Addresses 

The below dataset shows an address 986 Riverview Ct-Xenia, OH, 45385’ in the B5 cell from which we want to separate Street, City, State, ZIP Code to the following cells.

Use ‘Text to Columns’ Option to Split Address in Excel

STEPS:

  • Select the column where the full address is described and copy the full address in the adjacent column.

Use the ‘Text to Columns’ Option to Split Address in Excel

  • Go to the Data tab and then choose the ‘Text to Columns’ option.

  • This will take us to the Convert Text to Columns Wizard Step 1 window.

Use the ‘Text to Columns’ Option to Split Address in Excel

  • Select Delimited to separate the specific portion, which can be commas, tabs, hyphens, or spaces.
  • The selected value is in the Preview section.
  • Click the Next button.
  • A Convert Text to Columns Wizard Step 2 window pops up.
  • If the addresses in your file are separated by commas and hyphens, select Comma and hyphen in the Delimiter section and see the separated value in the Preview section.
  • Press Next.

Use the ‘Text to Columns’ Option to Split Address in Excel

  • In the Convert Text to Columns Wizard Step 3, select Column Data format as General.
  • Select the Destination as $C$5.
  • You will get a Data preview where the separation as per command is shown.
  • Press Finish to get the result.

  • Name the column headers such as Streets, City, State, and Zip Code.
  • The result will be like the below image:

Read More: How to Split Inconsistent Address in Excel


Method 2 – Using the Flash Fill Feature

STEPS:

  • Fill the first cell (Cell C5, D5, E5, F5) according to the pattern of information that we want in the Columns consecutively.

Separate Address into Different Columns with Flash Fill Feature

  • Go to the Data tab and choose the ‘Flash Fill’ option.

Separate Address into Different Columns with Flash Fill Feature

  • Fill column C containing a Street address, column D with City names, column E with State, and column F with ZIP Code.
  • The Flash Fill feature will fill in the rest based on the pattern provided in the first row. (In the above figure, we selected Street.)
  • Click the Flash Fill option from the Data tab to get ‘Street Addresses’ from the full address.

Separate Address into Different Columns with Flash Fill Feature

  • Fill Row D5 with the city name, Xenia, from B5, where the full address is located.
  • Select City in D4.

  • Click the Flash Fill option.

The figure below shows the result of getting all the ‘City’ names using the ‘Flash Fill’ option.

  • Using the same Flash Fill method, you can get all the ‘State’ and ‘ZIP Code’ values.

The final output will look like the figure below:

Read More: How to Separate Address in Excel Using Formula


Method 3 – Using Excel LEFT, RIGHT and MID Functions 

STEPS:

  • Select cell C5.
  • Enter the following formula:
=LEFT(B5,16)

  • Press Enter to see the result.
  • Select cell F5.
  • Enter the following formula:
=RIGHT(B5,5)
  • Press Enter to see the result.

Apply Excel LEFT, RIGHT and MID Functions to Separate Address

  • Select cell D5.
  • Enter the following formula:
=MID(B5,18,5)
  • Press Enter to get City Name.

Apply Excel LEFT, RIGHT and MID Functions to Separate Address

  • Select E5.
  • Enter the following formula:
=MID(B5,25,2)
  • Press Enter to get the State name.

Apply Excel LEFT, RIGHT and MID Functions to Separate Address

We get ‘Street, City, State, ZIP Code’ from the full address.

Read More: How to Separate City State and Zip from Address Using Excel Formula


Download the Practice Workbook

Download the following workbook to practice by yourself.


Related Articles


<< Go Back to Address Format | Text Formatting | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Farzana Ferdous
Farzana Ferdous

Farzana Ferdous, a graduate of Materials & Metallurgical Engineering from Bangladesh University of Engineering & Technology, serves as a technical content creator in the ExcelDemy project. Possessing a passion for innovation and critical thinking, she actively embraces challenges. Beyond her engineering background, she exhibits a keen interest in Excel, having authored numerous articles on Excel & VBA-related issues to simplify the experience for users facing obstacles in Excel. Besides, she is also interested in Advanced Excel,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo