+ Reply to Thread
Results 1 to 4 of 4

Total number of hours by person from a weekly schedule

  1. #1
    Registered User
    Join Date
    08-15-2010
    Location
    Lincoln, RI
    MS-Off Ver
    Excel 2010
    Posts
    10

    Total number of hours by person from a weekly schedule

    I am doing more work on my weekly time schedule. As this forum has been very helpful in helping me figure out the number of hours a person has worked in the week, I am now struggling to figure out how to total the number of hours a person has worked in a week when the person has taken on different responsibilities and on different days.

    I have uploaded a sample of my spreadsheet where, for example, I am trying to total the number of hours Lisa H has worked which totals 18 hours. I would like to see how I can capture these hours by person on another tab.

    I welcome any suggestions and possible programming that may be needed.

    Thanks, Jeng13
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Total number of hours by person from a weekly schedule

    Have a look at the last sheet in the attached. Is that what you mean?

    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-15-2010
    Location
    Lincoln, RI
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Total number of hours by person from a weekly schedule

    Hey BSB,

    This is exactly what I needed. I'm trying to understand how your formula works and it is amazing! Thank you so much as this will help me start to work on my next hurdle with this schedule.

    Thank you so much, Jeng13

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Total number of hours by person from a weekly schedule

    Hi Jeng13,

    There's no real mystery behind the formula. Just one of those things you either know or you don't.

    To try and explain it simply, SUMIF/SUMIFS works in a similar way to filtering data and summing a range within the results.

    For example, if your data contained details of all households in Rhode Island and you had details of the relevant city in ColA and number of children in each household in ColB. If you filtered to all addresses in Lincoln and where the number of children present was great than none, summing the result of the visible rows in colB would give you your answer.
    EG:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    (To all you Excel pedants out there, yes I know filtering A and summing B without filtering to <>0 would give the same result. I was stuck for a decent example so let it slide!)

    For this to work it relies on the ranges being of the same size (in this case, lengthwise).
    So this would work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Whereas this would not:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    These ranges can be two dimensional and therefore cover more than one column as well as more than one row. As long as the ranges are the same size, they can be offset from each other.

    In your example, you have employee names in every 4th column starting from colB and hour totals in every 4th column starting from colE. SO by referring to ranges from the first employee name column to the last employee name column and and equally sized sum range starting at the first hours column to the last, Excel does all the hard work and sums up just what you need.

    There are FAR better explanations out there than mine so I'd suggest hunting them down if you really want to grasp how this works. A forum search of "Two dimensional SUMIF" may result in something useful. Failing that there are plenty of decent Excel websites out there to help.

    Hope that helps a little.

    BSB

+ 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. Creating a Bi-Weekly Work Schedule with Total Hours.
    By DauntlessDS in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-31-2015, 07:53 PM
  2. Replies: 0
    Last Post: 02-07-2013, 08:42 PM
  3. Weekly schedule to add up hours to be worked
    By Dxysis3 in forum Excel General
    Replies: 0
    Last Post: 03-19-2012, 11:18 PM
  4. Find total time taken by each person to process total number of letters.
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-07-2010, 10:04 AM
  5. Total schedule hours
    By dude2125 in forum Excel General
    Replies: 9
    Last Post: 12-14-2007, 09:54 AM
  6. [SOLVED] Does anyone have a weekly schedule that computes total hours work
    By Guillermo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-03-2006, 01:10 AM
  7. Replies: 1
    Last Post: 09-14-2005, 12:05 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