Closed Thread
Results 1 to 41 of 41

formula to calculate MTBF and MTTR

  1. #1
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    formula to calculate MTBF and MTTR

    hi,

    anyone know how to calculte MTBF (mean time between failure) and MTTR(mean time between repair) ? i cannot find the correct formula. My data as below. Really need your helps. Thanks

    Start Repair Date End Repair Date
    01/10/2018 19:49 01/10/2018 21:23
    01/10/2018 17:30 01/10/2018 18:17
    01/10/2018 10:12 01/10/2018 12:42
    01/10/2018 11:47 01/10/2018 14:27
    01/10/2018 22:10 01/10/2018 22:52
    01/10/2018 9:05 01/10/2018 10:08
    01/10/2018 7:23 01/10/2018 11:24
    02/10/2018 20:50 02/10/2018 20:51
    02/10/2018 2:44 02/10/2018 6:40
    02/10/2018 15:29 02/10/2018 15:30
    02/10/2018 19:11 02/10/2018 20:43
    02/10/2018 11:56 02/10/2018 12:35
    02/10/2018 21:57 02/10/2018 23:13
    02/10/2018 20:51 02/10/2018 22:14
    02/10/2018 3:47 02/10/2018 6:37
    02/10/2018 1:57 02/10/2018 3:27
    02/10/2018 9:27 03/10/2018 9:59
    02/10/2018 1:38 02/10/2018 3:29
    02/10/2018 16:13 02/10/2018 18:29
    02/10/2018 9:15 02/10/2018 13:22

    Capture.JPG

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: formula to calculate MTBF and MTTR

    Have you tried subtracting start from end?

    Pete

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,033

    Re: formula to calculate MTBF and MTTR

    You can't really get MTBF here because you only know when the repair started, not when the failure occurred. If you assume that repair start is equivalent to point of failure then you can use that.

    Also MTTR is mean time to repair.

    This might be possible with array formulas but it's easier to understand if you use a helper column that lists the time since the last failure, and the time to repair. I have used your data to create a file, attached. Your data also must be sorted first.

    Next time, attach your file. It's easier than taking a screenshot first and then attaching that. A file is worth a thousand words. The paper clip icon does not work for attachments. To attach a file, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi 6stringjazer,

    thanks for the explanation..i attached my data..thanks for helping..really need help on this can refer to raw tab
    Attached Files Attached Files

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,033

    Re: formula to calculate MTBF and MTTR

    You should be able to adapt my solution to your data.

    You have a column labeled MTBF, suggesting that you want a value in every row. MTBF is an average, not a value for each incident. What are you intending there?

    Do you mean MTBF for all equipment together, or do you need a separate figure for each piece of equipment?

  6. #6
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi..i need separate figure for each piece of equipment...thanks

  7. #7
    Registered User
    Join Date
    10-05-2018
    Location
    INDIA
    MS-Off Ver
    OFFICE 2013
    Posts
    44

    Re: formula to calculate MTBF and MTTR

    HI
    try this formula witch i attached
    it may solve your problem
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: formula to calculate MTBF and MTTR

    A bit confusing, but does this array formula in AK2, copied down, do it??

    =AVERAGE(IF([Equip No]=[@[Equip No]],[End Repair Date]-[Start Repair Date]))

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    Fotmat as [h]:mm:ss
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  9. #9
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi guys,

    thanks for your help. May i know how formula to calculate "Time since last breakdown" for each machine from this data. I tried before, but got error. Thanks
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    10-05-2018
    Location
    INDIA
    MS-Off Ver
    OFFICE 2013
    Posts
    44

    Re: formula to calculate MTBF and MTTR

    Thanks for corrected me

  11. #11
    Registered User
    Join Date
    10-05-2018
    Location
    INDIA
    MS-Off Ver
    OFFICE 2013
    Posts
    44

    Re: formula to calculate MTBF and MTTR

    hi Glenn
    Thanks for corrected me

  12. #12
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    anyone can help. i still facing problem to search Time since last breakdown" for each machine from this data. I tried before, but got error. Thanks

  13. #13
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    Hi there

    I just looked at this and the last excel example provided. You need to understand how to calculate Mean Time Between Failure and Mean Time To Repair before you apply it in to your excel data.

    MTBF is The Sum of (start of downtime - start uf uptime) all divided by no of failures.
    This will need to be by asset or system type and not all failures.

    MTTR is total maintenance time divided by number of repairs
    Once again, needs to be by specific asset or system.

    I hope that helps?
    Learner, making mistakes, asking daft questions.

  14. #14
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi can you help to check, is it my formula in the attached file correct?thanks
    Attached Files Attached Files

  15. #15
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    Hi there, as an engineering management consultant I can most definitely assist you.

    What I need to understand is to what asset level are you trying to measure MTBF and MTTR?!

    System, individual asset, sub asset, component ?

  16. #16
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi edRooney..thanks for you help..im looking for individual asset / individual machine level..thanks

  17. #17
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    It appears you are measuring by Equip No in B:B
    There is a problem with your data, which I take it is coming from an EAM or CMMS system?
    The start date does not have a time configuration, just a date.

    How do you intend to calculate the amount of time a piece of equipment is offline?
    Last edited by EdRooney; 12-08-2018 at 10:08 AM.

  18. #18
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    Is request date in X:X a system generated stamp when an issue is logged? AA:AA is when the asset is returned to service?

    So, we could calculate 'downtime' from AA-X ?

  19. #19
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi edrooney z:z generated when the system stamp time they starting to attend the failure and AA:AA is the system stamp when finished repair and return to service/production

  20. #20
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    yes but that isnt a true MTTR. When it is reported is when the item has failed? (X:X) I agree with AA:AA
    Last edited by EdRooney; 12-08-2018 at 10:59 AM.

  21. #21
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    actually the system only recorded when they start to repair (in column z:z)..assume column z:z is the start failure time and date..sorry the data quite messy actually..every row mean the start (z:z) and end (AA:AA) of every failure event of each machine..sometime,same machine failure 3 to 4 time per day

  22. #22
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    OK I have done the MTTR calculation. (Total downtime / No of Incidents)

    I added two columns in you RAW data table - Downtime and dt2 (Columns AO and AP). AO is for human readable time and AP is for calculation.

    A new Tab "MTTR" uses SUMIF and COUNTIF to pull that info together.

    I will work on the MTBF later

    Hope this helps
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi edrooney..thanks for yor help..very helpful..for MTTR i tested and working correctly..looking forward for the MTBF calculation..really helpful..thanks

  24. #24
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    Hi there

    I have attached the new version of the document which includes both MTTR and MTBF.

    I have created more columns than you would actually need if you wanted to nest forumlas together, but for the sake of you following how I achieve
    it I thought it best to show you the working out.

    Technically speaking I should have an IF statement in the MTBF calculation, if there is only one failure then you cannot yet calculate an MTBF!

    Finally, on the last row of the MTBF table I left a TEST line in so you can play about with dates, times and incidents to prove it works.

    For your dashboard, I would create charts from the individual tables, or create a new combined 'calculations' table, I can see you using sliders. I always like to keep my RAW
    data untouched so I can cut and paste fresh data over it, then my results table is always 'clean' as it were.

    One last point. The equipment number in the results table was a cut/paste/remove duplicates from your master data. If new equipment has failures then their number will need to be
    included in the results table. You could easily record a macro to automate the process.

    Hope that helps?
    We would be happy to assist you

    Good luck with your project!
    Attached Files Attached Files
    Last edited by Fotis1991; 12-10-2018 at 04:20 AM. Reason: EdRooney. This is not a comercial forum and we don't use advertisements

  25. #25
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi edrooney..thanks for your help..the =_xlfn.Minifs function not working in my excel 2016..cameout error #NAME?..Anything i can do..i try to do min if function but still the same..thanks

  26. #26
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: formula to calculate MTBF and MTTR

    MIN(IF and MAX(IF have a completely different syntax and are array formulas.

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    Here is the same file as posted by EdRooney, but with a 2007 -friendly formula
    Attached Files Attached Files

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,310

    Re: formula to calculate MTBF and MTTR

    EdRooney - see our rule regarding the promotion of paid services:

    11. Do not put links to personal sites or services as your sole contribution here on the forum. (B)

    12. Do not solicit payments in your posts or signatures. (B)
    We value your contributions here, however your last post overstepped the mark and has been edited accordingly. You should not advertise any paid professional services. Thank you for your co-operation.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  28. #28
    Registered User
    Join Date
    06-27-2018
    Location
    Malaysia
    MS-Off Ver
    2007
    Posts
    15

    Re: formula to calculate MTBF and MTTR

    hi glenn kennedy and edrooney..thanks both..the formula is working fine..thank you again

  29. #29
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: formula to calculate MTBF and MTTR

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  30. #30
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    OOPS! Sorry. Thank you for the edit. Sorry for breaking the rules.

  31. #31
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    Thanks for sorting Glenn

  32. #32
    Registered User
    Join Date
    01-17-2019
    Location
    Wisconsin, USA
    MS-Off Ver
    2010
    Posts
    1

    Re: formula to calculate MTBF and MTTR

    I think you are ok using the data you have presented. You want to find the MTBF for the equipment. First step is to sort the data by two criteria so you can make accurate formulas to calculate your needs. Sort by equipment in column B then secondary sort by repair completed in column Z. You need to then be able to find the period that the data provides. You need the start of the repair and end of the last repair to get the total time period. Then you can subtract the total time of all repairs to the equipment and divide that by the total number of repairs for the equipment. This will give you the MTRF
    Attached Files Attached Files

  33. #33
    Registered User
    Join Date
    05-08-2019
    Location
    Yemen
    MS-Off Ver
    2010
    Posts
    6

    Re: formula to calculate MTBF and MTTR

    Hi Ed rooney,
    Actually I fully appressiate for your Excell sheet
    When we want to calculate MTBF for equipment and component
    different authors but different type for calculation as follows :-

    1 - Heinz bloch :- put No of equipment failed as guide line to calculate MTBF and failure rate.

    2 - William forsthoffer :-
    Put running time of equipment as guide line to calculate MTBF.

    3 - there is statistical analysis done. To determine running time.

    4 - take running time as guide line for determine actual MTBF

    Our question is as follows :-

    Which one of four methods are more accurate than other, ??

    After calculate MTBF by your method is there reference tables to make bench marking for improving issue?.

    Is your calculation applied for any mechanical equipment like pumps, and it's component.?

    Thanks in advance for your support and valuable Excell sheet you did

    Warm regards
    Osama

  34. #34
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,033

    Re: formula to calculate MTBF and MTTR

    Quote Originally Posted by Osama73 View Post
    Hi Ed rooney,
    Actually I fully appressiate for your Excell sheet
    When we want to calculate MTBF for equipment and component
    different authors but different type for calculation as follows

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however while you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original. Please start a new thread - See Forum rule #4

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

  35. #35
    Registered User
    Join Date
    05-08-2019
    Location
    Yemen
    MS-Off Ver
    2010
    Posts
    6

    Re: formula to calculate MTBF and MTTR

    Hi macher
    Your explanation is clear but the main question is what is reference tables for make benchmarking for reference of Mechanical equipment for upgrade opportunities??
    Best regards
    Osama

  36. #36
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,310

    Re: formula to calculate MTBF and MTTR

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original. Please start a new thread - See Forum rule #4

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

  37. #37
    Registered User
    Join Date
    04-27-2020
    Location
    Detroit, Michigan
    MS-Off Ver
    2016
    Posts
    1

    Re: formula to calculate MTBF and MTTR

    This is a great workbook. How can I learn how to do this?

  38. #38
    Forum Contributor
    Join Date
    08-21-2012
    Location
    London
    MS-Off Ver
    Office 365 MAC
    Posts
    107

    Re: formula to calculate MTBF and MTTR

    @barreraj1 What are you looking to learn to do?

    Is it Excel and Formula etc? If so there is plenty of assistance on this great forum.
    If it is the understanding of MTTR, MTBF, OEE etc then that comes from studying etc.

    If you have a specific request, post it to the forum and I know from my own experience of reaching out, there is always as least one person who is happy to help.

  39. #39
    Registered User
    Join Date
    01-19-2022
    Location
    hyderabad
    MS-Off Ver
    ediko
    Posts
    2

    Re: formula to calculate MTBF and MTTR

    hi, i'm intrested to learn MTBF calcultions for each components , please suggest me what are the formulas used in that

  40. #40
    Registered User
    Join Date
    01-19-2022
    Location
    hyderabad
    MS-Off Ver
    ediko
    Posts
    2

    Re: formula to calculate MTBF and MTTR

    mtbf calaculation reference i'm using MIL-hdbk-217 , how to calculate and please send me a example Exel sheet

  41. #41
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,310

    Re: formula to calculate MTBF and MTTR

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compute MTBF by locating value in rows above
    By Grasor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2024, 05:30 AM
  2. Replies: 1
    Last Post: 01-07-2018, 10:30 AM
  3. Replies: 1
    Last Post: 01-11-2016, 02:31 PM
  4. Replies: 1
    Last Post: 01-08-2015, 07:02 PM
  5. Replies: 2
    Last Post: 05-13-2014, 01:18 PM
  6. Replies: 3
    Last Post: 03-28-2013, 12:41 PM
  7. Replies: 1
    Last Post: 02-02-2013, 02:28 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