+ Reply to Thread
Results 1 to 23 of 23

how to link holiday tracker & calendar

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    how to link holiday tracker & calendar

    Hi guys,

    I’m currently in the process of creating a holiday tracker/calendar. I’ve attached an example of the tracker below.

    I use “sheet 1” to input the various holidays/sick days etc. for the all the employees.

    This then feeds into the holiday tracker which calculates the individuals holiday balance.

    I now want to data from Sheet 1 to feed into the January calendar. For example I want to see Johns Holiday shown in the calendar under Tuesday 3rd Jan. Does any one know how I can do this please or suggest a better way of executing this.

    Many thanks

    Harry
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    I would suggest that you change the orientation of Sheet1 and make this a list where you enter the name of the employee, the type of leave and start and end date. You can then derive the calendar and the holiday tracker from this. For the calendar view, rather than have one sheet for each month, you might like to think about being able to select the month (and year) from a couple of drop-downs on a single sheet, and you could also have another drop-down to be able to filter the Team (e.g. Finance).

    I have submitted a number of calendar files to the forum - check out the one attached to this thread:

    http://www.excelforum.com/showthread.php?t=1097399

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    Thanks for this Pete. I'm still struggling to get it to work.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    What do you need help with?

    Pete

  5. #5
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    Sorry how do i change the dates to 2017 - 2020? Also is it possible to input date ranges?

    Thank you very much for your help, it is much appreciated.
    Last edited by Harry Basra; 01-25-2017 at 06:03 AM.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    Cell K6 in the Calendar sheet contains a data validation drop-down to enable you to select the year - it is set up to allow you to choose from 2014 to 2019, but you can change this quite easily. Select that cell and click on Data | Data Validation (twice) and then you will see the list of years in the Source box, separated by commas. Just delete the ones you don't want and add others to the list, separating them by commas, then click OK.

    I played about with this last night after posting to you and put your data into the file in the format required, so if you want to see that then let me know.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    Hi Pete,

    Thank you very much. Yes please if you could show me that would be great.

    This has been a massive help

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: how to link holiday tracker & calendar

    The Dates box in the calendar have merged cells so it is difficult to copy and paste the formula so please rove the merges and attach a new excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    Okay, file attached. You will see that I've added all the Bank Holidays for this year in the Leave_booker sheet and then listed the leave/sickness as they occur. You only need to record the name, leave_type and the start-date, but if it lasts for more than one day you can also record the end-date. The codes for the leave_types are defined at the bottom of the summary table at the end of the Calendar sheet, so you can change these to suit.

    Hope this helps.

    Pete
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    This is brilliant, Thank you very much Pete, i've been trying to get this right for ages

    Much appreciated

  11. #11
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  12. #12
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    One last thing Pete then i'll leave you alone. I'm trying to move the totals table underneath the calendar to a different tab named "tracker". However when i copy the table over and try to change the formulas the table stops picking up the values in the leave booker.

    I've tried to change the formula however it's still not working?!

    Thank you

  13. #13
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    Hi Harry,

    Sorry for the delay in replying - I've been out. I think the attached file is what you are trying to do - I cut and pasted the table to another sheet (Tracker) and gave it a heading.

    Note that this display changes with the month and year selected in the Calendar sheet, which is why I had it in that sheet in the first place. You might like to have a similar table below which shows the cumulative totals for the current year, so it is independent of the month chosen. If you take this route, however, you need to be aware that staff will usually book summer holidays well in advance, so if you are using this in April, say, the totals might look a bit distorted as the summer holidays will not have been taken by then.

    Note also, that the leave_types are now defined in the Tracker sheet, rather than in the Calendar sheet.

    Hope this helps.

    Pete
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    Thanks again Pete. Works great!


    Is it possible to show the type of leave type in the calendar?. Currently it is only showing the name under the relevant date. However I’m trying to show the name and the type of leave.

    I tried to amend the index match to pick up the “Name & Leave type” on the Leave booker. However I can’t get it to return both.

    Is there anyway to do this. After this it should be complete

    Many thanks

    Harry

  15. #15
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    If you display the full description of the type of leave as well as the name, then it might become a bit cramped on the calendar. If you only want to display the code for the type of leave, then I think the easiest approach would be to change the formula in cell K2 of the Leave_booker sheet to this:

    =IF(OR(J2="",J2="-"),"",INDEX(A:A,J2)&" - "&INDEX(B:B,J2)&"")

    and copy this down by double-clicking the fill handle on that cell. You might also want to remove the leave type in column B for the Bank Holidays.

    As I said before, you can change the codes used for leave-types in row 26 of the Tracker sheet, so you can use something that makes sense to you.

    Hope this helps.

    Pete

  16. #16
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    I managed to get this far last night. However the above formula doesn't feed into the tracker. It populates the calendar correctly, however its stopped feeding into the tracker now.
    I've attached an example below.

    Sorry to keep going on.

    Many thanks
    Attached Files Attached Files

  17. #17
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: how to link holiday tracker & calendar

    Dear Harry
    In your file some mismatch. I workout i tracker sheet & modified formula's (INDEX / MATCH/ COUNTIFS)
    Also add new sheet "Holiday"
    One clarification regarding in your sheet you mentioned "Discretion" column. Can you explain on what base calculated.
    Plz look attach file.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  18. #18
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    I've made the necessary changes to the Tracker sheet and copied the formulae down, so now you just need to list the names and their leave allowance in columns D, E and F.

    I've also amended the Leave_booker sheet so that you now have drop-downs on the Name and Leave_type columns (A and B), and I've put some dummy data in to test out the Tracker sheet.

    I think this is everything now - if so, please see Post #11.

    Pete
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    thanks for this AVK.

    Do you know how i would exclude Saturday & Sunday from the calendar & tracker. As it is currently counting Sat & sun as a working day?

    Many thanks

  20. #20
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    thanks for all your help

  21. #21
    Registered User
    Join Date
    06-11-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 365
    Posts
    85

    Re: how to link holiday tracker & calendar

    Hi Pete,

    I was wondering whether you could help me on one last thing please?

    I’ve noticed the calendar included Saturdays and Sundays when entering dates in the booker.

    Is there anyway to amended the calendar to only show the leave type during the working week (Mon – Fri) at all?

    Many thanks

    Harry

  22. #22
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,711

    Re: how to link holiday tracker & calendar

    On the Calendar sheet you could just hide the columns for Saturday and Sunday (don't delete them, as this will mess up the formulae).

    If someone books holiday for say Wednesday to the following Monday (inclusive), then you should enter this as from Wednesday to Friday and a separate entry for Monday, otherwise the summary table will include 2 days for the weekend.

    Hope this helps.

    Pete

  23. #23
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: how to link holiday tracker & calendar

    you can define those sat & sun.

+ 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] How to link holiday tracker & Calendar
    By Harry Basra in forum Excel General
    Replies: 1
    Last Post: 01-20-2017, 05:23 PM
  2. [SOLVED] Holiday Tracker
    By Kris_2999 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2014, 03:34 PM
  3. Holiday planner/tracker
    By ukphoenix in forum Excel General
    Replies: 6
    Last Post: 04-16-2012, 07:37 AM
  4. Holiday Leave Tracker Help
    By subtilty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-30-2011, 10:39 AM
  5. Holiday Tracker
    By Benjamin2008 in forum Excel General
    Replies: 4
    Last Post: 02-06-2010, 08:38 AM
  6. Employee Holiday Tracker
    By Benjamin2008 in forum Excel General
    Replies: 4
    Last Post: 02-05-2010, 11:07 AM
  7. holiday tracker
    By vikfowler in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2008, 06:27 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