index match formula

sadie_sq

New Member
Joined
Oct 27, 2002
Messages
3
I am trying to write an index match formula. It looks like this.
=INDEX($M$2:$M$5876,MATCH(B4503&C4503,$K$2:$K$5876&$L$2:$L$5876,0))
I have been messing with it, but continue to get N/A. Data is in the cell I am trying to match!!! What is wrong with my formula?? What does the ,0 mean? I followed a formula online. HELP!!!

thanks,
suz
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
On 2002-10-28 09:52, sadie_sq wrote:
I am trying to write an index match formula. It looks like this.
=INDEX($M$2:$M$5876,MATCH(B4503&C4503,$K$2:$K$5876&$L$2:$L$5876,0))
I have been messing with it, but continue to get N/A. Data is in the cell I am trying to match!!! What is wrong with my formula?? What does the ,0 mean? I followed a formula online. HELP!!!

thanks,
suz

Index formulas should be constructed to look at an array or reference and return the row num & col num of that value in the array (i take it yours is array M2:M5876). It looks like you are trying to use the MATCH part to return the row number & column number.

In easy terms...

=INDEX("Look a value up in this range","in this row","in this column")

Your MATCH formulas find the row number & the column number, therefore you will need two... you only have one... it's difficult to say how you should put your formula right, but you'd need it to look something like this I guess,

=INDEX(($M$2:$M$5876,MATCH(B4503,$K$2:$K$5876,0),MATCH(C4503,L$2:$L$5876,0))

...BUT, the second part of your match looks wrong, cos u'd usuall be looking for a COLUMN..i.e. L2:AA2 and you've got another row in there.... hmmmm

Most confusing...

Try to post an example of what you are trying to lookup from where and it will be easier to see what you're rying to achieve & where you going wrong...

Hope this has helped a little bit....
 
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

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