如何把46个月换算成*年*个月
如表想在Q4中把P4的46个月转化成G4的样式
=INT(LEFT(P4,FIND("个",P4)-1)/12)&"年"&MOD(LEFT(P4,FIND("个",P4)-1),12)&"个月" =ROUNDDOWN(P4/12,0)&"年"&P4-ROUNDDOWN(P4/12,0)*12&"个月" =SUBSTITUTE(TEXT(SUBSTITUTE(P4,"个月",)/12,"0年0个月/12"),"/12",) =INT(SUBSTITUTE(P4,"个月",)/12)&"年"&MOD(SUBSTITUTE(P4,"个月",),12)&"个月" =INT(SUBSTITUTE(46,"个月","")/12)&"年"&MOD(SUBSTITUTE(46,"个月",""),12)&"个月" =TEXT(DOLLARFR(LEFT(O4,LEN(O4)-2)/12,12)/1%,"0年00个月") 我只想问问,你楼层里的背景咋弄的? =INT(SUBSTITUTE(P4,"个月",)/12)&"年"&MOD(SUBSTITUTE(P4,"个月",),12)&"个月" 回复可以设置背景色喔