View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
L. Howard L. Howard is offline
external usenet poster
 
Posts: 852
Default IF,AND,OR formula

Can't figure which combo of IF/AND, IF/OR, IF/AND/OR to use and not able to get the logic straight in the formula.

N2 is a weight price from an INDEX/MATCH formula
N3 is the MIN price to be charged for N2
N4 is the MAX price to be charged for N2

If N2 is less than MIN then MIN
If N2 is greater than MAX then MAX
If N2 = Min OR N2 <= MAX then N2 (N2 is between MIN and MAX inclusive)

Thanks,
Howard