+ Reply to Thread
Results 1 to 9 of 9

SUMIF - Time Duration Issue?

Hybrid View

  1. #1
    Registered User
    Join Date
    02-15-2013
    Location
    Port Hedland, Australia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Angry SUMIF - Time Duration Issue?

    Hello,

    Attached is a spreadsheet that is recording machine downtime.
    As per summary table inserted above the data in the first 4 tabs (we are focussing on A, B, C and D Service downtime). I would like to retrieve total downtime within each month.

    Sadly I haven't been able to figure a formula that totals the time duration in column F (Total Down Time) as I believe it has transferred into excel as an incorrect format.
    I have tried formatting to [h]:mm:ss, however this doesn't seem to fix the issue.

    Any help greatly appreciated!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: SUMIF - Time Duration Issue?

    Like the attached ? ( I only worked out the 1st tab)

    Copy of Downtime Crunched.xlsx

  3. #3
    Registered User
    Join Date
    02-15-2013
    Location
    Port Hedland, Australia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: SUMIF - Time Duration Issue?

    Yes thankyou. I had shyed away from using a pivot table, but in this case it is effective.

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: SUMIF - Time Duration Issue?

    It can also be done by formulas if you prefer

  5. #5
    Registered User
    Join Date
    02-15-2013
    Location
    Port Hedland, Australia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: SUMIF - Time Duration Issue?

    If possible could you do one with formulas?
    Just to further increase my understanding.

    Thanks so much.

  6. #6
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: SUMIF - Time Duration Issue?


  7. #7
    Registered User
    Join Date
    09-11-2012
    Location
    Belfast
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: SUMIF - Time Duration Issue?

    Hi JoshEvo

    I've had problems like this in the past too - very frustrating!!

    The only way I can solve this issue is to insert another custom formatted column ([h]:mm:ss) and, in your example, use this formula to convert the 'text' into a proper time:

    [code]=VALUE(LEFT(F9,(SEARCH(":",F9)-1)) & ":" & (MID(F9,SEARCH(":",F9)+1,2)) & ":" & (RIGHT(F9,2)))code]

    This is copied down through the new column.

    A second new custom formatted column ([h]:mm:ss) is needed, into which you can copy the Values only from the first new column. These can then be copied over the original values and the two new columns deleted.

    I have attached an example, based on your first tab, and haver it totalled in your summary.

    This method threw up one error, based on your data, in row 221, because the initial value is '39:25:60', so I resolved this by replacing it with '39:26:00'

    If anyone has a better solution, and I'm sure there has to be one, please post!!

    In the meantime, hopefully this helps.

    Regards
    Stephen.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-15-2013
    Location
    Port Hedland, Australia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: SUMIF - Time Duration Issue?

    I have now completed this for all of the sheets and it worked no problems.
    Any input from others would be helpful for future however.

  9. #9
    Registered User
    Join Date
    02-15-2013
    Location
    Port Hedland, Australia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: SUMIF - Time Duration Issue?

    Stephen,

    To offer two solutions, would you be able to guide me through the pivot table creation?
    I receive a #DIV/0 error when trying to re-create, it occurs when I try and apply the average field setting to "TOTAL DOWN TIME".

    I understand the pivot table will be much easier to keep updated in the future than the formula method.

    Thank you so much for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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