Index and match function doesn´t work for all cells

vocis

New Member
Joined
Jan 15, 2020
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
Hello,

I would like to compare value in D6 with values in first column of table F10:G25 and when found just write down the value on right side in second column. I tried to use =INDEX(F10:G25,MATCH(D6,F10:F25),2) (cell F7) and then also
=INDEX(G10:G25,POZVYHLEDAT(D6,F10:F25,0),1) (which is G7), but in first case (F7) it shows correct values up to number 0.65 a writes number 275 but from value 0.7 (that should be 308) writes value above again 275, for 0.75 it writes again value one cell above 308 and value 0.8 writes one above 347 instead of 394. With function on F7 the values are correct also up to 0.65 and for 0.7 and above NOT_AVALABLE.

Can someone please help me?
Here is the sheet: Gofile - File sharing platform, anonymous and free
(Please note that it was written in czech so you might need to convert it into English version, we use ; for , and function MATCH is POZVYHLEDAT)

Thank you!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
try

=vlookup(D6,F10:G25,2,0)

or

=INDEX(F10:G25,MATCH(D6,F10:F25,0),2)

for both you need the ,0 for exact match
 
Upvote 0
Thank you for the answer but it seems it again works only up to value 0.65 then for 0.7, 0.75 and 0.8 shows NOT_AVAILABLE (NENÍ_K_DISPOZICI)
see pics
 

Attachments

  • pic 1.png
    pic 1.png
    63.4 KB · Views: 7
Upvote 0
it's probably a rounding off problem, to test it try clear 0.7 in Cells D6 and F23 then input 0.7 manually to see if it's the problem
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,216
Members
448,876
Latest member
Solitario

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