Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MEJ
 
Posts: n/a
Default IF, AND, OR conditions?

I need M1 to answer "Y"(yes) if several logical conditions are met. I
already have this:
=IF(AND(Q155,L124,P1=""),"Y","")

but I also need M1 to answer "Y" if the following is true (i.e., it would be
an "or" statment in logics).
=IF(AND(Q160,L114,P1="Y"),"Y","")

How do I combine them?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(OR(AND(Q155,L124,P1=""),AND(Q160,L114,P1=" Y"))"Y","")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"MEJ" .(donotspam) wrote in message
...
I need M1 to answer "Y"(yes) if several logical conditions are met. I
already have this:
=IF(AND(Q155,L124,P1=""),"Y","")

but I also need M1 to answer "Y" if the following is true (i.e., it would

be
an "or" statment in logics).
=IF(AND(Q160,L114,P1="Y"),"Y","")

How do I combine them?



  #3   Report Post  
bj
 
Posts: n/a
Default

=IF(or(AND(Q155,L124,P1=""),AND(Q160,L114,P1=" Y")),,"Y","")


"MEJ" wrote:

I need M1 to answer "Y"(yes) if several logical conditions are met. I
already have this:
=IF(AND(Q155,L124,P1=""),"Y","")

but I also need M1 to answer "Y" if the following is true (i.e., it would be
an "or" statment in logics).
=IF(AND(Q160,L114,P1="Y"),"Y","")

How do I combine them?

  #4   Report Post  
Jason Morin
 
Posts: n/a
Default

One way:

=IF(OR(AND(Q155,L124,P1=""),AND
(Q160,L114,P1="Y")),"Y","")

HTH
Jason
Atlanta, GA


-----Original Message-----
I need M1 to answer "Y"(yes) if several logical

conditions are met. I
already have this:
=IF(AND(Q155,L124,P1=""),"Y","")

but I also need M1 to answer "Y" if the following is

true (i.e., it would be
an "or" statment in logics).
=IF(AND(Q160,L114,P1="Y"),"Y","")

How do I combine them?
.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
More than 3 Conditional Formatting Conditions Beth H Excel Worksheet Functions 12 January 6th 06 07:35 PM
How do I count number of cels the matches 2 conditions ? Abra Excel Worksheet Functions 2 February 27th 05 08:56 PM
SUM based on multiple conditions - SORRY, URGENT!!! marika1981 Excel Worksheet Functions 4 February 18th 05 11:13 AM
How to multiple conditions to validate more than 2 conditions to . Bhuvana Govind Excel Worksheet Functions 1 January 28th 05 07:07 PM
average on 2 conditions Ted Metro Excel Worksheet Functions 6 January 7th 05 08:23 PM


All times are GMT +1. The time now is 12:16 AM.

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

About Us

"It's about Microsoft Excel"