Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Add multiple condition in one cell in Excel

I’m trying to add multiple conditions in one cell

I’m doing this:

=SI(OU(A3=$A$1;A3>$A$1);"OK");SI(ET(A3<$A$1;B3<>0);"Nope");SI(OU(B3=0;B3="");"SO")

I don’t understand where is my problem ?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

Someone can explain me

>Solution :

Every IF statement needs a TRUE and FALSE value for a condition. Your parentheses are in the wrong spots; you have to nest the IFS like this:

=SI(OU(A3=$A$1;A3>$A$1);"OK";SI(ET(A3<$A$1;B3<>0);"Nope";SI(OU(B3=0;B3="");"SO";"Omelet du fromage")))

Or in English:

=IF(OR(A3=$A$1;A3>$A$1);"OK";IF(AND(A3<$A$1;B3<>0);"Nope";IF(OR(B3=0;B3="");"SO";"Omelet du fromage")))

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading