+ Reply to Thread
Results 1 to 3 of 3

Time sheet total hours calculate

  1. #1
    Forum Contributor
    Join Date
    12-30-2014
    Location
    Saudi Arabia
    MS-Off Ver
    2013
    Posts
    144

    Time sheet total hours calculate

    Dear excel forum member i need emplyoee total hours i have addred morning in/out after noon in/out i need total hours per day higlighted yellow area and whole month total hours at down times sheet attached below.......... Thanks

    MUBARAK.xlsx

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,449

    Re: Time sheet total hours calculate

    Try this:

    =IFERROR(C7-B7,0)+IFERROR(E7-D7,0)

    and this:

    =SUM(F7:F37)

    All yellow cells need the custom format: [h]:mm:ss
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2021
    Posts
    968

    Re: Time sheet total hours calculate

    Hi there,

    On the Jan2021 Sheet, in cell F7 try: =SUM(MOD(C7-B7,1)*24+MOD(E7-D7,1)*24) and pull down.
    Make sure the cells are formatted as Number/Accounting (not date/time).

    Please note, the calculation will be incorrect in the OUT time is missing.
    We would have to add some validation, which could make the formula a bit more complex.
    A simpler process is conditional formatting. Column E will highlight, if there is an IN value but no OUT value. You can replicate for the other columns if required.
    Attached Files Attached Files
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

+ 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] Calculate total hours that fall between a specific time period (Over midnight)
    By nik_re in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-20-2020, 09:06 AM
  2. Replies: 1
    Last Post: 10-02-2019, 06:37 AM
  3. Replies: 1
    Last Post: 05-30-2017, 04:45 PM
  4. How to calculate total hours in a cell: Time A and P
    By AussieSF in forum Excel General
    Replies: 23
    Last Post: 04-11-2016, 06:25 AM
  5. [SOLVED] Calculate Time Left in Total Hours of Logged
    By skhari in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-12-2015, 11:39 AM
  6. Calculate total hours if time ranges overlap
    By jl_stewart in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2013, 10:21 PM
  7. Calculate total Hours between 2 date and time
    By Tylim in forum Excel General
    Replies: 3
    Last Post: 05-08-2006, 10:20 PM

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