jl.*_*jl. 21 excel excel-formula
假设我有2个时间戳日期:
任何人都可以建议我应该在Excel中使用什么功能来获得小时和分钟的差异?
谢谢.
a'r*_*a'r 29
小时差异:
=(A2-A1)*24
Run Code Online (Sandbox Code Playgroud)
分钟差异:
=(A2-A1)*24*60
Run Code Online (Sandbox Code Playgroud)
小时和分钟的差异:
=TRUNC((A2-A1)*24) - the hours portion
=MOD((A2-A1)*24*60,60) - the minutes portion
Run Code Online (Sandbox Code Playgroud)