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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

WillR

Well-known Member
Joined
Feb 18, 2002
Messages
1,143
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....
 

Forum statistics

Threads
1,144,510
Messages
5,724,784
Members
422,579
Latest member
Lekha mohanty

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
Top