View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Teethless mama Teethless mama is offline
external usenet poster
 
Posts: 3,718
Default nested if statements

=LOOKUP(A1,{0,30,000.01,60,0001},{0.1,0.15,0.2})*A 1


"tjb" wrote:

I need an if statement that looks at a cell for a value and enters the
following:

if the value in cell A1 is between 0 and 30,000 then enter "A1*0.1"
if the value in cell A1 is between 30,000.01 and 60,000, then enter "A1*0.15"

and so on down the line, I know my limit is seven nested, just not sure how
to phrase the statement