+ Reply to Thread
Results 1 to 2 of 2

excel spreadsheet that totals employee hours for the week

  1. #1
    Registered User
    Join Date
    05-05-2013
    Location
    NEW BROCKTON AL
    MS-Off Ver
    Excel 2007
    Posts
    1

    excel spreadsheet that totals employee hours for the week

    I am trying to create an excel spreadsheet that will total employee hours for the week. However, we run three shifts and some employees may have several shifts performed during the week. For example, worker one may work 7 am - 3 pm on Mon, then 3 pm- 11 pm on Wed, the 11 pm - 7 am on Sat. Total hours are 24. A simple sum of (B-A)*24+(D-C)*24+(F-E)*24 will not work because it reads the sat shift as a negative number and total hours become 8. I think i need an if statement that looks to see if b is greater than a or less than a. Have tried several formulas that have been posted on other sites by other "excel experts" but have had no luck. HELP!

  2. #2
    Registered User
    Join Date
    05-04-2013
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: excel spreadsheet that totals employee hours for the week

    Hi,
    Format the date cells as "mm/dd/yyyy hh:mm" then
    A1: 05/05/2013 18:00
    A2: 05/06/2013 02:00 B2: =(A2-A1)*24 (answer = 8)

    Normek

+ 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