+ Reply to Thread
Results 1 to 4 of 4

trying to get 12 hour time format work hours/shift, with total per week with days off

  1. #1
    Registered User
    Join Date
    01-07-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    trying to get 12 hour time format work hours/shift, with total per week with days off

    I'm trying to set up an excel sheet with the workers in my department, for each day, including days off.

    I want it to be able to show hours worked per shift (which can be a hidden column), as well as total hours worked per week. I don't want to have to use 24 hour time, as trying to convert the clockin/clock out hours to 24 hour time is annoying. I want to be able to just type in 6 in clock in, 9 in clock out, etc.

    i have a little formula that sort of works, as long as you have hours for that shift. It doesn't work for shifts where there are no hours/off day. I'd like to be able to type something in those shifts (Off/Off or 0/0, etc) for easier reading - blank spots aren't so great.

    Is there a way to get the total hours per shift to be formulated to count the hours if there are numbers, and just display "off" otherwise? I know how to make a sum formula to count up all the daily shift numbers, once I can get them to display properly.

    The hours can change from week to week, which is why I want something in the daily total that can work for numbers or for a day with no hours.

    Thanks!

    I attached a copy of the one I'm working on at the moment. The formula is =SUM((12-B12)+C12), where B and C are clock in and clock out times repectively. It works for all numbers so far, just not with text....
    schedule thing.xlsx

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: trying to get 12 hour time format work hours/shift, with total per week with days off

    I should format the data vertical instead of horizontal.

    See the attached file.

    In that format it's mutch easier to count / analize the data.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    01-07-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: trying to get 12 hour time format work hours/shift, with total per week with days off

    I was thinking something along the lines of having each daily shift totals (D, G, J, etc in my file) be formatted something like this: IF B#:C# (contains text), THEN 0, OTHERWISE (=SUM((12-B12)+C12)) etc, change for each day's block.

    or something along that line. that way, days off where it says OFF will display the number 0 in the total, which can be calculated with the SUM function correctly.

    Is something like this possible? I know you can format cells to be certain colors and such if there are certain values, im not sure how to apply it in this sense though, or if causing the cell to display something specific like that, with two different formulas trying to apply.

    Thank you!

  4. #4
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: trying to get 12 hour time format work hours/shift, with total per week with days off

    See if this works for you (attached).

    Entry area is below "official" schedule and grouped. You can hide or display with Group functions.
    Attached Files Attached Files

+ 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. Split total hours in a week to individual days
    By abyblr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-15-2013, 09:17 AM
  2. Replies: 3
    Last Post: 07-11-2012, 12:37 PM
  3. Using days of the week to compute work hours
    By ronhc213 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2008, 06:46 PM
  4. total work hours for 24 hour on-call schedules
    By Kate in forum Excel General
    Replies: 1
    Last Post: 02-06-2006, 11:10 PM
  5. Calculating a colmun to total a 40 hour work week
    By Harley mom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-20-2005, 03:45 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