ctackett6407
Board Regular
- Joined
- Mar 18, 2018
- Messages
- 66
- Office Version
- 365
- Platform
- Windows
Hey folks had a question that I wanted a better solution then what I came up with, partially came up with.
The address Column starts in B2 (examples below)
I tried this in C column
=LEFT(B21332,LEN(B21332)-LEN(D21332)-1)
I tried this in D column
=TRIM(RIGHT(SUBSTITUTE(B21332," ",REPT(" ",LEN(B21332))),LEN(B21332)))
As you can see below my D column is giving me all kinds of results and I'm not sure how to grab the right data, I know I won't be able to fix them all but I'm wanting to not split the addresses where the Numbers are at the start of the line because those are the house numbers.
In the other columns I'm trying to grab the house number which these folks put at the end of the street address except .. not all the street addresses are ending in house numbers but contain LOT's etc..
I'm trying to figure out how to ignore the value if the house number is at the start.. and split the house number to it's own column and if anything comes after the house number it can go into it's own Unit Column,
I'm not sure how to accomplish this so seeking help from the more experienced.
The address Column starts in B2 (examples below)
I tried this in C column
=LEFT(B21332,LEN(B21332)-LEN(D21332)-1)
I tried this in D column
=TRIM(RIGHT(SUBSTITUTE(B21332," ",REPT(" ",LEN(B21332))),LEN(B21332)))
As you can see below my D column is giving me all kinds of results and I'm not sure how to grab the right data, I know I won't be able to fix them all but I'm wanting to not split the addresses where the Numbers are at the start of the line because those are the house numbers.
In the other columns I'm trying to grab the house number which these folks put at the end of the street address except .. not all the street addresses are ending in house numbers but contain LOT's etc..
I'm trying to figure out how to ignore the value if the house number is at the start.. and split the house number to it's own column and if anything comes after the house number it can go into it's own Unit Column,
I'm not sure how to accomplish this so seeking help from the more experienced.
1234 US HWY 10 SOUTH
|