+ Reply to Thread
Results 1 to 4 of 4

Working Hours - excluding weekends, holidays

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Working Hours - excluding weekends, holidays

    Hi everyone,

    I'm new to this forum so apologies if I don't explain myself very well.

    There are many threads that I've been through but can't find anything that works for me.

    I need to work out the number of working hours/minutes between two dates (see attached):
    DATA tab:
    A column contains start date
    B column contains end date

    VARIABLES tab:
    B1 contains the start of the working day
    B2 contains the end of the working day

    I need to exclude Saturdays and Sundays and any holidays (listed on VARIABLES tab)

    The start date/end date are not always within working hours. I still need to calculate the hours/minutes worked within working hours though.

    I would appreciate any help you can give as this is driving me mad!

    Thanks all.
    Attached Files Attached Files

  2. #2
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Working Hours - excluding weekends, holidays

    Hello C,

    welcome to the forum. if you don't mind ugly long formulae, try the attached.

    Cheers
    Attached Files Attached Files
    <-- If you're happy & you know it...click the star.:-)

  3. #3
    Registered User
    Join Date
    11-29-2013
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    2

    Cool Re: Working Hours - excluding weekends, holidays

    You star! That works perfectly. Thank you so much. I have spent so much time trawling through potential solutions.
    I really appreciate your help.

    A very happy CJ

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Working Hours - excluding weekends, holidays

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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: 13
    Last Post: 07-20-2016, 02:05 AM
  2. Replies: 9
    Last Post: 07-04-2016, 11:42 PM
  3. Replies: 2
    Last Post: 06-14-2013, 10:45 AM
  4. [SOLVED] Elapsed Days Hours Minutes Excluding Weekends and Holidays
    By moshjosh in forum Excel General
    Replies: 7
    Last Post: 12-10-2012, 08:39 AM
  5. Replies: 7
    Last Post: 01-11-2011, 06:26 AM

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