Need Help with a Formula

  • Thread starter Thread starter patele
  • Start date Start date
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!
 
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
 
That will return "Yes" for combinations such as this one (and there are
*lots* more)...

A2="YY"
B2="Y"
C2=""
D2="YY
E2=""
 
It doesn't look like that's going to be the case. Nevertheless, it
should have been pointed out. Thanks Rick!
 
Back
Top