=SUMPRODUCT(CODE(MID(A1, ROW(INDIRECT("1:" & LEN(A1))), 1)) * 10^(LEN(A1) - ROW(INDIRECT("1:" & LEN(A1)))))