+ Reply to Thread
Results 1 to 10 of 10

count working hours between 2 dates - no weekends or holidays

  1. #1
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    count working hours between 2 dates - no weekends or holidays

    Hello, I am in need of getting the working hours, starting in cell C2, between the 2 dates as shown in the attached. This can be up to a month or longer for the hours to count. Working days are MON- FRI. Holiday List in J2-J7, and hours are noted in L2 and M2. Thank you for all the help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: count working hours between 2 dates - no weekends or holidays

    in C2 try
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Correction in formula , set the formatting to general
    Last edited by hemesh; 03-09-2020 at 04:36 PM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: count working hours between 2 dates - no weekends or holidays

    Not quite sure but
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: count working hours between 2 dates - no weekends or holidays

    Thank you for looking hemesh, I appreciate it. This looks to be returning 0.54131944 with the format set to General?

    BMV sent a formula also, this looks to be working as needed.

  5. #5
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: count working hours between 2 dates - no weekends or holidays

    This looks to be working as needed. Thank you I really appreciate it BMV.

  6. #6
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: count working hours between 2 dates - no weekends or holidays

    Quote Originally Posted by BMV View Post
    Not quite sure but
    Please Login or Register  to view this content.
    Hi BMV, with this formula the below example should be just 9 not 11?

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: count working hours between 2 dates - no weekends or holidays

    Quote Originally Posted by hemesh View Post
    in C2 try
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Correction in formula , set the formatting to general
    Hi Again, this is returning as below, Should only be 9?
    sorry, I didn't get the entire code in the first response.

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    09-28-2016
    Location
    Seattle, washington
    MS-Off Ver
    2016
    Posts
    330

    Re: count working hours between 2 dates - no weekends or holidays

    thanks for the help BMV, AND hemesh, I think it is working as needed with this formula.

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    07-16-2020
    Location
    Bangalore
    MS-Off Ver
    2019
    Posts
    1

    Re: count working hours between 2 dates - no weekends or holidays

    BMV, need help in understanding this formula.

  10. #10
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: count working hours between 2 dates - no weekends or holidays

    @divya_rupa . What part of the formula is difficult?

+ 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. SLA with Time and dates excluding weekends, holidays and multiple no-working hours
    By ShashankBargath in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-24-2019, 09:53 AM
  2. [SOLVED] Business Hours between 2 dates/times excluding weekends and holidays
    By Skycap in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-14-2019, 10:48 AM
  3. [SOLVED] How To Calculate Net Work Hours Between Two Dates Excluding Weekends Or Holidays?
    By pavankumarbangaru in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-23-2018, 11:52 AM
  4. Replies: 13
    Last Post: 07-20-2016, 02:05 AM
  5. Replies: 0
    Last Post: 01-30-2014, 01:22 AM
  6. [SOLVED] Working Hours - excluding weekends, holidays
    By CJENKSY in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 02:12 AM
  7. Replies: 2
    Last Post: 06-14-2013, 10:45 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