在Excel中减去时间代码

发布于 2025-02-11 12:11:39 字数 235 浏览 0 评论 0原文

我有一个很大的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

终难遇 2025-02-18 12:11:39

这不是一个令人满意的答案,而是解决手头问题的方法:

使用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 timecode 00: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)). Using Format > Cells... I turned the resulting values into a time.

梦晓ヶ微光ヅ倾城 2025-02-18 12:11:39

您确定您在说什么吗?
您有以下时间戳:

00:36:16:15.295

这是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:

00:36:16:15.295

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 form dd:hh:mm:ss.sss (where d 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, where ss: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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文