在Excel中减去时间代码
我有一个很大的CSV,其中包含头部移动数据,我需要与录音结合使用。 CSV中的时间代码在0开始时不会开始,因此我需要从所有条目中减去启动时间。
起始时间代码看起来像:00:36:16:15.295
有点混乱,我不确定每个数字表示什么。它们都达到59,除了点之后的零件,该部分转到999。
如何使该列以00:00:00:00:00:00.000
的时间启动?
I've got a big csv with head movement data that I need to combine with an audio recording. The timecode in the csv doesn't start at 0, so I need to subtract the starting time from all entries.
The starting timecode looks like: 00:36:16:15.295
It's a bit confusing, I'm not certain what each number signifies. They all go to 59, except the part after the dot, which goes to 999.
How do I make the column start at a timecode of 00:00:00:00.000
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这不是一个令人满意的答案,而是解决手头问题的方法:
使用
data>文本到列...
我将时间码00:36:16:16:15.295
分为四个单独的列:00 | 36 | 15 | 15.295
。然后,我删除了最后一列,并使用以下公式创建了一个新列:
= time(a3,sum(b3,-36),sum(c3,-16))
。使用格式>单元格...
我将结果值变成了一个时间。This is not a satisfying answer, but it is a solution to the problem at hand:
Using
Data > Text to Columns...
I split the timecode00:36:16:15.295
into four separate columns:00 | 36 | 15 | 15.295
.I then deleted the last column and created a new column with the following formula:
=TIME(A3,SUM(B3,-36),SUM(C3,-16))
. UsingFormat > Cells...
I turned the resulting values into a time.您确定您在说什么吗?
您有以下时间戳:
这是
xx:xx:xx:xx.xxx
。大多数时间戳均为
hh:mm:ss.sss
,但是您似乎还有一个额外的时间,因此似乎认为它是dd:hh:hh:mm:ss的形式.sss
(其中d
代表“天”)。但是您说您的小时数可能会达到59,这没有任何意义。因此,我认为您正在处理表格
hh:MM:SS:SSSSS
,其中ss:ss.sss
代表几秒钟,数百秒和数十万秒(这只是一种极端准确性的情况)。这将解释为什么第一个条目可能会达到59。
这也意味着第二个最后一个条目(在您的情况下为15个)可能会达到99,而不是59。您可以检查这是真的吗?
Are you sure about what you are saying?
You have the following timestamp:
This is of the form
xx:xx:xx:xx.xxx
.Most timestamps are of the form
hh:mm:ss.sss
, but you seem to have an extra one, so seem to think that it is of the formdd:hh:mm:ss.sss
(whered
stands for "days"). But then you say that your amount of hours might go up to 59, which makes no sense.So I would think that you are dealing with the form
hh:mm:ss:ss.sss
, wheress:ss.sss
stands for seconds, hundreds of seconds, and hundred thousands of seconds (it's just a case of extreme accuracy).This would explain why the first entry might go up to 59.
It also means that the second last entry (15 in your case) might go up to 99, instead of 59. Can you check if this is true?