nested And function within IF

AnnaL

New Member
Joined
May 8, 2011
Messages
2
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
WHY to YOU USE 26<=A7 in function below<o:p></o:p>
<o:p> </o:p>
=IF(AND(AND(26<=A3,A3<=46),B3="M",C3="S"),"yes","no") <o:p></o:p>
<o:p> </o:p>
THE SAME RESOUTL WITH <o:p></o:p>
<o:p> </o:p>
=IF(AND(AND(A7<=46,A7>=26),B7="M",C7="S"),"YES","NO")<o:p></o:p>
<o:p> </o:p>
can someone please explain that for me <o:p></o:p>
thank you
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
The conditions ae the same in both case. That is, you changed the order but not the condition.

26<=A3: A3 must be lager than or equal to 26

A7>=26 is the same as 26<=A7: must be lager than or equal to 26.

The same is true for the other conditions
 
Upvote 0
The conditions ae the same in both case. That is, you changed the order but not the condition.

26<=A3: A3 must be lager than or equal to 26

A7>=26 is the same as 26<=A7: must be lager than or equal to 26.

The same is true for the other conditions

Thank you
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,555
Members
452,928
Latest member
101blockchains

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