Okay, here's an issue that I'm sure has been resolved before, but I've search through the forum and can't find anything. How would I break an address in one cell into 3 cells?
EX:
A1 = 6403 VANDERBILT ST
Trying to get:
A1 = 6403
B1 = VANDERBILT
C1 = ST
another wrinkle is that some streets are BLVD, or AVE (or no type!)
Address calc question ...
-
- Posts: 4
- Joined: Wed Aug 26, 2015 5:12 pm
Address calc question ...
OpenOffice 3.3.0
Windows 7 OS
Windows 7 OS
Re: Address calc question ...
The method is to write three formulae using the built in functions of Calc, in three adjacent cells. The first inserts the string up to the first space, the second starts at the first space and inserts the centre section of the string up to the second space, the third starts at the second space and inserts the righthand portion of the string.
You will need to consider the case where there might be two or more spaces in the gaps. There may also be other boundary conditions.
The functions you want are Left(), Mid() and Right().
You will need to consider the case where there might be two or more spaces in the gaps. There may also be other boundary conditions.
The functions you want are Left(), Mid() and Right().
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 4
- Joined: Wed Aug 26, 2015 5:12 pm
Re: Address calc question ...
What if the street has several words in it? (like 2500 WEST SAM HOUSTON PARKWAY NORTH, ie)
OpenOffice 3.3.0
Windows 7 OS
Windows 7 OS
Re: Address calc question ...
Select column with address data.
Data>Text to columns...
<Space> as delimiter.
Data>Text to columns...
<Space> as delimiter.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Address calc question ...
You have to sort out a protocol for this. Computers cannot do all the thinking for you. Usually (hopefully) there are only a small number of exceptional cases. If so, you could hand edit the exceptions, for example: 2500 WEST SAM HOUSTON PARKWAY NORTH to 2500 WEST_SAM_HOUSTON PARKWAY_NORTH and then run your separation routine on the entire fileSignExpress wrote:What if the street has several words in it? (like 2500 WEST SAM HOUSTON PARKWAY NORTH, ie)
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 4
- Joined: Wed Aug 26, 2015 5:12 pm
Re: Address calc question ...
>>Usually (hopefully) there are only a small number of exceptional cases.<<
I'm working with over 3 1/2 million addresses...
I'm working with over 3 1/2 million addresses...
OpenOffice 3.3.0
Windows 7 OS
Windows 7 OS
Re: Address calc question ...
Using an arithmetic calculator with 1 million rows? Why?SignExpress wrote:>>Usually (hopefully) there are only a small number of exceptional cases.<<
I'm working with over 3 1/2 million addresses...
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 4
- Joined: Wed Aug 26, 2015 5:12 pm
Re: Address calc question ...
Did somebody enter the millions by keyboard into the spreadsheet? No?
So I guess you import those data from text files.
And the text files where exported from some type of database, possibly with numbers and names in separate fields.
And now you try to restore the database from text files without using a database.
So I guess you import those data from text files.
And the text files where exported from some type of database, possibly with numbers and names in separate fields.
And now you try to restore the database from text files without using a database.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice