Close

Results 1 to 4 of 4

Thread: Excel Help

  1. #1
    DF VIP Member Soulassassin's Avatar
    Join Date
    Jan 2002
    Location
    Newcastle UK
    Posts
    2,747
    Thanks
    271
    Thanked:        342
    Karma Level
    459

    Help Excel Help

    I'm trying to write an excel sheet that when opened, shows how many parts our company should have made at that particular moment (target). We do a 3 shift pattern with 3 sessions each day, 3 lines within our shift all running at different speeds and efficiency. I've got the sheet working as I want it except for one of the shifts, as our night shift starts before midnight and finishes at 7am I cant seem to get the formula working to work out how many minutes have been worked in the first session as this is the session that goes past midnight. I have attached the file so it becomes easier to understand. All my formulas and working out is done on the 'Formulas' tab, the cells coloured green may have to be altered on occasion so if the shift pattern times change, the sheet will automatically adjust to give the correct target. The targets tab is where the info is simplified and shown.

  2. #2
    DF VIP Member pattikins's Avatar
    Join Date
    Jul 2001
    Location
    manchester
    Posts
    795
    Thanks
    251
    Thanked:        81
    Karma Level
    344

    Default Re: Excel Help

    Try this @ E24 on the 'formulas' sheet:
    =IF(AND($B$20>B24,$B$20<"23:59:59"),((HOUR($B$20-B24))*60)+(MINUTE($B$20-B24)),IF(AND($B$20<B24,$B$20<C24),((HOUR(($B$20+1)-B24))*60)+(MINUTE(($B$20+1)-B24)),D24))

    Thanks to pattikins

    Soulassassin (21st June 2015)  


  3. #3
    DF VIP Member Soulassassin's Avatar
    Join Date
    Jan 2002
    Location
    Newcastle UK
    Posts
    2,747
    Thanks
    271
    Thanked:        342
    Karma Level
    459

    Default Re: Excel Help

    Thanks, that seems to work for the first session but now the 2nd and 3rd sessions are wrong, I didnt notice before. Im looking at them now to see if i can apply the same 'formula'

    Yep got them all sorted and added a sunday nightshift which had 4 sessions and was a longer shift. Took a while but got there. Cheers again pattikins.
    Last edited by Soulassassin; 21st June 2015 at 05:14 PM.

  4. #4
    DF VIP Member akimba's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,846
    Thanks
    1,034
    Thanked:        783
    Karma Level
    369

    Default Re: Excel Help

    OEE oh how much fun I have had with that subject ;-)

    Been doing some consultation work for a small company and implanting an OEE dashboard in Excel (as a prototype with the idea of transferring to ASP/SQL) but the company has just been bought out, the larger company is pretty impressed with what they are running so might get quite a bit more work ;-)

Similar Threads

  1. excel for fee
    By bobbobb in forum Programming
    Replies: 8
    Last Post: 7th March 2005, 11:22 PM
  2. MS Excel Help Required
    By Speedlock in forum PC Problems
    Replies: 8
    Last Post: 10th August 2003, 08:23 PM
  3. Anyone any good at Excel?
    By Gel in forum The Dog and Duck
    Replies: 3
    Last Post: 18th May 2003, 03:18 PM
  4. upper in excel
    By ceasar in forum PC Software
    Replies: 2
    Last Post: 29th March 2003, 02:02 PM
  5. Excel graph problem
    By marktb in forum PC Problems
    Replies: 2
    Last Post: 9th October 2002, 04:42 PM

Social Networking 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
  •