Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Putting two formulars together in excel | Excel Discussion (Misc queries) | |||
putting one name under another on a cell | Excel Discussion (Misc queries) | |||
Putting a word into a cell. | New Users to Excel | |||
Putting computer date in cell | Charts and Charting in Excel | |||
Can I put 2 formulars in one cell | Excel Worksheet Functions |