Forum Discussion

aayushmanmishra's avatar
aayushmanmishra
Copper Contributor
Dec 02, 2022
Solved

V lookup #NA

PFA data in which if the output is in decimal i.e A24 ; then B24 should automatically round off and calculate as per vlook up and should not result in  #NA.  OR  please let me know the simplified...
  • mathetes's avatar
    Dec 02, 2022

    aayushmanmishra 

     

    You're using VLOOKUP seeking an absolute match; you want the "range match"  and then your table can be a LOT smaller.

    0Less than 50%
    0.5151-60%
    0.6161-70%
    0.7171-80%
    0.81Above 80%
    1Above 80%

     

    And your formula in your column B changes ever so slightly:

    =VLOOKUP(A2,$K$6:$L$11,2,1)

     

    $K$6:$L$11 is where I put it to check it: you can move it anywhere and get rid of your original table. Here's a link where you can learn more of the nuances of VLOOKUP.

Resources