If Statement!!

  • Thread starter Thread starter PaulOakley
  • Start date Start date
P

PaulOakley

Hello,

I have an excel dilemma. Basically i need an advanced IF statement.
It needs to look at a cell first and if that Cell is greater than the
number one it needs to return fail for the whole formula, if it is less
than one it needs to check another field and if that is one or less it
will return a 'pass'.

This is how i think it should look,

=IF(D15>1,"Fail", IF(F15>1, "Pass"))

I think im wrong though!!

Thanks in advance for your help!
 
one <if> is more than enough.
you may do it this way:
=if(d15>criteria,"fail", "pass")
to read: id d15 is bigger than whatever then write a fail otherwise write a
pass.
 
Hi

One problem is that if the first IF is TRUE, it will not get to the second
IF. What happens if D15<1 and F15 <1? What if D15>1 and F15>1?

Food for thought.

Andy.
 
Hello,

I have an excel dilemma. Basically i need an advanced IF statement.
It needs to look at a cell first and if that Cell is greater than the
number one it needs to return fail for the whole formula, if it is less
than one it needs to check another field and if that is one or less it
will return a 'pass'.

This is how i think it should look,

=IF(D15>1,"Fail", IF(F15>1, "Pass"))

I think im wrong though!!

Thanks in advance for your help!


=IF(D15<=1,IF(F15<1,"Pass","Undefined"),"Fail")




--ron
 
Hi,

Im still having problems with this, I have attached a zip file of the
document to try and show the problem more clearly, I have annotated the
sheet. Its really difficult trying to explain the problem in words!

Thanks in advance for your help,

Paul


+-------------------------------------------------------------------+
|Filename: Audit.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4547 |
+-------------------------------------------------------------------+
 
Thanks guys, works perfectly cheers for your help, and preventing a fis
and a monitor coming into contact!

Cheers

Pau
 
Back
Top