+ Reply to Thread
Results 1 to 3 of 3

Leave tracker with different leave year start dates for different employees

  1. #1
    Registered User
    Join Date
    03-08-2018
    Location
    Derbyshire, England
    MS-Off Ver
    Excel 2016, Office 365
    Posts
    33

    Leave tracker with different leave year start dates for different employees

    Hi,

    I'm currently working on an attendance tracker/leave tracker for my manager, and I've put one together (at least the attendance part of it). Where I'm stuck though is on adding a leave tracker to it. I know there are loads of leave tracker templates available online, but I can't find anything that fits my needs.

    I can count the number of days annual leave an employee takes, which I can pick up from the attendance tracker worksheet, and pick up the leave allocation for each employee from a configuration page I've built into it, but I have 3 problems which are complicating matters:
    • - as we're on flexi-time our work year isn't divided into months, it's divided into 13 'flexi-periods' (each of 4 weeks) for each year, which rarely fall in line with the months the rest of the world uses! The attendance tracker uses these 'flexi-periods', in line with our timesheets, but annual leave years work from the beginning or end of months
    • - in addition to an annual leave entitlement, staff can also take up to 2 'flexi-days' off per flexi-period (pro-rata'd for part-time employees) provided they've accrued enough hours to still be within the permitted range of hours, positive or negative, against their contracted hours (again, pro-rata'd for part-time employees). Ideally, as well as annual leave, I'd like to incorporate the number of flexi-days an employee's taken, though it would only be a case of counting how many they've taken as timesheet details are stored on a corporate system which I can't access employees' timesheet data from, so I wouldn't be able to check their eligibility to take flexi-leave, so that bit is probably a non-starter
    • The largest problem though is that each employee can have a different start date for their 'leave year' (as apparently it makes life easier for the admin support staff as they don't have to set-up and send out 1000+ leave cards all in the same
    • month), so now your leave year starts at the beginning of the month in which you started working for the company! At any point in the flexi-year, which runs usually February - February, an employee could have just started their new 'leave year', be just ending their 'leave year', or be at any point in the middle of it. We're currently in flexi-period 8, and realistically by the time I've finished putting the spreadsheet together and properly tested it, it's going to be flexi-period 9 before it's ready for use, so I have to account for an employee's current leave balance, possibly any leave carried over from their previous 'leave year', and also having to probably add in a new 'leave year's' worth of leave at any point in the year. The idea of the leave tracker really is so that the manager can make sure staff are using leave throughout the year and not just taking large blocks of leave at the beginning or end of the leave year, and to warn the manager if an employee's still got a large proportion of their leave entitlement left as it gets closer to the end of their leave year.


    I can count the number of leave days taken per flexi-period, and the number of flexi-days taken per flexi-period, but what I'm struggling to figure out is how to deal with calculating and showing how much leave an employee's taken against their entitlement, especially with having to add a new year's entitlement in at some point in the year. It would be easier if I hard-coded it, but I'm trying to keep it as dynamic as possible, with all the required set-up information entered on a single configuration page, which populates the other sheets and tables as needed.

    At this point I'd really just appreciate any suggestions as to how you'd tackle this. I've attached an anonymized copy of
    the spreadsheet as it is currently, obviously without any leave-tracking component. I'm either missing something blindingly obvious, or I'm missing some sort of gigantic stumbling block, but I just can't get my head round the problem of the mis-match between months and flexi-periods and adding in a new leave entitlement potentially in the middle of the year. Any suggestions as to how you'd tackle it (or not!) appreciated.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Leave tracker with different leave year start dates for different employees

    The first suggestion is to get all the data into one place instead of across multiple sheets. Then normalize the data. By normalizing I mean, formatting it like:
    Date | Employee | Event

    For example
    9/10/2018 | Michael Mouse | W

    At first, normalized data does not look as intuitive as "flat" data. Flat data is what you want to see as the final report, but it is not easy to manipulate as normalized data. You can make a report that looks like the data you have presented from normalized data, but normalized data is far more flexible for additional reporting formats.

    Data entry into a normalized format isn't difficult. You only enter data for events that actually happen. So if Mr. Wonka takes leave on 9/15, you make one entry: 9/15 | Wonka | Leave. You don't have to make entries for the other 29 days. Likewise, you don't have to find the correct sheet, go down the column containing the names and go over exactly 15 columns to put the "X" in the right cell.

    This is especially true in your case. A normalized database can generate a report by flexi-period or by calendar month.

    Pivot tables built on normalized data can be used to compute any kind of time logged in any imaginable time period. You can filter by person and the kind of time taken or summarize a count of people by the kind of time taken.

    Computing leave remaining is a matter of (Previous Accrual - SUM(leave taken) + if (Date > Anniversary, New Accrual, 0))
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    03-08-2018
    Location
    Derbyshire, England
    MS-Off Ver
    Excel 2016, Office 365
    Posts
    33

    Re: Leave tracker with different leave year start dates for different employees

    Many thanks for your response, and my apologies for not responding for so long (personal issues have dragged me away from Excel). I think I've seen an example of that, where it was formatted Date | Employee | Event. I'll have a look at that more detail.

    My manager's happy with just the attendance tracker part of it at the moment, so I have the leave calculator part of it on hold for now. I'm hoping to get that set up for the new flexi year, which starts in February, so I'll start looking at this again in earnest in the new year.

+ 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] Leave tracker - how to use formula to automate the total leave days
    By yiyi2 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-16-2018, 10:59 PM
  2. Leave Tracker
    By markusvirus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2017, 02:07 AM
  3. Help build a Leave tracker and Effort Time Estimation Tracker
    By cherias in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2015, 02:10 PM
  4. Replies: 5
    Last Post: 03-03-2015, 01:38 PM
  5. Replies: 3
    Last Post: 10-13-2012, 08:09 PM
  6. Leave Tracker
    By liarliar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-24-2008, 01:00 PM
  7. leave tracker
    By jprakash4u in forum Excel General
    Replies: 2
    Last Post: 03-25-2008, 12:32 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