Forum Discussion
mehoop
Dec 12, 2020Copper Contributor
Formula not working for me
I am trying to get my spreadsheet to count how many zip codes that I have that are ">=" to a certain cell but "<=" another cell with the following formula and it is not working. =COUNTIFS(G2:G302...
SergeiBaklan
Dec 12, 2020Diamond Contributor
Why not, ="600-2000">"600-1999" returns TRUE
sankalp_parmar
Dec 13, 2020Copper Contributor
SergeiBaklan Because both are treated as text value. Although if you put "600-2000">"600-1999" , it returns true, it does not mean that 1st one is actually greater than 2nd. Lets take "A" and "B" and put formula in a cell as ="B">"A" . This will give True because in alphabets B comes after A. In simiar manner "600-2000">"600-1999". Its more of sorting
- SergeiBaklanDec 13, 2020Diamond Contributor
It's more about binary representation of data