look up value based on multiple criteria across row and columns

imran1059

Board Regular
Joined
Sep 28, 2014
Messages
112
Hi,

I have this table to look up. WR and CR are in first row and END and TND are in first column. In this report, there are total of 10 columns and 7 rows.

WRWRWRWRCRCRCRCR
SOISOISCSCSOISOISCSC
%Kw%Rg%Kw%Rg%Kw%Rg%Kw%Rg
ENDSI-V13.3%65.0%15.7%43.8%24.1%33.5%12.7%23.2%
ENDSI-D4.1%20.2%6.7%18.8%13.4%18.7%11.0%20.3%
TNDTND-S&I2.0%9.8%5.4%15.1%10.6%14.8%5.5%10.1%
TNDTND-MC1.0%4.9%8.0%22.3%5.7%7.9%3.5%6.4%

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

Cell A8 to E8 are dynamic and may be filled with as follows

A8 END
B8 SI-D
C8 WR
D8 SOI
E8 %Rg

I want a formula in cell F8 that will give me the result of 20.2%. It is captured based on all the five given criteria. if cell A8 is changed to TND and Cell B8 is changed to TND-MC then displayed result in Cell F8 should be 4.9%. For some reason I am unable to change the given format. So we have to stick to this format.


Thanks,
Imran.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi,

Looks like:

Code:
=INDEX(C4:J7,MATCH(1,IF(A4:A7=A8,IF(B4:B7=B8,1)),0),MATCH(1,IF(D1:J1=C8,IF(C2:J2=D8,IF(C3:J3=E8,1))),0))

Array entered, i.e. with CTRL+SHIFT+ENTER.

Matty
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,851
Members
449,194
Latest member
HellScout

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