Re: Check Digit 10
Assuming the check-digit you want in those circumstances is zero...
try this:
=MOD(10-MOD(SUMPRODUCT(--MID(A1,{1,3,5,7,9},1))+SUMPRODUCT(--MID(A1,{2,4,6,8,10},1)*3),10),10)
Also, for reasons I still don't understand, this formula seems to return the correct check-digit:
=A1 - FLOOR(A1 - 1, 9)
Does that help?