Schmitt trigger resistance
You are correct in that the formula given is wrong. 

For a proper comparator (with open collector output), the upper limit is: - 

\$\dfrac{V_{REF} \cdot R2}{R1+R2}\$

If the device is in fact an op-amp then the upper limit will involve the positive supply rail.