Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 30th 04, 05:23 AM
Jenna
 
Posts: n/a
Default Nesting If Statement with "AND", "OR" conditions

Hi guys, I'm completely stumped and seeking any suggestions!

Here's what I'm trying to get my cell to do.
If A15=2 and E55="YES" and E56="YES", then the cell says "YES", if one of
those 3 isn't true, then "NO".
But if A15=1 and (E55="YES" OR E56="YES"), then the cell says "YES", if it
doesn't then "NO".

This is what I have in my cell and I just don't know what do with it!
=IF(AND(A15=2,E55="YES",E56="YES"),IF(OR(A15=1,E55 ="YES",E56="YES"),"YES","NO"))

Is it possible to do this all in one cell? I would greatly appreciate any
help!
Sincerely,
Jenna

  #2   Report Post  
Old October 30th 04, 06:03 AM
Biff
 
Posts: n/a
Default

Hi!

Try this:

=IF(AND(A1=2,E5="YES",E6="YES"),"YES",IF(AND(OR
(E5="YES",E6="YES"),A1=1),"YES","NO"))

Biff

-----Original Message-----
Hi guys, I'm completely stumped and seeking any

suggestions!

Here's what I'm trying to get my cell to do.
If A15=2 and E55="YES" and E56="YES", then the cell

says "YES", if one of
those 3 isn't true, then "NO".
But if A15=1 and (E55="YES" OR E56="YES"), then the cell

says "YES", if it
doesn't then "NO".

This is what I have in my cell and I just don't know what

do with it!
=IF(AND(A15=2,E55="YES",E56="YES"),IF(OR

(A15=1,E55="YES",E56="YES"),"YES","NO"))

Is it possible to do this all in one cell? I would

greatly appreciate any
help!
Sincerely,
Jenna
.

  #3   Report Post  
Old October 30th 04, 03:49 PM
Jenna
 
Posts: n/a
Default

Biff ~
Thank you so incredibly much. You don't know how helpful you have been! Ahhh
I'm ecstatic!

Extremely grateful,
Jenna

"Biff" wrote:

Hi!

Try this:

=IF(AND(A1=2,E5="YES",E6="YES"),"YES",IF(AND(OR
(E5="YES",E6="YES"),A1=1),"YES","NO"))

Biff

-----Original Message-----
Hi guys, I'm completely stumped and seeking any

suggestions!

Here's what I'm trying to get my cell to do.
If A15=2 and E55="YES" and E56="YES", then the cell

says "YES", if one of
those 3 isn't true, then "NO".
But if A15=1 and (E55="YES" OR E56="YES"), then the cell

says "YES", if it
doesn't then "NO".

This is what I have in my cell and I just don't know what

do with it!
=IF(AND(A15=2,E55="YES",E56="YES"),IF(OR

(A15=1,E55="YES",E56="YES"),"YES","NO"))

Is it possible to do this all in one cell? I would

greatly appreciate any
help!
Sincerely,
Jenna
.


  #4   Report Post  
Old October 30th 04, 07:46 PM
Biff
 
Posts: n/a
Default

You're welcome and thanks for the feedback.

Biff

-----Original Message-----
Biff ~
Thank you so incredibly much. You don't know how helpful

you have been! Ahhh
I'm ecstatic!

Extremely grateful,
Jenna

"Biff" wrote:

Hi!

Try this:

=IF(AND(A1=2,E5="YES",E6="YES"),"YES",IF(AND(OR
(E5="YES",E6="YES"),A1=1),"YES","NO"))

Biff

-----Original Message-----
Hi guys, I'm completely stumped and seeking any

suggestions!

Here's what I'm trying to get my cell to do.
If A15=2 and E55="YES" and E56="YES", then the cell

says "YES", if one of
those 3 isn't true, then "NO".
But if A15=1 and (E55="YES" OR E56="YES"), then the

cell
says "YES", if it
doesn't then "NO".

This is what I have in my cell and I just don't know

what
do with it!
=IF(AND(A15=2,E55="YES",E56="YES"),IF(OR

(A15=1,E55="YES",E56="YES"),"YES","NO"))

Is it possible to do this all in one cell? I would

greatly appreciate any
help!
Sincerely,
Jenna
.


.



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



All times are GMT +1. The time now is 09:14 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017