Results 1 to 5 of 5

Using networkdays to get total hours worked during a work week in a specific time everyday

Threaded View

  1. #1
    Registered User
    Join Date
    06-15-2023
    Location
    Edmonton, Alberta
    MS-Off Ver
    Office 365
    Posts
    2

    Using networkdays to get total hours worked during a work week in a specific time everyday

    Hi,
    I'm having difficultly using the networkdays formula to get the total hours worked over a certain span of days. Please see the attachment. Our total work day is 7:30 am to 4pm monday to friday. my formula in cell D2 i though would work but it gives 20 hours when it should be 12 hours. It also screws up when the time period is over the weekend, it adds more hours in when it shouldn't. The date format in cells A2 & B2 cannot be changed as its part of a large spreadsheet everyone uses.

    Thanks for your help with this.

    Formula used: =(NETWORKDAYS(A2,B2)-1)*(C9-C8)+IF(NETWORKDAYS(B2,B2),MEDIAN(MOD(B2,1),C9,C8),C9)-MEDIAN(NETWORKDAYS(A2,A2)*MOD(A2,1),C9,C8)
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [HELP] How to work out total hours worked in a week and day.
    By Phasm Orix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-30-2021, 08:08 PM
  2. Calculate total hours worked in week by worker name
    By evgemans in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 06-23-2019, 12:24 PM
  3. (Help) Time Sheet total hours worked per day and overall week
    By SirDraco in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-10-2014, 05:35 AM
  4. Total hours worked for the week
    By bud11dy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-15-2013, 09:18 AM
  5. Replies: 3
    Last Post: 07-21-2013, 05:45 PM
  6. [SOLVED] Creating a population of total hours worked for that week ?
    By calamityjane in forum Excel General
    Replies: 8
    Last Post: 09-13-2012, 06:00 PM
  7. [SOLVED] Getting a total of hours & mins worked per week
    By big_weegie in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-16-2005, 07:05 PM

Tags for this Thread

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