2022-09-04 16:02 阅读 26
如果阿拉伯数字在J20,那么输入以下公式,转换为大写的元角分金额。
=SUBSTITUTE(SUBSTITUTE(IF(-RMB(J20,2),TEXT(J20,";负")TEXT(INT(ABS(RMB(J20,2))),"[dbnum2]G/通用格式元;;")TEXT(RIGHT(RMB(J20,2),2),"[dbnum2]0角0分;;整"),),"零角",IF(J20^2<1,,"零")),"零分","整")