Using index matching rows with 2 criteria

earthworm

Well-known Member
Joined
May 19, 2009
Messages
773
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi all i have a data set like this

In cell A1 : I input the date , Sell B1 i input the Tenor and Cell C1 i input the
Column , from these i want the value to appear from table below starting from cell d10:f22 , i tried to use index function , but i m lost.

how can i input 2 conditions to select row in index to get the data

Sample file attached.

http://www.box.net/shared/k953d81p5i
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi all i have a data set like this

In cell A1 : I input the date , Sell B1 i input the Tenor and Cell C1 i input the
Column , from these i want the value to appear from table below starting from cell d10:f22 , i tried to use index function , but i m lost.

how can i input 2 conditions to select row in index to get the data

Sample file attached.

http://www.box.net/shared/k953d81p5i
I have your file in front of me.

The formula you have in cell G3 seems to be returning the correct result.

So, what are you having trouble with?
 
Upvote 0
I have your file in front of me.

The formula you have in cell G3 seems to be returning the correct result.

So, what are you having trouble with?

i dont have any formula in sheet . i need result in yellow highlighted cell.
 
Upvote 0
i dont have any formula in sheet . i need result in yellow highlighted cell.
Maybe you posted the wrong file.

Cell G3 contains this formula:

=INDEX($G$12:$I$24,MATCH(B3&"-"&E3,$D$12:$D$24,0),MATCH(F3,$G$11:$I$11,0))

And it returns 72 which is the correct result from your table.

:confused:
 
Upvote 0
please recheck the file is correct

http://www.box.net/shared/k953d81p5i
This screencap shows the formula that's entered in cell G3.

2ilziar.jpg
 
Upvote 0

Forum statistics

Threads
1,224,576
Messages
6,179,639
Members
452,935
Latest member
mm1t1

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