• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Multi-lookup help with Ranges

VolOdd

New Member
Need some help, see the attached sample table

tableforlookup.png


In the table above, I'm going to have two values that I need to lookup

First value is the "Average Days" (First Column)
Second value is the "Actual Number of Days" (Which will be in a range between "Days Low" and "Days High")
Between the two, it should return the discount.

So, for example
Average Days: 20
Actual Days: 10
Result: 3%

Average Days: 20
Actual Days: 17
Result: 1%

Average Days: 30
Actual Days: 4
Result: 4%

Average Days: 30
Actual Days: 26
Result: 2%

Any help would be appreciated, I'm able to do it with just one input with the LOOKUP function, but the two inputs has me stumped.
 
Eibi!!!!! Thank you, life saver.

Was going down the path of IFERROR,INDEX,MATCH,INDEX ... this is much more elegant.
 
Back
Top