Index & Match probelm

njsavage

New Member
Joined
Mar 29, 2005
Messages
19
Hi,

i am having trouble using the index and match functions.

i am working with a spreadsheet wher ei would like to match a number in one col. to find a value in another col with the same row number. i am pasting data into the sheet and the result cells dont seem to work with some data and will with others.

The simple formula

=INDEX($B$2:$B$1002,(MATCH(J2,$A$2:$A$1002,0)))

will index the row number found in the match of col A using the vlaue J2. this number is always returned no matter what the data. the following formula is then used....


=INDEX($B$2:$B$1002,(MATCH(J2-0.02,$A$2:$A$1002,0)))

the variable -0.02 is added to show the difference in values over time. it will decrease to 0.04 then 0.06 etc etc. some of the decrements will work and other will not return the match row number. again, different data will work in some areas but not others.

i can email an example sheet if that would be more helpful..

i have tried increasing the decmial places to 20 to ensure that i am not looking for a number that isnt there. col A doesnt change ever! only col B values will change with different data.

hope you can help
nick
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,195,746
Messages
6,011,412
Members
441,613
Latest member
worksux

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