Hi everyone,
Sorry for the title, a bit confusion. Not sure if I cant articulate this well enough.
I would like to categorize a set of information based on a list. Let me show you what i mean.
This is the information I have.
City
HK
Hong Kong
New York
Jersey
New Jersey
Manila
Makati
If I group that together it will come back to 7 group.
Would like to simplify base on a list (or dictionary that can be add on) like this
[TABLE="width: 128"]
<tbody>[TR]
[TD="width: 64"]List[/TD]
[TD="width: 64"]Group[/TD]
[/TR]
[TR]
[TD]HK[/TD]
[TD]HK[/TD]
[/TR]
[TR]
[TD]hon kon[/TD]
[TD]HK[/TD]
[/TR]
[TR]
[TD]heh kee[/TD]
[TD]HK[/TD]
[/TR]
[TR]
[TD]Us[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]USA[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]america[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]US[/TD]
[/TR]
</tbody>[/TABLE]
So what im trying to do is for each city, look at the list and group them accordingly per group.
Is that possible?
Regards,
Freqzz
Sorry for the title, a bit confusion. Not sure if I cant articulate this well enough.
I would like to categorize a set of information based on a list. Let me show you what i mean.
This is the information I have.
City
HK
Hong Kong
New York
Jersey
New Jersey
Manila
Makati
If I group that together it will come back to 7 group.
Would like to simplify base on a list (or dictionary that can be add on) like this
[TABLE="width: 128"]
<tbody>[TR]
[TD="width: 64"]List[/TD]
[TD="width: 64"]Group[/TD]
[/TR]
[TR]
[TD]HK[/TD]
[TD]HK[/TD]
[/TR]
[TR]
[TD]hon kon[/TD]
[TD]HK[/TD]
[/TR]
[TR]
[TD]heh kee[/TD]
[TD]HK[/TD]
[/TR]
[TR]
[TD]Us[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]USA[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]america[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]NY[/TD]
[TD]US[/TD]
[/TR]
</tbody>[/TABLE]
So what im trying to do is for each city, look at the list and group them accordingly per group.
Is that possible?
Regards,
Freqzz