Index Match/Range Names/Indirect

billyshears

Board Regular
Joined
Aug 29, 2013
Messages
61
Worksheet A I have a range named "CODE"
Worksheet A i have a range named "PRICE"

on Worksheet B, I want to have an index/match formula that will result in an answer from the "PRICE" range based on a variable that matches with data in "CODE". I tried using the following but it does not seem to work:

What am I doing wrong?
=INDEX(INDIRECT(PRICE),MATCH(D15,(INDIRECT(CODE))))
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
The Index/Match function is similar to other lookup functions in that it returns one value from a table based on the lookup value. Not sure why you need to use INDIRECT here, as it can just be:

=INDEX(PRICE,MATCH(D15,CODE,0))
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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