+ Reply to Thread
Results 1 to 3 of 3

Shift Pattern Adding Hours based on Shift etc

  1. #1
    Registered User
    Join Date
    07-21-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    8

    Exclamation Shift Pattern Adding Hours based on Shift etc

    Hello I have various shifts, I have a spread sheet which is CSV ready for google and outlook calendar ready, to save time I wish to automate some of the stuff i.e. dependant on what is inputted in Cell A** (about four five variables ET, LT, NT, AL, RD) I want cells C D E completed accordingly.
    ET Early shift 8 Hours so C - 07:00 D Date of Fin E time of finish in this case 15:00
    LT Late Shift 9 Hours so C - 14:00 D Date of Fin E time of fin in this case 23:00
    NT Night Shift 9 Hours so C - 22:00 D Date of fin in this case following days date, E time of finish in this case 07:00 following day
    RD Rest day no value leave blank count nothing
    AL Annual leave no value leave blank count nothing
    I have tried to attach an image but not sure if its been successful, happy to send image of screen shot
    I have tried IF TIME etc statement not getting anywhere
    But can anyone help ?
    thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,926

    Re: Shift Pattern Adding Hours based on Shift etc

    Rather than an image, attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Shift Pattern Adding Hours based on Shift etc

    This solution is tested for the 2010 version however I believe that it will work for the 2007 version. The formulas for columns C and E are standard IF's respectively being:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The formula for column D you'll need to change the iterative calculation settings so that you can create a timestamp:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Attached Files Attached Files
    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. Replies: 1
    Last Post: 06-10-2016, 11:38 PM
  2. Replies: 11
    Last Post: 10-22-2015, 04:28 PM
  3. Shift Pattern Help
    By Slaine in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-15-2013, 05:09 AM
  4. [SOLVED] Spliting Day Shift and Night Shift Hours
    By Goldbadger2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-27-2013, 01:16 AM
  5. Replies: 4
    Last Post: 02-06-2013, 04:21 AM
  6. Replies: 4
    Last Post: 09-21-2012, 12:58 AM
  7. Calculating Hours Worked from Shift Begin and Shift End
    By lukeflegg in forum Excel General
    Replies: 5
    Last Post: 08-12-2011, 03:25 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