2 Dimensional Lookup using nested v and h lookup

lucaserino

New Member
Joined
Nov 11, 2009
Messages
4
Hi,

I am trying to use two values one table as indexes for rows and columns in the other table so that I can get the value at the interesection of these coordinates.

This is the formula I'm using but it returns a #VALUE! error:

=INDEX(returns2,ROWS(VLOOKUP(A163,returns2,1,1)),COLUMN(HLOOKUP(B163,returns2,1,1)))

It would be much appreciated if someone could put me on the right track!

Many thanks,

Luca
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Try

=INDEX(returns2,MATCH(A163,INDEX(returns2,0,1)),MATCH(B163,INDEX(returns2,1,0)))
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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