Forum Discussion

wanalearn's avatar
wanalearn
Brass Contributor
Sep 07, 2022
Solved

I need a formula for this

please see attached

I am trying to get in "cell J1" the bonus amount from column c  based on cell "j10"

column "A" ''B''

see I put in an index Match formula excel returned 16500 instead of 17,000 I don't know why.

Another question 

is the salary  amount  the amount in column A to column B and in-between

so how do I do that excel should understand that it's not the exact number

Example just  83,051 or 86,676 rather it's all the number in between as well

 

  • wanalearn 

    Use

     

    =INDEX(C2:C124,MATCH(J10,A2:A124))

     

    or

     

    =VLOOKUP(J10, A2:C124, 3)

     

    1) We look at the lower bound of each tier instead of the upper bound, i.e. column A instead of column B.

    2) The range in column C must have the same size as the range in column A.

    3) Removing 0 as third argument of MATCH allows for an approximate match instead of an exact match.

  • wanalearn 

    Use

     

    =INDEX(C2:C124,MATCH(J10,A2:A124))

     

    or

     

    =VLOOKUP(J10, A2:C124, 3)

     

    1) We look at the lower bound of each tier instead of the upper bound, i.e. column A instead of column B.

    2) The range in column C must have the same size as the range in column A.

    3) Removing 0 as third argument of MATCH allows for an approximate match instead of an exact match.

Resources