公式有点复杂,且如果数字0只有一个,只有放在最前面或最后面。如图,公式:
B1=SUBSTITUTE(SUM(IFERROR((FREQUENCY(-MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1),-MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))=1)*MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1),0)*10^((LEN(A1)+1-ROW(INDIRECT("1:"&LEN(A1)+1))))),0,"")&IF(LEN(A1)-LEN(SUBSTITUTE(A1,0,""))=1,0,"")
同时按Ctrl+Shift+Enter三键输入数组公式,下拉