LouieGrandie
Technical User
Have a CVS file that when I open it in Excel one cell for address looks like this:
Richard D. Hayward
925 3rd Street West
I need to break each line out into three separate columns for address line 1, line 2 and line 3.
While =LEFT(A1,FIND(CHAR(10),A1)-1) works just fine to break out the first line into:
12 Security Forces Squadron/S4R
how do I break out line 2 and line three?
Using:
=SUBSTITUTE(A1,CHAR(10)&CHAR(10),"|")
results in:
12 Security Forces Squadron/S4RRichard D. Hayward925 3rd Street West.
Richard D. Hayward
925 3rd Street West
I need to break each line out into three separate columns for address line 1, line 2 and line 3.
While =LEFT(A1,FIND(CHAR(10),A1)-1) works just fine to break out the first line into:
12 Security Forces Squadron/S4R
how do I break out line 2 and line three?
Using:
=SUBSTITUTE(A1,CHAR(10)&CHAR(10),"|")
results in:
12 Security Forces Squadron/S4RRichard D. Hayward925 3rd Street West.