ExcelBanter

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

LINDA

Putting two formulars together in a cell in excell
 
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,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda


Peo Sjoblom

Putting two formulars together in a cell in excell
 
1. =IF(A1:F1=0,0,1) is not a working formula, it might be that this is what
you intended

=IF(COUNTIF(A1:F1,0)0,0,1)

or maybe


=IF(COUNTIF(A1:F1,0)=6,0,0,1)


Nevertheless you cannot put them together since if A1=0 it fullfills both
formulas criteria given the first formula



--


Regards,


Peo Sjoblom



"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,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda




Jim Rech[_2_]

Putting two formulars together in a cell in excell
 
Check out the answers you got to your post 30 minutes earlier.

--
Jim
"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,IF(A1:F1=0,0,1)). However, it did not work.
Could somebody help me?

Thank you,
Linda




RagDyeR

Putting two formulars together in a cell in excell
 
You have to re-think your logic here.

The first formula states that if A1 equals zero, then perform a calculation.
The second states that if A1, which is included within A1:F1, equals zero,
then do nothing except insert a zero.

Conflicting instructions ! ! !
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"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,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 03:42 PM.

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