INDEX/MATCH problem

sharrison

New Member
Joined
Jan 27, 2006
Messages
17
I am having a nightmare and don't know why!!

I have some data in a spreadsheet as below

898 243
998 268
1048 281

998 #N/A

The bottom cell containing the number 998 is the number that I want to find in the data. This value is taken from another sheet in the same workbook. This number you can clearly see is contained within the data.
The #N/A contains the INDEX/MATCH as below

=INDEX(S105:S107,MATCH(R108,R105:R107,0),1) where S105:S107 is the second column of information, R105:R107 is the first column of information and R108 is the cell containing the value 998.

As far as I am aware this should work and should return the value 268, however it continues to return the error. If I replace the link to the other spreadsheet which gives the 998 value with the value 998 then it finds the value 268.

Does anybody know why this is and how to get round it?
 
Steve, the Validation List source has all numbers as decimals and not just this one. Your above formula would work if you replace it with this one:

=INDEX(S105:S107,MATCH(R108,R105:R107,1),1) will get you the closest match for the number you are looking up !

Enjoy :biggrin:
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,215,593
Messages
6,125,715
Members
449,254
Latest member
Eva146

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