Looking at this purely in a mathematical way, this could do the job.
At the textbox with the running SUM, use this as control source:
=((yourrunningsumnumber/10)-Int(yourrunningsumnumber/10))*10
or shorter:
=yourrunningsumnumber Mod 10
That way, 115 will be shown as 5 and 8768 as 8 (for example):p