Hello Community,
I am trying to match a selected cell to a reference of multiple columns. For my example, I want to choose a state and I want it to return which category it comes from. Each category has multiple unique states. Ex. I search for CA within whole time, I want it to return me the column name..Any feedback is appreciated.
[TABLE="width: 500"]
<tbody>[TR]
[TD]SW[/TD]
[TD]MW[/TD]
[TD]CS[/TD]
[TD]SE[/TD]
[TD]WS[/TD]
[TD]NW[/TD]
[TD]FL[/TD]
[TD]NE[/TD]
[TD]OTH[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]IA[/TD]
[TD]IN[/TD]
[TD]AL[/TD]
[TD]AZ[/TD]
[TD]ID[/TD]
[TD]FL[/TD]
[TD]DC[/TD]
[TD]CT[/TD]
[/TR]
[TR]
[TD]LA[/TD]
[TD]IL[/TD]
[TD]KY[/TD]
[TD]GA[/TD]
[TD]CA[/TD]
[TD]OR[/TD]
[TD][/TD]
[TD]DE[/TD]
[TD]MA[/TD]
[/TR]
[TR]
[TD]OK[/TD]
[TD]KS[/TD]
[TD]MI[/TD]
[TD]MS[/TD]
[TD]CO[/TD]
[TD]WA[/TD]
[TD][/TD]
[TD]MD[/TD]
[TD]ME[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to match a selected cell to a reference of multiple columns. For my example, I want to choose a state and I want it to return which category it comes from. Each category has multiple unique states. Ex. I search for CA within whole time, I want it to return me the column name..Any feedback is appreciated.
[TABLE="width: 500"]
<tbody>[TR]
[TD]SW[/TD]
[TD]MW[/TD]
[TD]CS[/TD]
[TD]SE[/TD]
[TD]WS[/TD]
[TD]NW[/TD]
[TD]FL[/TD]
[TD]NE[/TD]
[TD]OTH[/TD]
[/TR]
[TR]
[TD]AR[/TD]
[TD]IA[/TD]
[TD]IN[/TD]
[TD]AL[/TD]
[TD]AZ[/TD]
[TD]ID[/TD]
[TD]FL[/TD]
[TD]DC[/TD]
[TD]CT[/TD]
[/TR]
[TR]
[TD]LA[/TD]
[TD]IL[/TD]
[TD]KY[/TD]
[TD]GA[/TD]
[TD]CA[/TD]
[TD]OR[/TD]
[TD][/TD]
[TD]DE[/TD]
[TD]MA[/TD]
[/TR]
[TR]
[TD]OK[/TD]
[TD]KS[/TD]
[TD]MI[/TD]
[TD]MS[/TD]
[TD]CO[/TD]
[TD]WA[/TD]
[TD][/TD]
[TD]MD[/TD]
[TD]ME[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]