+ Reply to Thread
Results 1 to 6 of 6

Formula help to locate work schedule day off pattern

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Formula help to locate work schedule day off pattern

    Hello, I would be grateful for some assistance. I'm looking for a formula that could identify via an excel work schedule anyone who takes three (3) of the same days off in a given month; no matter the hours, etc. The only exclusion would be for a sick or personal leave day which is represented by a "S" or "PL" or "PLv". The hours can range for instance if someone requested 3 hrs of personal leave off the code on the schedule would look like "3PL", etc. If someone were to have 3 of the same days off, I was hoping that the word "ALERT" would appear in a column off to the right of the schedule. I've attached a sample workbook. Thank you for any suggestions!

    edit: Forgot the "DO" represents the individuals normal day off and that too would need to be excluded from the formula.
    Attached Files Attached Files
    Last edited by lilsnoop; 07-01-2018 at 11:57 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Re: Formula help to locate work schedule day off pattern

    Well I've been trying to figure a work around to do what I need, but it appears I'm stuck.. I'm attaching another workbook upon which I am trying to use a sumproduct isnumber search to identify named ranges, etc for "V" and "C" on my normal schedule for each day of the week. Now I need a formula to look and add any values from CE12 through DI12 but only if there is a "Mon" in the row range from CE3 over to DI3. Any suggestions? I'm trying to put this particular formula in cell DJ12.

    Thanks for your time!
    Attached Files Attached Files
    Last edited by lilsnoop; 06-29-2018 at 03:47 PM.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Formula help to locate work schedule day off pattern

    Pl explain with more examples and details what is required.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Re: Formula help to locate work schedule day off pattern

    Kvsrinivasamurthy-Thank you for interest at looking at this problem. Initially I was trying to figure out a formula that could identify if an employee had requested the same day of the week off three or more times in a given month. The employers policy is you can only request the same day of the week off twice (example two Fridays if the employees normal scheduled days off are Saturday and Sunday, giving them a long weekend, etc.). The only exceptions to this are if an employee uses a personal leave day or sick day (symbols on schedule will contain "PL" and "S" in them).

    As I couldn't personally figure out a formula that could look at the "Mon", "Tue", "Wed", etc in one row and then the individual employee row (i.e. Test2, etc) and see if there are any vacation ("V") or compensatory ("C") time off requests that fall on the same day of the week, that exceed 3 or more times.

    When I initially posted sample 1 without any suggestions, I tried to figure a work around which is indicated in "sample2" using named ranges and sumproduct formulas to put a "1" if a "C" or "V" is located. This unfortunately resulted in me having to recreate and use a lot of cells to do this. Then in column DJ12 It was My thought to similarly as what was requested initially is have a formula that could count how many 1's were in a Monday column, Tuesday column, etc and if it had 3 or higher then I could create that "alert" notification I originally wanted if such a situation arose. Hopefully this explains a little better. I can try to post a spreadsheet with more descriptions also. Thanks again for your time looking at this.
    Attached Files Attached Files
    Last edited by lilsnoop; 06-30-2018 at 03:35 PM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Formula help to locate work schedule day off pattern

    This may be the expected formula.
    In DJ12 and dragged across.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    03-17-2007
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    951

    Re: Formula help to locate work schedule day off pattern

    Thank you so much kvsrinivasamurthy! Really appreciate the help!

+ 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. [SOLVED] Darts League Schedule - Irregular Pattern finding
    By lcartwright in forum Excel General
    Replies: 5
    Last Post: 05-05-2017, 09:54 AM
  2. [SOLVED] Shift Rotation schedule pattern filled automatic yearly
    By Shalaby in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-14-2016, 04:24 AM
  3. Not sure what formula to use to set up work schedule
    By coopman64 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-12-2013, 03:42 PM
  4. [SOLVED] work schedule - formula to determine coverage
    By peterjohnson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2012, 03:11 PM
  5. Work Schedule sign-in sheet formula
    By bacarat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-30-2007, 12:30 PM
  6. Replies: 1
    Last Post: 12-20-2005, 06:40 AM
  7. [SOLVED] Formula for a Rotating Work Schedule?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2005, 09:06 AM

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