如果只有启动&结束MM:SS
Having Excel where I get required hourly down time with only having start & end date time as per the images required any formula or vba command for calculation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请注意,您正在混合输出中的不同类型的数据。值
03:39
是时间值,而60,0
或0,0,0
是十进制的时间值。如果要进行任何计算,则应考虑将所有这些都用十进制。另外,您可以使用CF规则来请参阅所需的值,但实际价值应该是小数。
无论如何,我设法这样做:
将其拖到右和底部。
请注意,我正在使用文本函数强迫格式,因此输出不是数字,而是文本,因此您无法对其进行任何算术。这就是为什么您还应该考虑使用CF规则
,具体取决于您的区域设置,
mm:ss
或0,0
我在公式中使用的掩码可能会有所不同。个人电脑Please, notice you are mixing different types of data in your output. Value
03:39
is a time value while60,0
or0,0
is decimal. You should consider working all of them in decimal if you are going to make any calculations.Also, you could play with CF rules to see the values as you wish, but real value should be decimals.
Anyways, I managed to do it with this:
Drag to right and bottom.
Notice I'm forcing the format with the TEXT function, so the output is not numeric but a text so you cannot do any calculus with it. That's why you should consider using CF rules
Also, depending on your regional setup, masks like
mm:ss
or0,0
that I use in the formulas may be different in your PC