bbbuffalo
Board Regular
- Joined
- Apr 14, 2006
- Messages
- 53
I've got a table with the following columns
Quantity, Price, Sub Total, Discount Tier, Discount Amount, Total
If the quantity is between 100 and 200 I want to show a 5% discount in the Discount Tier column
If the quantity is between 201 and 300 I want to show a 7% discount in the Discount Tier column
If the quantity is between 301 and 400 I want to show a 10% discount in the Discount Tier column
If the quantity is between 401 and 500 I want to show a 15% discount in the Discount Tier column
If the quantity is greater than 500 I want to show a 25% discount in the Discount Tier column
I feel like it's a vlookup, but I need for it check multiple conditions as you can see. What is my formula for checking what is in the Quantity field against those discount ranges and returning the correct value to the Discount Tier field?
Quantity, Price, Sub Total, Discount Tier, Discount Amount, Total
If the quantity is between 100 and 200 I want to show a 5% discount in the Discount Tier column
If the quantity is between 201 and 300 I want to show a 7% discount in the Discount Tier column
If the quantity is between 301 and 400 I want to show a 10% discount in the Discount Tier column
If the quantity is between 401 and 500 I want to show a 15% discount in the Discount Tier column
If the quantity is greater than 500 I want to show a 25% discount in the Discount Tier column
I feel like it's a vlookup, but I need for it check multiple conditions as you can see. What is my formula for checking what is in the Quantity field against those discount ranges and returning the correct value to the Discount Tier field?