Hi
Does this work for you? Assumes your value is in A1 without the check digit and will return the check digit in the cell where you enter the formula. It needs to be entered with Ctrl+Shift+Enter:
=MOD(1000-SUM(IF(MOD(ROW(INDIRECT("1:"&LEN(A1&0))),2)=1,--MID(A1&0,1+LEN(A1&0)-ROW(INDIRECT("1:"&LEN(A1&0))),1),MOD(2*MID(A1&0,1+LEN(A1&0)-ROW(INDIRECT("1:"&LEN(A1&0))),1),10)+INT(2*MID(A1&0,1+LEN(A1&0)-ROW(INDIRECT("1:"&LEN(A1&0))),1)/10))),10)
Richard