Forum Discussion
JakeZz
Jan 17, 2025Copper Contributor
Why " =TRUE>1" is TRUE
In Excel, I enter the expression "=TRUE > 1" and the result is TRUE, I don't know why? There seem to be some rules, but I can't find any documentation
SergeiBaklan
Jan 17, 2025Diamond Contributor
Texts and Booleans are always "more than" any number. Something like
=--TRUE > 1
=1*TRUE > 1
will return false.
JakeZz
Jan 18, 2025Copper Contributor
Thank you for your answer first,
You are correct that Boolean and text are always greater than numbers
If Boolean is compared to text, whether Boolean is always larger than text, I have found this to be the case in use
thank you
- SergeiBaklanJan 18, 2025Diamond Contributor
You are welcome