=IF(A1="","",IF(ISNUMBER(FIND(0,A1)),"",0)&SUBSTITUTE(SUMPRODUCT(ISERR(FIND(ROW($A$1:$A$9),A1))*ROW($A$1:$A$9)*10^(9-ROW($A$1:$A$9))),0,))
B1公式:=SUBSTITUTE("0123456789",A1,"")