Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Only pass if two conditions met 1

Status
Not open for further replies.

SnapperHG1

Technical User
Dec 8, 2005
7
GB
Hi folks,

I've tried searching all the forums, etc based upon multiple If statements, and I'm damn sure this is a no brainer but I can't seem to crack it!

If a value is less than span/360 *and* less than 12mm, pass. If not fail.

I seem to be struggling with the AND part.

Help would be really, really appreciated.

Steve
 
You can do it with one IF, by using the AND function.
Code:
=IF(AND(A1<(span/360),A1<12),"Pass","Fail")

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Thankyou so much! Had tried AND from another forum on Eng-Tips I think, but it had AND and If the other way around!

1st week in a new job, so double thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top