I know the quotation marks create a text string, and I know the ampersand concatenates two text strings or concatenates a cell reference to a text string, but I’m wondering why <= or >= has to be a text string to work in COUNTIF?
If I do an formula like =IF(B3>0,”YES”,”NO”), this works fine, without having to add special characters (i.e. =IF(B3&”>0”,”YES”,”NO).
But for COUNTIF, a formula like =COUNTIF(B1:B5,>0) won’t work unless you make it =COUNTIF(B1:B5,”>0”).
I understand what to do to get the formulas to work, I guess I’m just confused as to WHY the criteria rules for COUNTIF are different from regular IF.
One of my peers is offering a free lunch to anyone who knows the reasoning and they said the hint is "I am old".
Any insight?!
Thanks!
Bookmarks