Thanks!! that was exactly what i was looking for, in fact posting a zero when
the conditions are not met is even better.
"Bernard Liengme" wrote:
=IF(AND(A1100,B1<200),C1,"Two conditions not met")
but more realistically
=IF(AND(A1100,B1<200),C1,"")
which give either C1 or makes the cell appear blank
If you are happy with getting zero when the two conditions are not meet, you
can avoid IF
=(A1100)*(B1<200)*C1
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email
"Lman" wrote in message
...
I know how to use an IF statement to return a value from a cell B if cell
A
is true (for example =IF(A1=100,B3,"no value found"). However i need to
compare 2 values and return a 3rd if both values are true. For example, If
cell A is 100 and cell B is <200 then return cell c.