r2输入:
=(TEXT(MID(SUBSTITUTE(TEXT($Q2,"000.00"),".",""),COLUMN(A1),1),"[dbnum2]"))
右拉即可。
="人民币"&IF(B3=INT(B3),NUMBERSTRING(INT(B3),2)&"元整",IF(B3*10=INT(B3*10),NUMBERSTRING(INT(B3),2)&"元"&NUMBERSTRING(INT(B3*10)-INT(B3)*10,2)&"角整",IF(ROUNDDOWN(B3*10-INT(B3)*10,0)=0,NUMBERSTRING(INT(B3),2)&"元零"&NUMBERSTRING(ROUND(B3*100-INT(B3*10)*10,0),2)&"分",NUMBERSTRING(INT(B3),2)&"元"&NUMBERSTRING(INT(B3*10)-INT(B3)*10,2)&"角"&NUMBERSTRING(ROUND(B3*100-INT(B3*10)*10,0),2)&"分")))
R2输入:
=TEXT(MOD(INT($Q2/10^(3-COLUMN(A:A))),10),"[dbnum2]"),右拉下拉填充。