View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default Creating a sliding scale discount

=IF(A1="","",LOOKUP(A1,{1,6,21,51},{"X","Y","W","Z "}))


"JonathanW" wrote:

Hi,
I am trying to work out a formula for creating a sliding scale discount. I'm
trying to create a pricing calculator spreadsheet for a printing company. If
you buy 1 -5 copies the price is X, 6-20 copies the price is Y, 21-50 copies
the price is W and so on. What is the best way of entering a number and
returning the relevant discount amount?
Thanks