发布网友 发布时间:2022-04-23 03:09
共2个回答
热心网友 时间:2023-10-12 21:50
text函数
=TEXT(A1,"[DBNUM2]")
比较完整的公式,
=IF(ABS(a1)<0.005,"",IF(a1<0,"负",)&IF(INT(ABS(a1)),TEXT(INT(ABS(a1)),"[dbnum2]")&"元",)&IF(INT(ABS(a1)*10)-INT(ABS(a1))*10,TEXT(INT(ABS(a1)*10)-INT(ABS(a1))*10,"[dbnum2]")&"角",IF(INT(ABS(a1))=ABS(a1),,IF(ABS(a1)<0.1,,"零")))&IF(ROUND(ABS(a1)*100-INT(ABS(a1)*10)*10,),TEXT(ROUND(ABS(a1)*100-INT(ABS(a1)*10)*10,),"[dbnum2]")&"分","整"))
热心网友 时间:2023-10-12 21:50
直接使用 单元格格式 就可以了!
单元格格式-数值-特殊- 中文大写