English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can I sort an address like "555 Smith St" written in all in one cell by street and then by address number? I know i can do it in separate cells and then sort by priority, but then i have trouble with my mail merge into Word.

2007-03-19 08:58:36 · 5 answers · asked by pelagiamusic 2 in Computers & Internet Programming & Design

5 answers

Only possible if you have the street and number in separate cells. And since it caused problems with the mail merge, you'd probably have to go through the merge settings to make sure the right cells end up in the right places. It would be more work to set up the mail merge, but it doesn't sound impossible. Good luck!

2007-03-19 09:10:25 · answer #1 · answered by Navigator 7 · 0 0

Impossible is only limited by your own imagination ....
Independent from the programming language you wish to use, you need to tokenize the words inside each address entry resulting in:
555
Smith
St
This should be sorted into a container;
You need to determine a mechanism to consider Smith a part from St (Street) meaning that in reality the tokenizing should split the tokens into:
555
Smith St

instead of:
555
Smith
St

In OOP Design, you could create different attributes for that:
street_number
street_name

And almost in each programming language, the associative container "Set" provides a mechanism to sort ranges based on certain attributes.

2007-03-19 16:32:17 · answer #2 · answered by Coosa 2 · 1 0

using what language? PHP? ASP?

2007-03-19 16:19:07 · answer #3 · answered by rob 3 · 0 0

Honey child do it any way you want to ain't you doing it !Take my advice!

2007-03-19 16:15:44 · answer #4 · answered by Anonymous · 0 0

Nope, not really possible.

2007-03-19 16:03:00 · answer #5 · answered by Bob Z 3 · 0 0

fedest.com, questions and answers