see tony's solution.....or my revision..... Because RIGHT function returns text

=RIGHT(A1) will never equal 1, it will be "1"