Question : Vlookup (ish) on a range.

Hello.

I have a number which represents a quantity.

On a tab, I have a list (retrieved from a database) of break points and descriptions and percentage discounts.

On the main page shows I want to show how many they have ordered and the current discount they will get.

I also want to show the next break point, how many off they are and what discount they will get.

I've attached a demo spreadsheet which is correctly determining the appropriate discount, but I can't work out how to get the next quantity break.

 
DemoQtyBreaks
 

Answer : Vlookup (ish) on a range.

See attached. I assumed that if there were no subsequent breakpoint, you just wanted the same one returned.
 
 
Random Solutions  
 
programming4us programming4us