ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Putting two formulars together in excel (https://www.excelbanter.com/excel-discussion-misc-queries/170651-putting-two-formulars-together-excel.html)

LINDA

Putting two formulars together in excel
 
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

Putting two formulars together in excel
 
hi,
=IF(A1=0,B1*2,IF(A1:F1=0,0,1))

works in xp
regards
FSt1

"Linda" wrote:

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


Bob Phillips

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




Ron Coderre

Putting two formulars together in excel
 
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)





"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





All times are GMT +1. The time now is 08:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com