+ Reply to Thread
Results 1 to 7 of 7

Need formula help to calculate workdays and work hours

  1. #1
    Registered User
    Join Date
    03-22-2016
    Location
    United States, NC
    MS-Off Ver
    2010
    Posts
    40

    Need formula help to calculate workdays and work hours

    I am looking to calculate the number of days requested off excluding weekends and holidays in Column C on the Requests Sheet.


    In Column D on the Requests sheet I need the formula to calculate the number of work hours excluding weekends and holidays.

    I have attached a copy of the excel workbook for reference.
    Attached Files Attached Files

  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
    81,072

    Re: Need formula help to calculate workdays and work hours

    Please tell us what your expected results are and why? What is not working with the NETWORKDAYS formula, in your opinion?
    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
    Registered User
    Join Date
    03-22-2016
    Location
    United States, NC
    MS-Off Ver
    2010
    Posts
    40

    Re: Need formula help to calculate workdays and work hours

    It is not that the NETWORKDAYS that is not calculating correctly. I am having trouble getting the number of hours requested to calculate, I need it to calculate the number of hours requested for if it is over 24 hours and if it under 24 hours.

  4. #4
    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
    81,072

    Re: Need formula help to calculate workdays and work hours

    So what are your expected results for the two examples given?

  5. #5
    Registered User
    Join Date
    03-22-2016
    Location
    United States, NC
    MS-Off Ver
    2010
    Posts
    40

    Re: Need formula help to calculate workdays and work hours

    Quote Originally Posted by AliGW View Post
    So what are your expected results for the two examples given?
    If a person request 2 hours then in column D it would calculate 2 hours. But in Column C it would be zero days.

  6. #6
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Need formula help to calculate workdays and work hours

    No, what value do you want in cells D2 and D3 in your example worksheet, specifically?



    I think it will work out to be something like:
    Please Login or Register  to view this content.
    But I will need to clarify some assumptions, particularly if you want all the hours, or just the ones in excess of a workday.

    Also looking at this, is 7:30 to 16:00 a full workday? Cuz that's a eight-and-a-half hours, which clocks as a full 8-hour day plus a half hour lunch. Do you need to chop a half-hour off your hour count because of the break time vs. PTO thing?
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  7. #7
    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
    81,072

    Re: Need formula help to calculate workdays and work hours

    Please just answer the question. Thanks.

+ 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. [SOLVED] Need help with formula to calculate workdays
    By kterziyski in forum Excel General
    Replies: 7
    Last Post: 10-24-2017, 02:19 PM
  2. Replies: 11
    Last Post: 11-18-2016, 09:25 AM
  3. Replies: 1
    Last Post: 06-10-2016, 11:38 PM
  4. Spell Out Workdays & Calculate Work Hours
    By mycon73 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-08-2014, 01:43 AM
  5. Replies: 8
    Last Post: 06-11-2013, 05:34 PM
  6. Replies: 2
    Last Post: 03-02-2013, 10:57 AM
  7. Replies: 5
    Last Post: 06-24-2010, 06:21 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