Hello All,
I have data that is similar to the one below:
[TABLE="width: 225"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Place[/TD]
[TD]GEE[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]Depot[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]ABC[/TD]
[TD]53[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]GEE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]SGEE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]GEESTN[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]DRG[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]Depot[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]ABC[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]FED[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]SGTE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]GEST[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]DRG[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]Depot[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]ABC[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]GEESTN[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]DRG[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I want to get name from column A in column C if any place in column B contains full text in C1 ("GEE"). The answer should be 50 and 53. Each name must come only once in the answer. The data is about 50000 rows and there are about 120 different names. The places are about 200 different places.
Any help would be greatly appreciated.
Asad
I have data that is similar to the one below:
[TABLE="width: 225"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Name[/TD]
[TD]Place[/TD]
[TD]GEE[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]Depot[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]ABC[/TD]
[TD]53[/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]GEE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]SGEE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]GEESTN[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]50[/TD]
[TD]DRG[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]Depot[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]ABC[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]FED[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]SGTE[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]GEST[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]DRG[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]Depot[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]ABC[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]GEESTN[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD]DRG[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I want to get name from column A in column C if any place in column B contains full text in C1 ("GEE"). The answer should be 50 and 53. Each name must come only once in the answer. The data is about 50000 rows and there are about 120 different names. The places are about 200 different places.
Any help would be greatly appreciated.
Asad