hello,
I have a new client that just gave me a large number of accounts to process into our database, and in our system when I input them electronically I need the address, city, state, and zip into separate fields in the .txt file I export from excel, however, this client has given me the address information all in one cell
does anyone know a formula and/or some VBA that can look at for example cell A1 with the street address city 2-character state & 5-digit zip all in the one cell and extract the data into the nearby columns, so that the address would be in B1, city in C2, state in D2 and zip in E2, and the address and city could be a variable number of words?
some examples:
a1 has
123 future past rd anytown sc 29424
b1 would contain
123 future past rd
c1
anytown
d1
sc
e1
29424
a2 has
342 roland hwy apt b2 another place sc 29432
b2 would contain
342 roland hwy apt b2
c2
another place
d2
sc
e2
29432
thanks in advance,
david
I have a new client that just gave me a large number of accounts to process into our database, and in our system when I input them electronically I need the address, city, state, and zip into separate fields in the .txt file I export from excel, however, this client has given me the address information all in one cell
does anyone know a formula and/or some VBA that can look at for example cell A1 with the street address city 2-character state & 5-digit zip all in the one cell and extract the data into the nearby columns, so that the address would be in B1, city in C2, state in D2 and zip in E2, and the address and city could be a variable number of words?
some examples:
a1 has
123 future past rd anytown sc 29424
b1 would contain
123 future past rd
c1
anytown
d1
sc
e1
29424
a2 has
342 roland hwy apt b2 another place sc 29432
b2 would contain
342 roland hwy apt b2
c2
another place
d2
sc
e2
29432
thanks in advance,
david