发布网友 发布时间:2022-05-08 08:27
共1个回答
热心网友 时间:2024-01-21 09:18
=IF(A1<0,"金额为负无效",IF(OR(A1=0,A1=""),"零元整",(IF(A1<1,"(人民币)",TEXT(INT(A1),"[dbnum2]G/通用格式")&"元"&IF(INT(A1)*100-INT(A1*100)=0,"整",IF(INT(A1*10)-INT(A1)*10=0,"零"&TEXT((INT(A1*100)-INT(A1*10)*10),"[dbnum2]")&"分",IF(INT(A1*10)*10-INT(A1*100)=0,TEXT(INT(A1*10)-INT(A1)*10,"[dbnum2]")&"角整",TEXT(INT(A1*10)-INT(A1)*10,"[dbnum2]")&"角"&TEXT((INT(A1*100)-INT(A1*10)*10),"[dbnum2]")&"分")))))))