+ Reply to Thread
Results 1 to 2 of 2

Tracking Hours from Employee Calendar

  1. #1
    Registered User
    Join Date
    06-25-2010
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Tracking Hours from Employee Calendar

    Hello All,

    I am in the process of creating an interactive calendar for my business and want to be able to track the total number of hours an employee works in a given month. I am using drop-down menus throughout the calender to input employees.

    On a separate worksheet I would like to be able to select an employee from a drop-down menu and see their entire hours for the month appear next to their name. I've seen this done on other excel workbooks but haven't been able to figure it out.

    Also the hours of each shift vary each day and are being input with drop-down menus. How can I have the workbook first calculate the length of the shift, and then add all that persons shifts together to then provide the monthly total?

    I'm sure I didn't describe that as clearly as I could have so I've attached the file for your reference.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Tracking Hours from Employee Calendar

    You don't need me to tell you the layout of your July sheet is not conducive to simplistic analysis.

    Based on the file (and the fact that dates outside the month of interest do not have values)

    'July Stats'!C4:
    =SUM(IF((July!$B$3:$AB$45=$B4)*ISNUMBER(July!$C$4:$AC$46-July!$B$4:$AB$46),MOD(July!$C$4:$AC$46-July!$B$4:$AB$46,1)))
    confirmed with CTRL + SHIFT + ENTER
    copied down
    (apply custom number format of [hh]:mm)

    Note the above is an Array and must be confirmed as outlined - Enter alone will not suffice.

+ 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