+ Reply to Thread
Results 1 to 4 of 4

Counting Weekends Off

  1. #1
    Registered User
    Join Date
    08-11-2007
    Posts
    51

    Counting Weekends Off

    I need help figuring out a formula.

    For this example, a weekend off will be defined as a consecutive Saturday & Sunday off. So an employee that is scheduled not to work on August 6th & August 7th would have a weekend off.

    Every person on my team needs to have at least 1 of these weekends off per month. So my main purpose of this is to ensure that I gave each employee one weekend off.

    I would like a formula in the column beside Saturdays Off & Sundays Off that looked at the entire months schedule and showed me how many "weekends" each employee has off.

    If this does not make sense let me know.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Counting Weekends Off

    So this is what I came up with from what I can follow from you, please see the attached.

    These are my assumptions:
    1. If Joe, doesn't work on the 3rd AND 4th, this is one weekend off. If in addition, he doesn't work on the 10th AND 11th, then he has a second weekend off, and if in addition to those two weekends off, he doesn't work on the 17th AND 18th, then he has a 3rd weekend off. And so forth and so forth.
    2. If he has the first Sunday (28th on your example) and the last Saturday (1st on your table), these are not counted as they are not part of the same weekend.
    3. If he is off only 1 day of the weekend, then it is not counted. Therefore, if Joe is off only for 17th but not the 18th, then he didn't have a weekend off.
    4. If Joe was off the 3rd, 10th, and 17th, then he didn't have not even 1 weekend off, as these days were not part of the same weekend.

    If the assumption are not right then, provide and answer to each of the above assumptions and we'll see if we can help you. The formulas are shown only from I3:I17.

    Hope it helps,
    Attached Files Attached Files
    Last edited by ron2k_1; 07-28-2011 at 04:51 PM.
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  3. #3
    Registered User
    Join Date
    08-11-2007
    Posts
    51

    Re: Counting Weekends Off

    Exactly what I was looking for! Many thanks!

  4. #4
    Registered User
    Join Date
    08-11-2007
    Posts
    51

    Re: Counting Weekends Off

    hello, i had to make an update to this spreadsheet on the monthly tab to include "req off"

    i looked at the formula that is counting weekends off by the word "off" and could not figure out how to make it count "off" & "req off" into the weekends off formula. any ideas?

+ 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