Compliments of DLL, in some distant thread:

=A1 - FLOOR(A1 - 1, 9)