Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果一个人的月龄是 140 岁,我该如何计算年和月的年龄?
例如,我想看看:
11 年 8 个月
要获得月份:=MOD(140,12)
=MOD(140,12)
要获得年份:=ROUNDDOWN(140/12,0)
=ROUNDDOWN(140/12,0)
把它放在=ROUNDDOWN($A$1/12,0) & " Years " & MOD($A$1,12) & " Months"$A$1 持有价值的地方 (140)。
=ROUNDDOWN($A$1/12,0) & " Years " & MOD($A$1,12) & " Months"