I'm trying to create a worksheet to help our creative team with caption files. I would love them to be able to paste in their text file into a specific section of a Google Sheet that is then translated into an output they can use for caption translations and uploads.
This is an example of what directly pasting the file with no additional formatting, and the desired output: https://docs.google.com/spreadsheets/d/1tvGKMTIuwVFlf7_ZEW8uHrXpdu3LWFiXcYyPj3pMt-M/edit?usp=sharing
One aspect that needs to happen is translating the format after splitting the string of the hour:minute:second:frame into hour:minute:second:millisecond. Generally these are for 30fps videos, so if 30f = 1000ms, then 10 is 1/3 of that
| Original (hour:minute:second,frame) | Translated (hour:minute:second:millisecond) |
|---|---|
| 00:00:02,333 | 00:00:02:10 |
Ultimately (and as show in the sheet), I'm trying to get the following output from this input:
Input | | | -------- | | 1 | row | | 00:00:02,000 --> 00:00:05,000 | | Lorem ipsum dolor sit amet, consectetur adipiscing e | | | 2 | | 00:00:05,001 --> 00:00:08,000 | | Felis eget nunc lobortis mattis. Morbi tristique senectus et netus et malesuada. |
Output
| TIMESTAMP | ORIGINAL TEXT | TRANSLATED |
|---|---|---|
| 00:00:02:00 | abc sdfsdfsdf | Lorem ipsum dolor sit amet, consectetur adipiscing e |
| 00:00:05:00 | abc sdfsdfsdf | Felis eget nunc lobortis mattis. Morbi tristique senectus et netus et malesuada. |
Is this possible?

