C
ChrisBat via AccessMonster.com
Hi,
I have an A2K database with links to Excel spreadsheets. When I import the
data, I would like to split the address field up into Street Number, Street
Name, and Miscellaneous. The problem I'm running into is that the data I'm
getting has numerous formats, looking like this:
123,,main st,,Somewhere ONT
444 Sesame St, Somewhere ONT
bsmt 333 Any Street, Nowhere ONT
Apt 3 336 any street, nowhere,ONT
*456 Sesame Street Somewhere ONT
*1240,,Lower Any,Dr, AAG76GGYD
What i'd like to do is pull the data apart, and put it into a table where the
data looks like:
123 | Main St | Somewhere ONT
444 | Sesame St |Somewhere ONT
333 | Any St |Nowhere ONT bsmt
336 | Any St | Nowhere ONT APt 3
456 | Sesame St | Somewhere ONT
1240 | Lower Any Dr | AAG76GGYD
Any suggestions would be much appreciated. I've been staring at this for at
least a day and a half, and have poked around on the net (the closest I got
was from one of the posts here which included the formula LEFT([_____],
INSTRREV([______]," ",LEN([_________])-7)) but that doesn't quite give me
what I need, and doesn't take into account the ,, or the spaces.....
Thanks in advance,
Chris
I have an A2K database with links to Excel spreadsheets. When I import the
data, I would like to split the address field up into Street Number, Street
Name, and Miscellaneous. The problem I'm running into is that the data I'm
getting has numerous formats, looking like this:
123,,main st,,Somewhere ONT
444 Sesame St, Somewhere ONT
bsmt 333 Any Street, Nowhere ONT
Apt 3 336 any street, nowhere,ONT
*456 Sesame Street Somewhere ONT
*1240,,Lower Any,Dr, AAG76GGYD
What i'd like to do is pull the data apart, and put it into a table where the
data looks like:
123 | Main St | Somewhere ONT
444 | Sesame St |Somewhere ONT
333 | Any St |Nowhere ONT bsmt
336 | Any St | Nowhere ONT APt 3
456 | Sesame St | Somewhere ONT
1240 | Lower Any Dr | AAG76GGYD
Any suggestions would be much appreciated. I've been staring at this for at
least a day and a half, and have poked around on the net (the closest I got
was from one of the posts here which included the formula LEFT([_____],
INSTRREV([______]," ",LEN([_________])-7)) but that doesn't quite give me
what I need, and doesn't take into account the ,, or the spaces.....
Thanks in advance,
Chris