Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

If the statement

Posted on 2012-12-20
3
Medium Priority
?
264 Views
Last Modified: 2012-12-20
In cell H3, I3, J3 and K3 I have either a "Yes" or "No". In Cell L3 I want it to say "Yes" if any of the 3 say "Yes". If none say "yes" I want cell L3 to say "no". Any idea?
0
Comment
Question by:cansevin
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
traoher earned 1000 total points
ID: 38711572
in L3 cell, enter

=IF(AND(H3 ="yes",I3="yes",J3="yes"),"yes","no")
0
 
LVL 35

Assisted Solution

by:Norie
Norie earned 1000 total points
ID: 38711581
Try this.

=IF(COUNTIF(H3:J3, "yes")>0, "yes", "no")
0
 
LVL 35

Expert Comment

by:Norie
ID: 38711747
cansevin

The formula in the accepted solution will only return 'yes' if every cell in H3:J3 has 'yes' in it.

Is that what you wanted?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question