Lookup with multiple variable

meami111

New Member
Joined
Dec 1, 2010
Messages
36
I have the following sample database starting with A1 as the 1st column heading:
ColourShapeTaste BlankColourShapeTaste
RedSphereSweet RedSphere
BlueTriangleBitter BlueTriangle
GreenSquareHot GreenSquare
YellowRectangleTangy YellowRectangle
BlueSphereSweet BlueSphere
GreenTriangleBitter GreenTriangle
YellowSphereHot YellowSphere
RedTriangleBitter RedTriangle
BlueSquareHot BlueSquare
GreenRectangleTangy GreenRectangle

<colgroup><col><col><col span="5"></colgroup><tbody>
</tbody>

I want to find out the Lookup value for Taste in column G. Will sumproduct/sumifs work here? If not how can we get the look up value?

Thanks in advance for your help
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
In G2 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($C$2:$C$11,MATCH($E2,IF($B$2:$B$11=$F2,$A$2:$A$11),0)),"no found")
 
Upvote 0
Hi Aladin

Can you please tell what is to be done for the following instruction
"In G2 control+shift+enter, not just enter, and copy down"

I selected the G column with Ctrl+Shft+Enter and then pasted the formula in G2 and then again pressed Ctrl+Shft+Enter. It is copying the 1st result in all the rows.

Looking forward to your support

Thanks
 
Upvote 0
Type the formula in G2. Then press down the control and the shift keys at the same time while you hit the enter key. If done correctly, Excel itself puts a pair of { and } around the formula in recognition.
 
Upvote 0
Dear Aladin

Have tried put the array execution suggested by you. While it is working for other formulas, for the one suggested by you, I am only getting the first result repeated in all cells. Can you please check at your end if the desired result is coming?

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,484
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top