ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
Disclaimer: Im no expert in this and I created it since I needed it myself. I encourage you to come with feedback such as feature requests, bugs or other stuffs.

You will find the script in 'Apps Script' under the 'Extenions'-menu. You will have to manually copy and paste this script into all documents you want to use it in. If there's a bug and it needs update, all these instances would have to be manually updated. =/

Make a copy of this document to your own gDocs/gDrive, once there you can edit it and access the script in the script editor. If that doesn't work, write something in the comments.

There's a built-in limitation in gDocs for how many times a script can be called per second. This is important to have in mind and if you see a lot of '#ERROR!' cells, hover over them to see what the issue is. If it's related to this limitation try to work with ranges instead, examples below. Ranges also improves speed a lot!

Sometimes a script can error out for no apparent reason, reloading normally helps.

⚠️ If you get an error about too many redirects when editing the script, sign out of all other google accounts and try again. Seems to be a google thing.
3

Updates / News:

2021-11-01, v0.62.
Added the '2s' function. It will convert tc1 to seconds with the option to output in raw seconds or formatted as proper TC. In the latter it would more or less be a "round this TC to closest second".
Updated docs and installation since google have moved some stuffs around. Maybe look at other ways of deplying and distributing this? Seems to be some sort of marketplace for stuffs now.
4

2021-05-12, v0.61.
I took a look at the popular request of calculating duration of a column of TC's. This should now work but I have honestly not tested the shit out of it. In the 'validate_operations' tab I have done a couple of tests and comparisions with the old "helper column" method and from what I can see it works fine.

Report any errors/isses to me. An example can be seen at the bottom here and in range F45:H55. Note that for the moment this is ONLY for duration/"dur" and NO other operations. It's somewhat of a workaround but probably something I can build upon for the other operations that would benefit from 'same column' operations.
5
2015-03-29, v0.6.
29.97 and 59.94 drop frame support implemented. During this process i've learnt that there is no such thing as 23.976 drop frame so that has ben dropped, no pun intented. =) There is support for 23.976 calculations though. Use the drop frame framerates in calculations with "29.97df" and "59.94df" or with cell reference.

I've added some sheets at the bottom with auto validation's so that I more ealisy can test the script. Works as a good validation for you as well, so that you can see that it works and what it does. In the 'validate_frame_ranges' sheet you can see that it drop frames when it should for 29.97df and 59.94df.

I still haven't gotten inter-column math to work. With inter-column I mean that it should be possible to add tc's from one single column, A1:A5, in one operation. Sadly, with my lack of skills and experience it probably means that I have to re-do alot of the script. It's next on the list and it'll be part of a major rewrite where you should also be able to do calculations on spread out cells. Turned out it's not that easily achieved though and might require
a bigger brain than mine.
6
7
8
Addition, cell referencedAddition, manually entered and cell referencedSubtraction, cell referenced all values
9
=tc(B12, C12, 25, "add") =tc(F12, "00:09:23:21", 24, "add") =tc(J12, K12, L12, "sub")
10
TC1TC2TC1 + TC2TC1TC2TC1 + TC2TC1TC2SOURCE FPSTC1 - TC2
11
10:08:40:1800:01:04:1510:09:45:0810:08:40:18--10:18:04:1510:08:40:1800:31:13:092409:37:27:09
12
13
14
Division. TC2 is the divisor in this operationMultiplication. TC2 is the multiplier in this opConvert. TC2 is the target framerate in this operation
15
=tc(B18, C18, 25, "div") =tc(F18, G18, 25, "mult") =tc(J18, K18, L18, "conv")
16
TC1TC2TC1 / TC2TC1TC2TC1 * TC2TC1TC2SOURCE FPSCONVERTED
17
10:08:40:182.304:24:38:1410:08:40:181.414:12:09:0010:08:13:12252409:43:53:19
18
10:08:13:1259.94df2404:03:32:00
19
10:08:13:1223.9829.97df12:39:31:02
20
Percentage. TC2% of TC110:08:13:1223.982000047:27:13:20
21
=tc(B24, C24, 24, "per")10:08:13:1259.94df29.97df05:04:06:42
22
TC1TC2RESULT10:08:13:12400002400:00:21:44
23
10:08:40:182202:13:54:1410:08:13:12223.97621:38:42:00
24
25
26
Convert TC to framesConvert frames to TCSubtraction, cell referenced all values. Negative result support
27
=tc(B30, , 24, "2f") =tc(F30, , 24, "2tc") =tc(J30, K30, L30, "sub")
28
TC1TC2RESULTTC1TC2RESULTTC1TC2SOURCE FPSTC1 - TC2
29
10:08:40:1887649887649810:08:40:1810:08:40:1812:31:13:0925-02:22:32:16
30
31
Addition, cell referenced for a rangeConvert TC to frames for a rangeConvert frames to TC for a range
32
=tc(B36:B42, C36:C42,24,"add") =tc(B36:B42, , 24, "2f") =tc(J36:J42, 0 , L36, "2tc")
33
TC1TC2TC1 + TC2TC1TC2RESULTTC1TC2TARGET FPSRESULT
34
00:00:10:2200:00:15:0600:00:26:0400:00:10:222622622400:00:10:22
35
00:00:15:0600:00:17:0400:00:32:1000:00:15:0636636600:00:15:06
36
00:00:17:0400:00:19:0000:00:36:0400:00:17:0441241200:00:17:04
37
00:00:19:0000:00:21:2300:00:40:2300:00:19:0045645600:00:19:00
38
-00:00:21:2300:00:24:0500:00:02:06-00:00:21:23-527-527-00:00:21:23
39
00:00:24:0500:00:25:1300:00:49:1800:00:24:0558158100:00:24:05
40
00:00:25:1300:00:26:2100:00:52:1000:00:25:1361361300:00:25:13
41
42
43
Duration of a column of TC'sConvert frames or TC to seconds
44
.=tc(F45:F51, , G45, "dur") =tc(J48:J54, 0 , L48, "2s")
45
TC1FPSRESULTTC1TC2TARGET FPSRESULT
46
00:00:10:2224.0000:01:30:032622411
47
00:00:15:0636615
48
00:00:17:0441217
49
00:00:19:00123 textNaN
50
-00:00:21:23-00:00:21:23-22
51
00:00:24:0500:01:42:15103
52
00:00:25:1300:00:42:1142
53
23:21:59:152423:22:00:00
54
00:00:42:1229.97df42