Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 998

IF Formula Greater Than Zero Comparison Returns TRUE For Text Values

$
0
0

I was troubleshooting what I thought was a basic IF formula that I expected to produce a FALSE result. The formula is:

=IF(A1>0,"True value","False value")

The formula is placed in cell C1. When the value of cell A1 is a text value, the result of the IF function is "True value" (without the quotes). I was expecting the result to be "False value" because the value in cell A1 is text. This happens when using obvious text, like a value that contains only letters (like "yellow")!

What is going on? I read this post from a user who conducted his own experiments about this problem. I accept his explanation at face value, but can somebody PLEASE provide a more technical explanation as to why text is considered greater than zero in Excel? My expectation was that Excel would error out when using a greater than comparison operator on text.


Viewing all articles
Browse latest Browse all 998

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom