View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Jshendel Jshendel is offline
external usenet poster
 
Posts: 24
Default Using multiple IF statements

Here's why I kept it short:
My real equation:
=IF(OR(AND(SUM(COUNTIF(CO14:CZ14,"S")+(COUNTIF(BE1 4:CD14,"S")))=38,COUNTIF(CF14:CN14,"M")0),(AND(SU M(H14:AI14,AK14,AM14,AO14,AQ14,AS14,AU14,AW14,AY14 ,BA14,BC14)=38,SUM(AL14,AN14,AP14,AR14,AT14,AV14,A X14,AZ14,BB14)<9))),"TGCE","GEL")

I need to insert an IF statement that if a cell is "", return "", else run
the above equation. It works fine if the new equation is false, but if true,
I get the false answer of the above equation.

"Andy Wiggins" wrote:

Can you give an indication of what B is? It might help.

--
Andy Wiggins FCCA
www.BygSoftware.com
Excel, Access and VBA Consultancy
-

"Jshendel" wrote in message
...
No, B is actually a long equation. So the equation you gave me is the
same
one I typed.
Thanks anyway,
Josh

"Andy Wiggins" wrote:

The "B" in your formula ... is that the letter B?
If it is your function might work in this form:
=IF(A1="","",IF(A1="B",True,False))

--
Andy Wiggins FCCA
www.BygSoftware.com
Excel, Access and VBA Consultancy
-

"Jshendel" wrote in message
...
I need an equation that basically says:
If cell is blank ("" (which is a return of a false statement)), do
nothing
and return blank, else run this "IF" equation which has a true and
false
return.

I'm trying something like this, but won't work.
=IF(A1="","",IF(A1=B,True,False))
Is it because there is an equation in the reference cell and not "" ?
The equation I tried returns the false statement of the second equation
and
not "".