Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Excel column where each cell contains the contents of an address. What I'd like to do is split THE FIRST TWO words into a their own separate columns.

For example: 123 South Bend Rd, Make Belive

Would output: 123 in one cell, South in another.

share|improve this question

migrated from May 23 '11 at 20:24

This question came from our site for professional and enthusiast programmers.

Assuming data is in column A, use formula in B1 (and copy down for all data rows)

=LEFT(A1,FIND(" ",A1)-1)

and in cell C1

=MID(A1,LEN(B1)+2,FIND(" ",A1,LEN(B1)+2)-LEN(B1)-2)
share|improve this answer
In your first formula it might be worth using =TRIM() just to make sure no leading white spaces otherwise it may find a " " at start of string. – Anonymous May 19 '11 at 6:13

You must log in to answer this question.