如何将时间增加 2 小时 30 分钟
How to increment time by 2 hours 30 min
单元格 A1 的值为 Sat 10/17/2015 3:46 PM
。我想为其添加 2 小时 30 分钟,因此单元格 B1 中的值应为:Sat 10/17/2015 6:16 PM
。
我尝试在 B1 中使用这个公式:
=A1+TIME(2,30,0)
但它 returns #VALUE!
。
我需要做什么才能达到Sat 10/17/2015 6:16 PM
?
请尝试:
=DATEVALUE(MID(A1,4,18))+TIMEVALUE(RIGHT(A1,8))+5/48
格式为:
ddd mm/dd/yyyy hh:mm AM/PM
单元格 A1 的值为 Sat 10/17/2015 3:46 PM
。我想为其添加 2 小时 30 分钟,因此单元格 B1 中的值应为:Sat 10/17/2015 6:16 PM
。
我尝试在 B1 中使用这个公式:
=A1+TIME(2,30,0)
但它 returns #VALUE!
。
我需要做什么才能达到Sat 10/17/2015 6:16 PM
?
请尝试:
=DATEVALUE(MID(A1,4,18))+TIMEVALUE(RIGHT(A1,8))+5/48
格式为:
ddd mm/dd/yyyy hh:mm AM/PM