Forum Discussion
Film Frame Calculations
Pamela Harvey-White A friend had the same issue and asked for my help to calculate the duration between two cells in hh:mm:ss:ff (ff being the frames) format. I've created a formula that does the trick with precise results. It first subtracts hh:mm:ss and then adds the frames. If the subtraction between frames is less than 0, it subtracts a second and then adds the frames. Then it trims the text to ensure negative values aren't preceded by a minus sign.
This thing is not allowing me to attach files, so I'll just paste the formula here. In a table which has the starting time in cell A2 and the ending time in cell B2, it would go like this, with the duration in C2:
A2: 00:02:08:19
B2: 00:02:37:18
C2: =IF((RIGHT(B2,2)-RIGHT(A2,2))<0,TEXT(LEFT(B2,8)-LEFT(A2,8)-1/86400,"HH:MM:ss")&":"&RIGHT(TEXT(24+RIGHT(B2,2)-RIGHT(A2,2),"00"),2),TEXT(LEFT(B2,8)-LEFT(A2,8),"HH:MM:ss")&":"&RIGHT(TEXT(RIGHT(B2,2)-RIGHT(A2,2),"00"),2))
The result in C2 should be 00:00:28:23
Hello,
I would like to thank you for the formulas you've created. They saved me a lot of my time.
I was wondering whether there is any formula which can find clip based on the name, count both durations and round it up to seconds?
For example:
EDIT_Clip_01
00:00:03:00 + 00:00:02:19 = 00:00:05:19 ≐ 00:00:06:00
Does it make sense?
Many thanks in advance for your help.
Best,
T.
Name | Track | Timecode In | Timecode Out | Duration |
EDIT_Clip_01 | V1 | 00:46:33:03 | 00:46:36:03 | 00:00:03:00 |
EDIT_Clip_02 | V1 | 00:46:36:03 | 00:46:40:05 | 00:00:04:02 |
EDIT_Clip_03 | V1 | 00:01:48:04 | 00:01:52:23 | 00:00:04:19 |
EDIT_Clip_04 | V1 | 00:07:29:16 | 00:07:32:24 | 00:00:03:08 |
EDIT_Clip_05 | V1 | 00:08:04:02 | 00:08:07:12 | 00:00:03:10 |
EDIT_Clip_06 | V1 | 00:01:32:10 | 00:01:33:24 | 00:00:01:14 |
EDIT_Clip_01 | V1 | 00:46:54:14 | 00:46:57:08 | 00:00:02:19 |
EDIT_Clip_02 | V1 | 00:22:27:13 | 00:22:31:00 | 00:00:03:12 |
EDIT_Clip_03 | V1 | 00:00:55:12 | 00:00:56:16 | 00:00:01:04 |
EDIT_Clip_04 | V1 | 00:48:07:08 | 00:48:11:07 | 00:00:03:24 |
EDIT_Clip_05 | V1 | 00:48:03:20 | 00:48:07:08 | 00:00:03:13 |
EDIT_Clip_06 | V1 | 00:48:22:11 | 00:48:26:00 | 00:00:03:14 |
- facruzFeb 14, 2024Copper Contributor
Tess33 I'm glad the formula was useful! The formula would be applied in a separate column or you'd need it nested in the same formula which I shared calculating the duration?
- facruzFeb 16, 2024Copper ContributorYou'd need to put this formula in D2 for the rounded duration: =IF(NUMBERVALUE(RIGHT(C2,2))<12,LEFT(C2,8),LEFT(C2,8)+1/86400)
11 frames or less will round downwards and 12 frames or more will round upwards.