在EXCEL中如何将小写金额用函数转换成大写金额并分列

2024年11月17日 19:47
有3个网友回答
网友(1):

r2输入:
=(TEXT(MID(SUBSTITUTE(TEXT($Q2,"000.00"),".",""),COLUMN(A1),1),"[dbnum2]"))
右拉即可。

网友(2):

="人民币"&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)&"分")))

网友(3):

R2输入:
=TEXT(MOD(INT($Q2/10^(3-COLUMN(A:A))),10),"[dbnum2]"),右拉下拉填充。