kaushik_birmiwal
New Member
- Joined
- Feb 6, 2017
- Messages
- 9
Hi All,
I am facing a peculiar problem. I want to lookup for a text string in the rows, match a particular number in the values of that row, and then return the column header to which it matches.
Below is a sample data:
[TABLE="width: 555"]
<tbody>[TR]
[TD]Address[/TD]
[TD]ABC[/TD]
[TD]DEF[/TD]
[TD]GHI[/TD]
[TD]JHL[/TD]
[TD]MNO[/TD]
[/TR]
[TR]
[TD]Ayala Alabang Village, Muntinlupa City 1780[/TD]
[TD="align: right"]18.7[/TD]
[TD="align: right"]22.3[/TD]
[TD="align: right"]20.6[/TD]
[TD="align: right"]430[/TD]
[TD="align: right"]6.4[/TD]
[/TR]
[TR]
[TD]Miranda Street, Angeles City 2009[/TD]
[TD="align: right"]52.6[/TD]
[TD="align: right"]58.9[/TD]
[TD="align: right"]64.8[/TD]
[TD="align: right"]494.4[/TD]
[TD="align: right"]75.1[/TD]
[/TR]
[TR]
[TD]East Kamias, Quezon City[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5.4[/TD]
[TD="align: right"]11.4[/TD]
[TD="align: right"]443.9[/TD]
[TD="align: right"]24.6[/TD]
[/TR]
[TR]
[TD]Antipolo City, Rizal Province[/TD]
[TD="align: right"]5.3[/TD]
[TD="align: right"]0.3[/TD]
[TD="align: right"]6.3[/TD]
[TD="align: right"]446.1[/TD]
[TD="align: right"]26.8[/TD]
[/TR]
[TR]
[TD]ML Quezon Street, Antipolo City[/TD]
[TD="align: right"]11.2[/TD]
[TD="align: right"]6.2[/TD]
[TD="align: right"]0.5[/TD]
[TD="align: right"]444.4[/TD]
[TD="align: right"]25.2[/TD]
[/TR]
[TR]
[TD]Hemady Street, New Manila, Quezon City[/TD]
[TD="align: right"]11.5[/TD]
[TD="align: right"]6.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]444.5[/TD]
[TD="align: right"]25.2[/TD]
[/TR]
[TR]
[TD]Rotonda Baclaran, Paranaque City[/TD]
[TD="align: right"]9.9[/TD]
[TD="align: right"]12.9[/TD]
[TD="align: right"]14.7[/TD]
[TD="align: right"]436.7[/TD]
[TD="align: right"]17.4[/TD]
[/TR]
[TR]
[TD]Gatuslao Street, Bacolod City[/TD]
[TD="align: right"]445[/TD]
[TD="align: right"]447.3[/TD]
[TD="align: right"]445.5[/TD]
[TD="align: right"]1.3[/TD]
[TD="align: right"]430.1[/TD]
[/TR]
[TR]
[TD]Bacolod City[/TD]
[TD="align: right"]443.7[/TD]
[TD="align: right"]446[/TD]
[TD="align: right"]444.3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]428.8[/TD]
[/TR]
[TR]
[TD]Molino II, Bacoor Cavite[/TD]
[TD="align: right"]21.3[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]27.2[/TD]
[TD="align: right"]430.8[/TD]
[TD="align: right"]3.5[/TD]
[/TR]
</tbody>[/TABLE]
I have a list which contains all the values of Column A and I need to run a formula such that I can get Column headers for for cells which have value of less than 2.5.
I am sharing a Sample output below:
[TABLE="width: 299"]
<tbody>[TR]
[TD]East Kamias, Quezon City[/TD]
[TD]ABC[/TD]
[/TR]
[TR]
[TD]Hemady Street, New Manila, Quezon City[/TD]
[TD]GHI[/TD]
[/TR]
[TR]
[TD]Gatuslao Street, Bacolod City[/TD]
[TD]JHL[/TD]
[/TR]
[TR]
[TD]Bacolod City[/TD]
[TD]MNO[/TD]
[/TR]
</tbody>[/TABLE]
I have tried multiple combinations of Vlookup & Match, Index, Match & Match, Offset, Index & Match, etc. I have also tried to use Cell, Address functions. However, I have not been successful yet.
Regards,
Kaushik
I am facing a peculiar problem. I want to lookup for a text string in the rows, match a particular number in the values of that row, and then return the column header to which it matches.
Below is a sample data:
[TABLE="width: 555"]
<tbody>[TR]
[TD]Address[/TD]
[TD]ABC[/TD]
[TD]DEF[/TD]
[TD]GHI[/TD]
[TD]JHL[/TD]
[TD]MNO[/TD]
[/TR]
[TR]
[TD]Ayala Alabang Village, Muntinlupa City 1780[/TD]
[TD="align: right"]18.7[/TD]
[TD="align: right"]22.3[/TD]
[TD="align: right"]20.6[/TD]
[TD="align: right"]430[/TD]
[TD="align: right"]6.4[/TD]
[/TR]
[TR]
[TD]Miranda Street, Angeles City 2009[/TD]
[TD="align: right"]52.6[/TD]
[TD="align: right"]58.9[/TD]
[TD="align: right"]64.8[/TD]
[TD="align: right"]494.4[/TD]
[TD="align: right"]75.1[/TD]
[/TR]
[TR]
[TD]East Kamias, Quezon City[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5.4[/TD]
[TD="align: right"]11.4[/TD]
[TD="align: right"]443.9[/TD]
[TD="align: right"]24.6[/TD]
[/TR]
[TR]
[TD]Antipolo City, Rizal Province[/TD]
[TD="align: right"]5.3[/TD]
[TD="align: right"]0.3[/TD]
[TD="align: right"]6.3[/TD]
[TD="align: right"]446.1[/TD]
[TD="align: right"]26.8[/TD]
[/TR]
[TR]
[TD]ML Quezon Street, Antipolo City[/TD]
[TD="align: right"]11.2[/TD]
[TD="align: right"]6.2[/TD]
[TD="align: right"]0.5[/TD]
[TD="align: right"]444.4[/TD]
[TD="align: right"]25.2[/TD]
[/TR]
[TR]
[TD]Hemady Street, New Manila, Quezon City[/TD]
[TD="align: right"]11.5[/TD]
[TD="align: right"]6.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]444.5[/TD]
[TD="align: right"]25.2[/TD]
[/TR]
[TR]
[TD]Rotonda Baclaran, Paranaque City[/TD]
[TD="align: right"]9.9[/TD]
[TD="align: right"]12.9[/TD]
[TD="align: right"]14.7[/TD]
[TD="align: right"]436.7[/TD]
[TD="align: right"]17.4[/TD]
[/TR]
[TR]
[TD]Gatuslao Street, Bacolod City[/TD]
[TD="align: right"]445[/TD]
[TD="align: right"]447.3[/TD]
[TD="align: right"]445.5[/TD]
[TD="align: right"]1.3[/TD]
[TD="align: right"]430.1[/TD]
[/TR]
[TR]
[TD]Bacolod City[/TD]
[TD="align: right"]443.7[/TD]
[TD="align: right"]446[/TD]
[TD="align: right"]444.3[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]428.8[/TD]
[/TR]
[TR]
[TD]Molino II, Bacoor Cavite[/TD]
[TD="align: right"]21.3[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]27.2[/TD]
[TD="align: right"]430.8[/TD]
[TD="align: right"]3.5[/TD]
[/TR]
</tbody>[/TABLE]
I have a list which contains all the values of Column A and I need to run a formula such that I can get Column headers for for cells which have value of less than 2.5.
I am sharing a Sample output below:
[TABLE="width: 299"]
<tbody>[TR]
[TD]East Kamias, Quezon City[/TD]
[TD]ABC[/TD]
[/TR]
[TR]
[TD]Hemady Street, New Manila, Quezon City[/TD]
[TD]GHI[/TD]
[/TR]
[TR]
[TD]Gatuslao Street, Bacolod City[/TD]
[TD]JHL[/TD]
[/TR]
[TR]
[TD]Bacolod City[/TD]
[TD]MNO[/TD]
[/TR]
</tbody>[/TABLE]
I have tried multiple combinations of Vlookup & Match, Index, Match & Match, Offset, Index & Match, etc. I have also tried to use Cell, Address functions. However, I have not been successful yet.
Regards,
Kaushik