Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Qaspec
 
Posts: n/a
Default conditional formula

I have 3 cells that will return a value of "yes" or "no". In another cell if
any of the other 3 cells has a no I would like it to say "fail", if all 3 are
"yes" I'd like it to say "pass".

A1 yes
B1 no
C1 yes
E2 fail

a1 yes
b1 yes
c1 yes
e2 pass
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

E2: =IF(COUNTIF(A1:C1,"yes")=3,"pass","fail")

In article ,
Qaspec wrote:

I have 3 cells that will return a value of "yes" or "no". In another cell if
any of the other 3 cells has a no I would like it to say "fail", if all 3 are
"yes" I'd like it to say "pass".

A1 yes
B1 no
C1 yes
E2 fail

a1 yes
b1 yes
c1 yes
e2 pass

  #3   Report Post  
 
Posts: n/a
Default


=IF(AND(A1="yes",B1="yes",C1="yes"),"pass","fail")

-----Original Message-----
I have 3 cells that will return a value of "yes" or "no".

In another cell if
any of the other 3 cells has a no I would like it to

say "fail", if all 3 are
"yes" I'd like it to say "pass".

A1 yes
B1 no
C1 yes
E2 fail

a1 yes
b1 yes
c1 yes
e2 pass
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need conditional formatting formula to highlight top ten values i. lightninbug Excel Worksheet Functions 11 January 20th 05 05:33 PM
=IF Statement formula or conditional formatting Abi Excel Worksheet Functions 6 January 18th 05 01:06 PM
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 06:50 PM
How do I do conditional format based on a cell with a formula? Justin Excel Worksheet Functions 9 December 17th 04 02:05 PM
Conditional Formula to search ranges?? adean Excel Discussion (Misc queries) 2 December 13th 04 10:53 PM


All times are GMT +1. The time now is 01:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"