Using 'AND' and 'OR' function alongwith 'IF' function

patamey

New Member
Joined
Mar 14, 2016
Messages
7
I am unable to give correct command in excel for a certain condition. My condition is - If a Company is Listed Company then OR even if Its a Public Company but fulfills certain criteria - the result should be "Applicable" else "Not Applicable"

The Formula I am trying is -
=IF(OR(AND($B$3="Yes"),AND($B$2="Public",$B$10>=100000000,$B$14>=1000000000,$B$20>=500000000)),"Applicable","Not Applicable")

In the above case, the Company is not Listed - but its a Public Limited Company satisfying the criteria. But it still gives output as "Not Applicable". Please help me fix the formula.
 
Similar problem guys,

The Logic is if B12= "Listed" OR B11 = "Public" AND either of B19 or B27 is greater than or equal to their respective values OR B11 = "Public" or "Private" AND either of B23 or B29 is greater than or equal to their respective values then the answer should be 'Applicable' else 'Not Applicable'.

How do I formulate this?
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Similar problem guys,

The Logic is if B12= "Listed" OR B11 = "Public" AND either of B19 or B27 is greater than or equal to their respective values OR B11 = "Public" or "Private" AND either of B23 or B29 is greater than or equal to their respective values then the answer should be 'Applicable' else 'Not Applicable'.

How do I formulate this?

Above in red, you didn't specify what values.

Give this a go:

=IF(OR(AND(OR(B12="Listed",B11="Public"),OR(B19>="respective value",B27>="respective value")),AND(OR(B11="Public",B11="Private"),OR(B23>="respective value",B29>="respective value"))),"Applicable","Not Applicable")
 
Upvote 0
Its true for all other criteria. But its not returning with "Applicable" when I select "Listed"

=IF(OR(AND(OR(B12="Listed",B11="Public"),OR(B19>=500000000,B27>=250000000)),AND(OR(B11="Public",B11="Private"),OR(B23>=2000000000,B29>=1000000000))),"Applicable","Not Applicable")
 
Upvote 0
May be this is what you meant:

=IF(OR(B12="Listed",AND(B11="Public",OR(B19>="respective value",B27>="respective value")),AND(OR(B11="Public",B11="Private"),OR(B23>="respective value",B29>="respective value"))),"Applicable","Not Applicable")

Let me know.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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