+ Reply to Thread
Results 1 to 4 of 4

Time difference summing in mass quantities

  1. #1
    Registered User
    Join Date
    07-20-2014
    Location
    Caz,NY
    MS-Off Ver
    excel 2013
    Posts
    2

    Time difference summing in mass quantities

    I am trying to take a log file from a machine that time-stamps every event that occurs. i can filter out all the nonsense information that's not needed but i need to be able to consistently import data weekly that will calculate differences between timestamps and sum the total, over 6k of line items. but its formatted as such:

    2:16:18 error1 occurs on machine
    2:16:33 error1 cleared on machine
    2:17:05 error2 occurs on machine
    2:39:54 error2 clears on machine

    this continues for thousands of line items, but i need to be able to calculate the timedifference of when error1 occurs and is cleared, the time difference between when error2 occurs and is cleared and so on and so forth then sum all of it together. is this even possible without having to generate a custom formula and clicking on every cell you want added in to it? any help or ideas would be greatly appreciated.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Time difference summing in mass quantities

    Please post a sample workbook
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-20-2014
    Location
    Caz,NY
    MS-Off Ver
    excel 2013
    Posts
    2

    Re: Time difference summing in mass quantities

    7-14-2014.xlsx

    this is the reduced data on the second worksheet labeled "sheet 1". every time there is a "SetError:" then a "ClearAllErrors(" that time difference must be calculated, and all must be summed together.

    i have a way to get the information now, but its tedious, long, and i would like to be able to do this for 7 days a week, x6 the amount of data. hope this helps further. thanks.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Time difference summing in mass quantities

    This appears to do what you want with the extracted data in Sheet1.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I added a Helper Column with a simple formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and summed the results as a cross check. It matched.

    See the updated example.

    Regards, TMS
    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. Need help summing quantities of numerous duplicate entries
    By luthierwnc in forum Excel General
    Replies: 6
    Last Post: 07-02-2012, 11:53 AM
  2. Replies: 1
    Last Post: 09-07-2011, 01:19 PM
  3. Summing Totals of Quantities
    By brian stanek in forum Excel General
    Replies: 2
    Last Post: 03-02-2010, 10:52 AM
  4. Replies: 0
    Last Post: 11-27-2007, 09:46 AM
  5. Summing quantities based on like criteria?
    By aburnce in forum Excel General
    Replies: 5
    Last Post: 05-03-2006, 07:11 PM

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