+ Reply to Thread
Results 1 to 2 of 2

Maintenance Schedule Attainment

  1. #1
    Registered User
    Join Date
    02-16-2021
    Location
    Charleston, SC
    MS-Off Ver
    2016
    Posts
    1

    Maintenance Schedule Attainment

    Good Afternoon Everyone,
    I work at a manufacturing facility and am trying to organize the data for all of out Preventative maintenance items. Primarily, by calendar week how many were assigned and completed, and the percentage of how many were completed before their due date.
    What I've done so far:
    -Used Power Query to import data from excel sheets that I download from SAP
    -added a couple of helper columns,
    one with a 1 on every row(index),
    one with a 1 if the PM was not completed before its finish date (Overdue)
    one that shows the calendar week the PM is due
    -Used Pivot tables to count assigned and completed PMs by work center

    The "schedule attainment" calculation is the one I'm having trouble with.
    I've tried
    - Custom field in pivot table with the equation: 1-COUNT('Overdue_Y/N') /SUM(Index)
    -this one seems to work on the "daily", but messes up when summarized into the calendar week, or month

    I'm medium skilled with excel, but relatively new to query and pivot. Any advice is greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Maintenance Schedule Attainment

    Hello masterarcher and Welcome to Excel Forum.
    Perhaps the following will be of help:
    Your formula is added as an explicit measure to the Due_Comp data model sheet (under the Overdue_Y/N column).
    The pivot table on Sheet1 is then produced using the Due_Comp data model sheet.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Vehicle Maintenance Schedule
    By sbothe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2017, 11:33 AM
  2. Maintenance Schedule Formula?
    By Nissi in forum Excel General
    Replies: 3
    Last Post: 04-18-2015, 02:18 PM
  3. Vehicle Maintenance Schedule
    By aspirus in forum Excel General
    Replies: 3
    Last Post: 05-19-2013, 09:33 PM
  4. Maintenance Schedule Checklist
    By matthemj2 in forum Excel General
    Replies: 20
    Last Post: 03-04-2009, 06:16 PM
  5. Maintenance Schedule Checklist
    By matthemj2 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-02-2009, 10:30 AM
  6. MPG/maintenance schedule spreadsheet...source data formatting ?
    By impala096 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-25-2008, 09:17 AM
  7. Calculating Percentage of Attainment/Active
    By littledragon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-15-2007, 04:40 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