View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.charting
Don Guillett
 
Posts: n/a
Default if and and statements

Look in the help index for AND
=and(condition1,condition2)
=and(condition1,condition2,condition3)

AND get rid of your + at the start of a formula
),+A1*4*2,IF
),A1*4*2,IF
--
Don Guillett
SalesAid Software

"Combining multiple if & and statements" <Combining multiple if & and
statements @discussions.microsoft.com wrote in message
...
Looking for help with a 2 x 4 matrix with the following conditions

A1 B1 C1
Answer
3 0 1
A1*4+2
3 0 2
0
3 1 1
A1*2+1
3 1 2
0

=IF(AND(B1=0,C1=1(AND(B1=0,C1=2),0,IF(AND(B1=1,C1= 0),+A1*2+1,IF(AND(B1=1,C1=2),0,""))))

This turns up as FALSE. Makes no sense? maybe brackets around formula?

PS--- I could simplify by using the "0" for any case where c1 is 2; BUT,
first I would like to get this to work.

Any Ideas?

Thanks