SOLVED

Or Statement

Copper Contributor

I have the following statement

=IF(OR(H3="0", H3="FALSE"),"False","True")

 

It will work if the cell says True but, not if the cell says FALSE or 0. What am I doing wrong?

 

Nefe1930_0-1708031316984.png

 

2 Replies
best response confirmed by mathetes (Silver Contributor)
Solution

@Nefe1930 

TRUE and FALSE are not text values, but Boolean values, You can use

 

=NOT(OR(H3=0,NOT(H3)))

 

or

 

=AND(H3<>0,H3)

 

Awesome that did it!!! Thanks!

1 best response

Accepted Solutions
best response confirmed by mathetes (Silver Contributor)
Solution

@Nefe1930 

TRUE and FALSE are not text values, but Boolean values, You can use

 

=NOT(OR(H3=0,NOT(H3)))

 

or

 

=AND(H3<>0,H3)

 

View solution in original post