View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Putting two formulars together in excel

=IF(A1=0, B1*2,IF(A1:F1=0,0,1))

although it is not clear (to me) what the second is doing. Is it just
counting any with a value, if so I would use

=IF(A1=0, B1*2,--(COUNTA(A1:F1)0)


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Linda" wrote in message
...
I need to put two formulars together in a cell in my excel's worksheet.
For
example, =IF(A1=0, B1*2,1) and =IF(A1:F1=0,0,1). I need to put these two
formulars together in a cell. What is the exact way I should put them? I
have tried =IF(A1=0,B1*2,1,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda