用Excel统计学生成绩,60分及60分以上的记为10分,60分以下的按百分之十计算,且四舍五入。谢谢
1个回答
展开全部
假设数字在a1
=substitute(substitute(if(round(a1,)>-0.5%,,"负")&text(int(abs(round(a1,))+0.5%),"[dbnum2]g/通用格式元;;")&text(right(fixed(round(a1,)),2),"[dbnum2]0角0分;;"&if(abs(round(a1,))>1%,"整",)),"零角",if(abs(round(a1,))<1,,"零")),"零分","整")
=substitute(substitute(if(round(a1,)>-0.5%,,"负")&text(int(abs(round(a1,))+0.5%),"[dbnum2]g/通用格式元;;")&text(right(fixed(round(a1,)),2),"[dbnum2]0角0分;;"&if(abs(round(a1,))>1%,"整",)),"零角",if(abs(round(a1,))<1,,"零")),"零分","整")
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |