+ Reply to Thread
Results 1 to 3 of 3

schedule problem:manhours

  1. #1
    Registered User
    Join Date
    11-24-2007
    Location
    Florida
    MS-Off Ver
    Various
    Posts
    64

    schedule problem:manhours

    Hi all

    I just have what is probably a simple problem working with times to find daily manhours.

    \1

    How do I go about calculating the total manhours field?

    Any help appreciated. Thanks in advance

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,720
    You can use this formula

    =SUM(IF(ISNUMBER(C3:C6),MOD(D3:D6-C3:C6,1)))

    format result cell as [h]:mm to give a result of 21:00

    If you want the result in decimal form ,e.g. 21 or 21.5 then multiply by 24, i.e.

    =SUM(IF(ISNUMBER(C3:C6),MOD(D3:D6-C3:C6,1)))*24

    These are array formulas which need to be confirmed with CTRL+SHIFT+ENTER. To do this, select cell with formula, press F2, hold down CTRL and SHIFT keys and press ENTER so that curly braces like { and } appear around the formula in the formula bar.

  3. #3
    Registered User
    Join Date
    11-24-2007
    Location
    Florida
    MS-Off Ver
    Various
    Posts
    64
    Thank you. Exactly what I was looking for.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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