Thread: using IF & AND
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default using IF & AND

Very close but... try this...

=IF(AND(L4=1,SUM(P4,M4)=0),1,"")
--
HTH...

Jim Thomlinson


"xeno" wrote:

I am trying to get "1" to display in a cell if the value of L4 is 1, and the
sum of M4 & P4 is 0.(if this is false i want nothing to display).
I got as far as the following formula, but can't quite seem to get it to work.
Thanks if anybody can tell me the adjustment i need to make



=IF(=AND(L4=1,=SUM(P4,M4)=0))=1,1,"")