Hi everyone,
I am trying to do a reverse lookup to return column headers by matching the data items within a grid list.
Currently, I am facing a difficulty in returning multiple column headers (Sheet 1) and they should be returned to a single cell in the "Interface Sheet".
Interface Sheet Example:
___A____| _____B
1 Query__|_Query data field
2 TEST01 | Customer ID, Gender, Address, Age
3 TEST02 | Customer ID, Gender, Martial Status
4 TEST03 | Customer ID, Phone Number, Age
5 TEST04 | Gender, Address, Age
Sheet 1 Example:
____A___________B___________C___________D__________E___________F__________G
1 __S/N______Customer ID____Gender___Phone Number__Address____Marital Status____Age
2 TEST01-1_____TEST01______TEST01_________________TEST01__________________TEST01
3 TEST02-1_____TEST02______TEST02_____________________________TEST02
4 TEST03-1_____TEST03_________________TEST03______________________________TEST03
5 TEST04-1_________________TEST04_________________TEST04__________________TEST04
In Interface Sheet, cells B2 to B5 contains the lookup formula to return column headers from Sheet 1 as expressed in the examples. To make it simple, under query "TEST01" in the Interface Sheet, cell B2 should be able to return all the column headers from Sheet 1 that contains "TEST01" in each respective column and fit them all in cell B2.
Any lookup formulas are fine with me as long as it can solve the problem!
I am trying to do a reverse lookup to return column headers by matching the data items within a grid list.
Currently, I am facing a difficulty in returning multiple column headers (Sheet 1) and they should be returned to a single cell in the "Interface Sheet".
Interface Sheet Example:
___A____| _____B
1 Query__|_Query data field
2 TEST01 | Customer ID, Gender, Address, Age
3 TEST02 | Customer ID, Gender, Martial Status
4 TEST03 | Customer ID, Phone Number, Age
5 TEST04 | Gender, Address, Age
Sheet 1 Example:
____A___________B___________C___________D__________E___________F__________G
1 __S/N______Customer ID____Gender___Phone Number__Address____Marital Status____Age
2 TEST01-1_____TEST01______TEST01_________________TEST01__________________TEST01
3 TEST02-1_____TEST02______TEST02_____________________________TEST02
4 TEST03-1_____TEST03_________________TEST03______________________________TEST03
5 TEST04-1_________________TEST04_________________TEST04__________________TEST04
In Interface Sheet, cells B2 to B5 contains the lookup formula to return column headers from Sheet 1 as expressed in the examples. To make it simple, under query "TEST01" in the Interface Sheet, cell B2 should be able to return all the column headers from Sheet 1 that contains "TEST01" in each respective column and fit them all in cell B2.
Any lookup formulas are fine with me as long as it can solve the problem!