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

Excel – if one of three values is true then set true

i do not manage it to make a simple =(IF(OR(…)) formula to get "TRUE" if one of the cells in different columns contains "TRUE"

i`ve tried it with if and or

IF OR formula

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

>Solution :

So this works for me:

Assume A1, B1 and C1 contain False, False and True respectively, then

=or(A1,B1,C1)

in cell D1 will return true.

Then you can expand with if() as so:

=if(or(A1,B1,C1),"Yes","No")

To have Yes or no instead of true and false – True & false are recognized by excel as 1 and 0.

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