ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   seperate street name and number (https://www.excelbanter.com/excel-worksheet-functions/139625-seperate-street-name-number.html)

Bobby

seperate street name and number
 
I have street addresses in 1 column - I want to seperate into 2 columns the
first being the number and the second being the street name. I'm using the
function MID but I have to keep changing when amount of numbers difer. Must
be a better way.
Thanks

Teethless mama

seperate street name and number
 
Try: Data Text to Columns

"Bobby" wrote:

I have street addresses in 1 column - I want to seperate into 2 columns the
first being the number and the second being the street name. I'm using the
function MID but I have to keep changing when amount of numbers difer. Must
be a better way.
Thanks


Ron Coderre

seperate street name and number
 
With
A1 containing a street address.....eg: 123 Main Street

Try something like this:
B1: =LEFT(A1,FIND(" ",A1)-1)
C1: =MID(A1,FIND(" ",A1)+1,255)

In the above example,
B1 returns "123"
C1: returns "Main Street"

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Bobby" wrote:

I have street addresses in 1 column - I want to seperate into 2 columns the
first being the number and the second being the street name. I'm using the
function MID but I have to keep changing when amount of numbers difer. Must
be a better way.
Thanks



All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com