yichuansancun
Board Regular
- Joined
- Feb 7, 2011
- Messages
- 123
I have the following table
India (Bangalore)
India (Mumbai)
China (Shanghai)
China (Beijing)
USA (San Francisco)
My lookup value will only be the city, ie the part that is within the (). How can I use match function to return the row number?
For example, I want to know the row number of text string that contain Shanghai. Will that be:
=MATCH(LEFT(C9,SEARCH("(",C9,2)),$Z$2:$Z$2198,0)
?
Thanks,
India (Bangalore)
India (Mumbai)
China (Shanghai)
China (Beijing)
USA (San Francisco)
My lookup value will only be the city, ie the part that is within the (). How can I use match function to return the row number?
For example, I want to know the row number of text string that contain Shanghai. Will that be:
=MATCH(LEFT(C9,SEARCH("(",C9,2)),$Z$2:$Z$2198,0)
?
Thanks,