Solved

If the statement

Posted on 2012-12-20
3
223 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 250 total points
ID: 38711572
in L3 cell, enter

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

Assisted Solution

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

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

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA User Form Help 21 29
how to add loop into this VBA 3 29
Copying from excel I am getting extra text 11 43
Excel filter on tab not showing any entries? 5 22
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

777 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