change excel timeline based on shift times

Posted on 2011-04-21
Last Modified: 2012-05-11
Need some help with this, have tried using formulas but think some vba is needed to help with this problem. On the attached file (shifts worksheet) it outlines the start and end time for two shifts - Day & Night. the sheet next to it (Machine Selector) shows the timeline for the machine for each day. What I want to do is when the shift times are modified for say Monday, the cells on the timeline for monday are modified in the following way.
Day shift might start 7:30 to 4pm, thus the timeline would have the cells clear and available for that period, night shift might start at 21:30 to 7:30 am, so between 4pm anf 21:30pm there is no shift so the timeline would display NA. However if I decided to run overtime and modify the shift end time of day shift to 7pm, then the time line would update to show those cells (blank)

I hope its clear, thanks plant-load-trials.xlsm
Question by:kwatt562
    1 Comment
    LVL 9

    Accepted Solution

    plz check the attachment

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
    Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
    Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
    This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now