Hi
I have a simple VLookup function it searches a 2 column table with 1000 rows. the first row is 0 - 100 in increments of 0.1 this corresponds to solution concentration. The second row is density. The lookup function is supposed to return the density (row 2) from the solution concentration (row 1). It does this up to a value of 16.2 where it then for some reason assumes that 16.2 is not equal to 16.2 and continues to give the value for 16.1. This error causes a shift where from this point onwards it provides a value equal to cell above the one it should look at. This was tested by using true and false command (at the end of the function), where false reads NA at and after 16.2 but was reading correctly from 0 -16.1.
Oddly when fault finding, if I run the same vlookup function as another row on the table where it looks at the solution concentration on the same row and calls back the density. This created a third column identical to solution concentration as expected, so here it works fine. But when using VLookup as it is intended, where the user can enter a value and it provides a value from the same row in the table its looking in, it has this fictitious rounding error.
I have changed the type of data in first column from number to text back to general and the error is consistent. This is causing a compounding problem for me in a much more complicated model do you have any advice on this. I can happily send you the file.
Thank you for your time.
Joel