+ Reply to Thread
Results 1 to 4 of 4

System Performance Analysis - Calculating System Down Time Ignoring Overlapping Dates

  1. #1
    Registered User
    Join Date
    10-06-2016
    Location
    Sydney, Australia
    MS-Off Ver
    2003
    Posts
    2

    System Performance Analysis - Calculating System Down Time Ignoring Overlapping Dates

    Hi Everyone,

    After banging my head on my desk for a little while trying to figure this out I thought I might ask the internet to save me on this friday afternoon. I have been racking my brain for a few days now.

    I am trying to conduct some performance analysis for some assets that I look after.

    As part of this performance analysis, I am trying to calculate the total time in which one the assets has been unservicable over its entire life.

    The asset has various critical systems which are reported defective with a start date and end date (see table below). If any of these critical systems are defective, the entire system is unserviceable.

    When simply calculating the total days from the below table you get a value of 44.41. But what I really want is a lot less than that because I would like to ignore overlapping time periods.

    Critical
    System
    Defect Start Time Defect End Time Total Days Down
    A 17/08/2010 23:11 30/08/2010 8:28 12.39
    B 26/08/2010 23:38 31/08/2010 23:43 5.00
    C 26/08/2010 23:59 31/08/2010 23:50 4.99
    D 27/08/2010 0:06 31/08/2010 23:52 4.99
    A 14/09/2010 4:40 17/09/2010 18:24 3.57
    B 13/09/2010 2:17 26/09/2010 3:07 13.03
    E 31/08/2010 15:35 01/09/2010 02:02 0.44

    Where I have run into trouble is how to essentially create and store 'timeframes' (for lack of a better word) and check against them and action appropriately. But I'm probably thinking about it the entirely wrong way. At the moment I cant seem to ignore periods where the system is fully functional.

    Any help would be greatly appreciated.

    P.S I am open to using normal formula or VBA solutions.

    Dave

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,659

    Re: System Performance Analysis - Calculating System Down Time Ignoring Overlapping Dates

    This formula method works for your example data.

    First sort the data on column B (Start Time) ascending so all the data s in chronological order. This only works if the data is sorted. Then use a formula like this...

    A B C D E
    1
    Critical System
    Defect Start Time
    Defect End Time
    Total Days Down
    Days Down w/o Overlap
    2
    A
    17/8/2010 11:11 PM
    30/8/2010 8:28 AM
    12.39
    12.39
    3
    B
    26/8/2010 11:38 PM
    31/8/2010 11:43 PM
    5
    1.64
    4
    C
    26/8/2010 11:59 PM
    31/8/2010 11:50 PM
    4.99
    0.00
    5
    D
    27/8/2010 12:06 AM
    31/8/2010 11:52 PM
    4.99
    0.00
    6
    E
    31/8/2010 3:35 PM
    1/9/2010 2:02 AM
    0.44
    0.09
    7
    B
    13/9/2010 2:17 AM
    26/9/2010 3:07 AM
    13.03
    13.03
    8
    A
    14/9/2010 4:40 AM
    17/9/2010 6:24 PM
    3.57
    0.00

    Worksheet Formulas
    Cell Formula
    E2 =(C2-B2)
    E3 =MAX(C3,C2)-MAX(C2,B3)
    E4 =MAX(C4,C3)-MAX(C3,B4)
    E5 =MAX(C5,C4)-MAX(C4,B5)
    E6 =MAX(C6,C5)-MAX(C5,B6)
    E7 =MAX(C7,C6)-MAX(C6,B7)
    E8 =MAX(C8,C7)-MAX(C7,B8)
    Last edited by AlphaFrog; 10-07-2016 at 01:39 AM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,891

    Re: System Performance Analysis - Calculating System Down Time Ignoring Overlapping Dates

    Not tested, because I'm writing from smartphone and preparing dummy file would take much more time than on laptop or desktop, but how about situation when say C3 is say 1/9/2010 2:02 AM
    row 3 formula will be fine, but row 6?

    may be E3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down would do better?

    Just a concept - as I said - not tested.
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    10-06-2016
    Location
    Sydney, Australia
    MS-Off Ver
    2003
    Posts
    2

    Re: System Performance Analysis - Calculating System Down Time Ignoring Overlapping Dates

    Thanks!

    I will test this afternoon and will let you know how it goes. Thank you for taking the time to answer the question.

    Cheers
    Dave

+ 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. [SOLVED] Error Calculating Dates when system populates 1/1/0001 (DATEDIF)
    By 1losthuman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-24-2015, 05:46 PM
  2. [SOLVED] ChangeFormat of column from English decimal system with a dot to French System with a ,
    By rajiv1988 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2013, 04:31 AM
  3. [SOLVED] Automated machine order pricing system system
    By Sherburn Systems in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2012, 10:14 AM
  4. Creating a performance scoring system
    By Tony89 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-13-2012, 05:22 AM
  5. USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-16-2011, 08:02 PM
  6. USER FORMS NOT WORK AT SYSTEM 32 Bits AND SYSTEM 64Bits
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2011, 03:16 AM
  7. [SOLVED] What tweaks are there to improve system performance in excel?
    By Kiran in forum Excel General
    Replies: 0
    Last Post: 10-15-2005, 12:05 PM

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