Multiple IF, AND conditions to return True/False

avenkat

New Member
Joined
May 15, 2018
Messages
12
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Status[/TD]
[TD]MAL[/TD]
[TD]MQL[/TD]
[TD]SAL[/TD]
[TD]SQL[/TD]
[TD]First associated date[/TD]
[TD]Conditions True/False[/TD]
[/TR]
[TR]
[TD]Raw[/TD]
[TD]10/25/2016[/TD]
[TD]10/10/2016[/TD]
[TD][/TD]
[TD][/TD]
[TD]10/10/2016[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Pursuing[/TD]
[TD]1/12/2017[/TD]
[TD][TABLE="width: 345"]
<tbody>[TR]
[TD="class: xl63"]4/18/2017[/TD]
[TD="class: xl63, width: 111"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]4/18/2017[/TD]
[TD][/TD]
[TD]2/28/2018[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

So these being my columns, I need a To fill the last column with conditions that satisfy

1) IF (AND(MQL<=MAL,MQl=Firstassocaited date),OR(Status="Raw","Rejected","Unqualified"),TRUE,FALSE)
For some reason this formula return with a a FALSE for everything (see first data set where the conditions are met!)
2) IF(AND(SAL<=MQL,SAL<=Firstassocaited date, MQL>MAL,Status=Pursuing),TRUE,FALSE)

Not sure if this formula makes sense .
I need to know if the conditions satisfy via dates and status is reflecting the process is followed then true else false.


Thanks so much for any pointers
 
Thank you ,
This works very well indeed.

You're welcome.

I must have had a brain freeze earlier, since I'm using INT in my formula, VALUE was Not needed, updated formula here:

ABCDEFGHI
Contact StatusMember First
Associated Date
Timestamp
Lifecycle MAL
Timestamp
Lifecycle MQL
Timestamp
Lifecycle SAL
Timestamp
Lifecycle SQL
Timestamp
Lifecycle SAO
Timestamp
Lifecycle SQO
MAL Stage
Rejected
Unqualified
Pursuing
Rejected

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]

[TD="align: right"]10/10/2017 0:00[/TD]
[TD="align: right"]10/25/2017 10:56[/TD]
[TD="align: right"]10/10/2017 11:05[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]TRUE[/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]11/14/2017 0:00[/TD]
[TD="align: right"]11/16/2017 7:24[/TD]
[TD="align: right"]11/14/2017 10:51[/TD]
[TD="align: right"]11/16/2017 7:24[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]TRUE[/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]1/11/2018 0:00[/TD]
[TD="align: right"]1/11/2018 5:45[/TD]
[TD="align: right"]1/11/2018 5:45[/TD]
[TD="align: right"]1/11/2018 9:33[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]FALSE[/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]11/22/2017 0:00[/TD]
[TD="align: right"]11/27/2017 11:55[/TD]
[TD="align: right"]11/22/2017 16:33[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]TRUE[/TD]

</tbody>
Sheet72

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]I2[/TH]
[TD="align: left"]=OR(AND(INT(D2)<=INT(C2),INT(D2)=INT(B2),OR(A2={"Rejected","Raw","Unqualified"})),AND(INT(E2)<=INT(D2),INT(D2)>INT(C2),INT(D2)=INT(B2),OR(A2={"Pursuing","Restored","New"})))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You're welcome, glad it worked for you.
 
Upvote 0

Forum statistics

Threads
1,223,386
Messages
6,171,793
Members
452,425
Latest member
Notrom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top