Hi, I would like to ask, if I want cell A2 to display "Failed" if any of the cells B2:B6 displayed "NOT OK" and "Passed" if it doesnt, how do I go about keying in the formula in cell A2?
Many thanks in advance. =)
Hi, I would like to ask, if I want cell A2 to display "Failed" if any of the cells B2:B6 displayed "NOT OK" and "Passed" if it doesnt, how do I go about keying in the formula in cell A2?
Many thanks in advance. =)
=IF(COUNTIF(B2:B6,"not ok"),"failed","passed")
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Many Thanks! =)
@ peaceracer
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself.
Thanks.
Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks