+ Reply to Thread
Results 1 to 5 of 5

How to Input the Vacation List into the Employee Calendar

  1. #1
    Registered User
    Join Date
    05-20-2022
    Location
    Vietnam
    MS-Off Ver
    Microsoft 2016
    Posts
    2

    How to Input the Vacation List into the Employee Calendar

    Dear all,
    Could anyone help me with this?

    Background:
    I have 2 excel sheets:
    Sheet 1 named "working schedule": include name of the employees, date of the month and type of shifts in the month (like L shift, D shift, B shift, etc)
    Capture2.PNG
    Date of the month
    Name 1 2 3 4 5 6 7
    Aby L L L L L L
    Nani D D D D D D
    Nancy B B B B B B
    Hogie D D D D D


    Sheet 2, named "Vacation tracking," includes all the holidays that employees have taken or are planning to take:

    Name date of the month Type of holiday
    Aby 5 Holiday
    Aby 7 Holiday
    Nani 1 Sick
    Nancy 7 Personal leave
    Nancy 2 Holiday

    Capture3.PNG

    The result that I want is to replace the type of holidays (in the sheet "Vacation tracking") into the working schedule (in the sheet "Working schedule") for the dates that employees have.
    Expected result as below:

    Date of the month
    Name 1 2 3 4 5 6 7
    Aby L L L Holiday L Holiday
    Nani Sick D D D D D
    Nancy B B B B B Personal Leave
    Hogie Holiday D D D

    Capture4.PNG

    Could you help advise how to do it quickly instead of replacing one by one?
    Because I need to work on replacing for the whole month with a list of many people.
    Many thanks !!!
    Attached Files Attached Files
    Last edited by Kayle123; 05-20-2022 at 12:35 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,443

    Re: How to Input the Vacation List into the Employee Calendar

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-20-2022
    Location
    Vietnam
    MS-Off Ver
    Microsoft 2016
    Posts
    2

    Re: How to Input the Vacation List into the Employee Calendar

    Hello Ali,
    Thank you for your information.
    I have added the sample workbook in the post!

    Hope can receive the reply for this excel problem soon,

    Kayle

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,654

    Re: How to Input the Vacation List into the Employee Calendar

    1. Suggest converting the ranges of data on the working schedule and vacation tracking sheets into tables.
    2. Use the following formula to fill the expected result table as modeled in rows 11:15
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: How to Input the Vacation List into the Employee Calendar

    Please try

    B3
    =IFERROR(INDEX('Vacation tracking'!$C$1:$C$6,SUMPRODUCT(MATCH(1,--('Vacation tracking'!$A$1:$A$6=$A3)*--('Vacation tracking'!$B$1:$B$6=B$2),0))),
    IF(INDEX('working schedule'!3:3,1,B$2+1)<>0,INDEX('working schedule'!3:3,1,B$2+1),""))

    Regards.
    Attached Files Attached Files

+ 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] I need to autofill a calendar (employee vacation) from a list I have
    By Reykjavik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2021, 07:45 PM
  2. Calendar Option Help for Employee Vacation Timesheet
    By ktbuggrl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2014, 02:06 PM
  3. Replies: 3
    Last Post: 10-16-2013, 09:05 PM
  4. Employee Vacation Calendar Help
    By maximus0120 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-03-2013, 05:48 PM
  5. Auto populate vacation calendar dates per employee
    By boxermack in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2013, 11:47 AM
  6. [SOLVED] 2005 Employee Vacation Calendar
    By Nettyg8 in forum Excel General
    Replies: 3
    Last Post: 02-11-2005, 04:48 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