# 2010 Excel Vlookup works fine except on item search

Hello,

=IF(VLOOKUP(A1117,'Historical Detail'!\$A\$2:\$E\$96,5,FALSE),VLOOKUP(J1117-0.02,Grid,2,FALSE),IF(ISNUMBER(MATCH(J1117,Payouta,0)),VLOOKUP(J1117,Grid,2,FALSE),VLOOKUP(J1117,OffGrid,2,FALSE)))

I am at wits end because this problem makes no sense!

The above formula works great except in 1 scenario: a rate of 82% on which the 2% is subtracted.  The 2nd vlookup does not seem to see the 80% on the Grid.  It sees it when it doesn't have to subtract and it sees it for every other number of the Grid--there are 10 lines on the grid and 91 other instances where the Grid works.   Any suggestions as to why this won't work?

I have made sure the Historical Detail range includes the 2 instances and copied the formatting from other cells in the Grid.

On the Function Arguments window for the 2nd vlookup, is there a way to expand the items shown in the window?

Thank you.

Pat
Saurabh Singh Teotia

Try to use this way...

``=IF(VLOOKUP(A1117,'Historical Detail'!\$A\$2:\$E\$96,5,FALSE),VLOOKUP(round(J1117-0.02,0),Grid,2,FALSE),IF(ISNUMBER(MATCH(J1117,Payouta,0)),VLOOKUP(J1117,Grid,2,FALSE),VLOOKUP(J1117,OffGrid,2,FALSE)))``

Saurabh...

Round didn't help, Saurabh, but thank you for responding.

The 2nd vlookup does the math correctly to get to 80%, it just doesn't find it on the grid.  Could the fact that there is an 82% on the grid be causing the problem?

Pat
Is it possible to have a look over sample file?? Because without looking over it's hard to say whats really happening..

Here is the document.

Here is the document.
Sample-Summary-Qtrly-Report.xlsx
Can you help me connect which value is it that you get an error?? Also tell me the guy name because your assumptions changes for each guy...

The names that don't work are:  Don Tho, Louise and Ever (pg 24).  The Level for these should come up at 1,300 rather than #N/A.
Saurabh Singh Teotia

membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.