Trying to do the equivalent of a range lookup with VLOOKUP
in Excel.
I have a list of boat lengths, and want to calculate fees based on what range they fall into.
Say I had the following cost structure in one of my tables:
| Boat Length | Fee |
======================
| 0 - 10 | $10 |
| 10 - 20 | $25 |
| 20 - 30 | $40 |
| 30 - 50 | $80 |
| > 50 | $100 |
If I had a boat length of 25 feet, I should be able to lookup in the cost table, and get $40
Thanks!