Excel IF AND functions

bruce21

New Member
Joined
Oct 25, 2018
Messages
13
Hello,

I have 3 conditions:

If a=no, b=no, c=yes then I want d to show ""
If a=no, b=no, c=no, then I want d to show "inop"
If a=no, b=no, c="", then I want d to show "inop"

If can write IF And statement for the first 2 conditions but I am having problems try to add the last condition to the formula. Any ideas?

abcd
nonoyes
nononoinop
nonoinop

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Perhaps something like this:

=IF(AND(A1="no",B1="no",C1="yes"),"",IF(OR(AND(A1="no",B1="no",C1=""),AND(A1="no",B1="no",C1="no")),"inop",""))
 
Upvote 0
I have 3 conditions:

If a=no, b=no, c=yes then I want d to show ""
If a=no, b=no, c=no, then I want d to show "inop"
If a=no, b=no, c="", then I want d to show "inop"
If those really are the only three possibilities that you may have, you could use this simple formula:
Code:
=IF(C1="yes","","inop")
 
Upvote 0
Can C be anything other than yes no or empty, if not then the formula can be simplified further
 
Upvote 0

Forum statistics

Threads
1,216,743
Messages
6,132,462
Members
449,729
Latest member
davelevnt

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