A Aby Member Mar 11, 2016 #1 File attached below. need the country names when fruit names and code matches according to table Attachments index match.xls index match.xls 23.5 KB · Views: 15
Hui Excel Ninja Staff member Mar 11, 2016 #2 C10: =INDEX($B$1:$D$1,1,MATCH($B10,OFFSET($B$1:$D$1,MATCH($A10,$A$2:$A$4,0),),0)) Copy down
B bines53 Active Member Mar 11, 2016 #4 Hello friends , Solution without volatile ,and without array, =INDEX($A$1:$D$1,0,AGGREGATE(14,6,COLUMN($A$2:$D$2)/MMULT({1,1,1},--($A$2:$D$4=A10)+($A$2:$D$4=B10)),1)) David
Hello friends , Solution without volatile ,and without array, =INDEX($A$1:$D$1,0,AGGREGATE(14,6,COLUMN($A$2:$D$2)/MMULT({1,1,1},--($A$2:$D$4=A10)+($A$2:$D$4=B10)),1)) David
B bosco_yip Excel Ninja Mar 11, 2016 #5 Used simple INDEX/MATCH function for 2 ways Lookup : =INDEX(B$1:D$1,1,MATCH(B10,INDEX(B$2:D$4,MATCH(A10,A$2:A$4,0),0),0)) Copy down Regards Bosco
Used simple INDEX/MATCH function for 2 ways Lookup : =INDEX(B$1:D$1,1,MATCH(B10,INDEX(B$2:D$4,MATCH(A10,A$2:A$4,0),0),0)) Copy down Regards Bosco
John Jairo V Well-Known Member Mar 11, 2016 #6 ¡Hi to all! Just for fun... another option: =INDEX(B$1:D$1,SUMPRODUCT((A10&B10=A$2:A$4&B$2:D$4)*{1,2,3})) ¡Blessings!
¡Hi to all! Just for fun... another option: =INDEX(B$1:D$1,SUMPRODUCT((A10&B10=A$2:A$4&B$2:D$4)*{1,2,3})) ¡Blessings!
A Aby Member Mar 11, 2016 #7 thanks for the awesome different ways.. all are working... the simplest and also the complex ones