I want to test if a value falls between a range of numbers and then give me the resulting value assigned to that range. This is for a shipping tariff. For example:
Weight = 2000 lbs
Weight Range Rates
0 - 1500 lbs = $19
1501 - 2500 lbs = $38
2501 - 3500 lbs = $76
I want to look up the value "2000" and it should return a value of "$38"
What is the easiest way to accomplish this? My first thought was to use VLOOKUP and create a table containing every value but this would lead to a table with over 10,000 lines. There seems to me that there must be an easier method to accomplish this.
Weight = 2000 lbs
Weight Range Rates
0 - 1500 lbs = $19
1501 - 2500 lbs = $38
2501 - 3500 lbs = $76
I want to look up the value "2000" and it should return a value of "$38"
What is the easiest way to accomplish this? My first thought was to use VLOOKUP and create a table containing every value but this would lead to a table with over 10,000 lines. There seems to me that there must be an easier method to accomplish this.