+ Reply to Thread
Results 1 to 3 of 3

Bug in modified Timecode Calculator *need help*

  1. #1
    Registered User
    Join Date
    05-12-2015
    Location
    england
    MS-Off Ver
    365
    Posts
    3

    Bug in modified Timecode Calculator *need help*

    Hi forum

    I downloaded an excel file called TC.xlsx and did a little modification to it.

    I'm trying to do a subtraction based on the total time I've used.
    For example in this attached excel sheet, I'm given 30minutes of airtime.

    Based on my TC in and TC out, I wanted to use the total duration and minus 30 minutes from it.

    Problem started when I try to convert the cell data as text. I successfully converted it to HH:MM:SS but the FF(frames) doesn't go through properly.

    I've color coded them for clarity -

    green are the durations for the videos
    orange is total duration (added off the green)
    Blue is the one I'm trying to convert to text so that it can be subtracted from the 30minutes (allocated time)

    Its the blue cell that I'm having problem with.

    Hopefully someone can shine some light thru!

    Thanks in advance!!...this will save a lot of people. If this works, I will start spreading this to the video editing community.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Bug in modified Timecode Calculator *need help*

    Maybe ...

    Row\Col
    A
    B
    C
    D
    1
    fps
    2
    25
    3
    Duration
    4
    TC In
    TC Out
    hh:mm:ss:ff
    5
    00:00:03:10 00:00:07:18 00:00:04:08 C5: = TEXT(LEFT(B5,8) - LEFT(A5,8) - (RIGHT(A5,2) > RIGHT(B5,2)) / 86401, "hh:mm:ss" ) & TEXT(MOD(RIGHT(B5,2) - RIGHT(A5,2), $C$2), "\:00")
    6
    00:00:14:21 00:00:20:03 00:00:05:07
    7
    00:00:01:00 00:00:30:20 00:00:29:20
    8
    0
    0
    00:00:00:00
    9
    0
    0
    00:00:00:00
    10
    0
    0
    00:00:00:00
    11
    0
    0
    00:00:00:00
    12
    0
    0
    00:00:00:00
    13
    0
    0
    00:00:00:00
    14
    0
    0
    00:00:00:00
    15
    00:00:39:10 C15: =TEXT(SUMPRODUCT(LEFT(C5:C14, 8) + MOD(RIGHT(C5:C14, 2), $C$2)/$C$2/86401), "hh:mm:ss") & TEXT(MOD(SUMPRODUCT(--RIGHT(C5:C14, 2)), $C$2), "\:00")
    16
    17
    18
    Dur hh:mm:ss.00
    00:00:39.40
    C18: =LEFT(C15, 8) + RIGHT(C15, 2)/$C$2/86401
    19
    Allocated
    00:30:00.00
    C19: Input
    20
    Remaining
    00:29:20.60
    C20: =C19-C18
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-12-2015
    Location
    england
    MS-Off Ver
    365
    Posts
    3

    Re: Bug in modified Timecode Calculator *need help*

    Hi Shg, This sorta worked, but the addition part is not accurate.

    Time for some weird case...

    I found a bug in the original sheet that I downloaded from here...When i input 00:00:11:00, at the total, it adds as 00:00:15:00. However, when I input 00:00:11:01, it adds up correctly...I have no idea where the extra 4 seconds came from and its really weird.

    File attached

    Thanks you all so much in advance!!!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I need a revised timecode formula
    By CCSLBuckles in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-26-2015, 05:58 PM
  2. timecode cell formula
    By Cybornut in forum Excel General
    Replies: 3
    Last Post: 10-04-2011, 02:45 AM
  3. Function to sum timecode in excel
    By chelli84 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-12-2011, 03:44 PM
  4. timecode cell formula
    By russpond in forum Excel General
    Replies: 13
    Last Post: 11-22-2008, 07:08 PM
  5. Timecode macro
    By happynewclick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2006, 11:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1