+ Reply to Thread
Results 1 to 8 of 8

leave planner

  1. #1
    Forum Contributor
    Join Date
    12-27-2007
    Posts
    106

    leave planner

    Hi all

    I really liked the annual holiday found in:

    http://www.excelforum.com/excel-gene...e-planner.html

    I would like some tweaks done to it:
    1. Start the planner from 1st april to 31st march
    2. Have another list of all bank holidays in the year, and excel to automatically insert the relevant square with the letters "BH".
    3. I've got staff that work tuesday to saturday - so the grey squares will be for sunday and monday
    4. I've another staff that works mon, tues, thur, fri, sat - so her grey squares will be wed and sun
    5. I would like to add a description to the dates - column D - to show reason of day off and to format the squares accordingly. So if I input dates, and wrote "paid holiday" in column D: the relevant squares will go green with "PH" letters. Then there could be another instance in which I could write "unpaid sick" in column D - I would like that to show in a different coloured square with "US" letters. Again for "Paid Sick" - PS; "Unpaid Holiday" - UH, "Overtime" - then have a pop up input box to ask how many hours and to have the number of hours and the letter O in the square, e.g. lady done 4 hours overtime - to have a coloured square showing "4O". Once done to show a summary of each type of activity for each person.

    Any help will be helpful - I'll try to resolve some of these myself - but would appreciate a pointer.

    Regards

    Tony

  2. #2
    Forum Contributor
    Join Date
    12-27-2007
    Posts
    106

    Re: leave planner tweaking

    Am I asking for too much ??

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: leave planner tweaking

    the easy bit
    Start the planner from 1st april to 31st march
    just put 01/04/09 in cell q1
    then tidy up the formating(cell borders font of last days of months affected)
    for non working days you can change the formula to
    =SUMPRODUCT(($E5=SNames)*(SFrom<=F$4)*(STo>=F$4))+IF(OR(WEEKDAY(F$4,2)={6,7}),2,0) sat/sun
    =SUMPRODUCT(($E5=SNames)*(SFrom<=F$4)*(STo>=F$4))+IF(OR(WEEKDAY(F$4,2)={1,7}),2,0) mon/sun
    =SUMPRODUCT(($E7=SNames)*(SFrom<=F$4)*(STo>=F$4))+IF(OR(WEEKDAY(F$4,2)={3,7}),2,0) wed/sun
    Last edited by martindwilson; 11-07-2009 at 08:28 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Contributor
    Join Date
    12-27-2007
    Posts
    106

    Re: leave planner tweaking

    Thanks

    I've got:

    Staff AC, BY, LB, GS - working Tu,We,Th,Fr,Sa
    Staff JW - working Mo,Tu,Th,Fr,Sa
    Staff EC - working We,Fr
    Staff NM - working Mo,Tu,We,Th,Fr

    So in the formulas that you suggested above - perhaps one can replace "SNames" with the relevant staff above?

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: leave planner tweaking

    snames is a named range a4:a57 where the names are listed when leave booked
    youd need a formula as above for each of those groupings against each name that works to that pattern

  6. #6
    Forum Contributor
    Join Date
    12-27-2007
    Posts
    106

    Re: leave planner tweaking

    Hi Martin

    Thanks - I've used your formulas in the main body of the planner and all appears to be working well, so far.

    Still got a long way to go, but the basic planner is shaped well.

    Any suggestions on some of the other issues that I posted in my original posted?

    Regards

    Tony

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: leave planner tweaking

    afraid not i had alook but it would require a total rework

  8. #8
    Forum Contributor
    Join Date
    12-27-2007
    Posts
    106

    Re: leave planner tweaking

    No Way! That's a big blow!!

    As that was the main reason for my planner:
    • Keep track of holidays (paid, unpaid)
    • Track days off sick (paid, unpaid)
    • Track overtime done
    • Bank holiday interaction with holidays - as the holiday entitlement is inclusive of bank holidays

    A major blow!! Will have to sit down and re-think the whole project.

+ 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