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
FSt1 - 24 Dec 2007 14:46 GMT
hi,
=IF(A1=0,B1*2,IF(A1:F1=0,0,1))
works in xp
regards
FSt1
> 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
[quoted text clipped - 4 lines]
> Thank you,
> Linda
Bob Phillips - 24 Dec 2007 14:51 GMT
=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)

Signature
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
>I need to put two formulars together in a cell in my excel's worksheet.
>For
[quoted text clipped - 5 lines]
> Thank you,
> Linda
Ron Coderre - 24 Dec 2007 14:53 GMT
Can describe what you want to do?
The second formula test 6 cells. Do you want to know if ALL of them =0?
How do you want the two formulas to interact?
--------------------------
Regards,
Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
>I need to put two formulars together in a cell in my excel's worksheet.
>For
[quoted text clipped - 5 lines]
> Thank you,
> Linda