Need Help with a Formula

P

patele

Hello,

Trying to come up with a formula which would do - if A through E =Y
then H = YES else NO

i started with this but it does not work. =IF((E2:I2 = y), "YES","NO")


A B C D E H
Y Y Y Y Y
Y Y Y N Y

Thanks for the help!
 
R

Ron Rosenfeld

Hello,

Trying to come up with a formula which would do - if A through E =Y
then H = YES else NO

i started with this but it does not work. =IF((E2:I2 = y), "YES","NO")


A B C D E H
Y Y Y Y Y
Y Y Y N Y

Thanks for the help!

And another method:

This formula must be **array-entered**:

=IF(AND(E1:I1="Y"),"YES","NO")

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl><shift> while hitting <enter>. If you did this
correctly, Excel will place braces {...} around the formula.
--ron
 
R

Rick Rothstein

That will return "Yes" for combinations such as this one (and there are
*lots* more)...

A2="YY"
B2="Y"
C2=""
D2="YY
E2=""
 
D

Domenic

It doesn't look like that's going to be the case. Nevertheless, it
should have been pointed out. Thanks Rick!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top