How to Track Employee Vacation Time in Excel (With Easy Steps)

This article shows how to track employee vacation time in Excel. A proper employee vacation tracking system can help your team members track how many vacation days they have spent and how many they have remaining. Here, we will take you through an easy and convenient method on how to track employee vacation time in Excel.

Here, we have information about some employees of an organization. In the dataset, columns C, D, E, and F contain the consecutive Employee ID, Employee Name, Designation, and Total Vacation.

How to Track Employee Vacation Time in Excel

Now, we wanna create an automatic employee vacation time tracker in Excel. Before proceeding any further, save the Excel file first.

  • First, go to the File tab from the ribbon.

How to Track Employee Vacation Time in Excel Saving File

  • Secondly, choose the desired file path, give the File Name, choose Excel Workbook from the Save as Type drop-down list, and lastly, click on Save.

How to Track Employee Vacation Time in Excel Saving File

Now, the spreadsheet file is saved on our local PC.


Step 01. Inserting the Name of the Month to Track Employee Vacation Time in Excel

Here, we want to track yearly employee vacations in Excel. We will separate our tracker into 12 months and will count the vacations month-wise. Also, we’ll create a summary of the vacations for the whole year in the end. We have to insert the name of the month on the top portion of the format. To do so, follow our steps below.

  • First, select cell F2. Write down the formula below and press ENTER.
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)&" "&2022

Formula Breakdown:

This formula returns the sheet name in the selected cell.

  • CELL(“filename”,A1): The CELL function gets the complete name of the worksheet
  • FIND(“]”,CELL(“filename”,A1)) +1: The FIND function will give you the position of ] and we’ve added +1 because we require the position of the first character in the name of the sheet.
  • 255: Excel’s maximum word count for the sheet name.
  • MID: The MID function uses the text’s position from start to end to extract a specific substring.

How to Track Employee Vacation Time in Excel Putting the Name of the Month

At this point, we can see the name of our Sheet on this cell with 2022.

Note: While typing this formula, make sure to enter any cell references on this sheet. Otherwise, the formula won’t work properly. For example, here we’ve entered the reference of cell A1.

  • After that, change the name of the sheet to Jan. As we wanna make the employee vacation sheet for the month of Jan’22. We can easily see that the month’s name is automatically input into cell F2 after changing the Sheet Name.

How to Track Employee Vacation Time in Excel Putting the Name of the Month

  • After that, we have to set the starting date for this month. Select cell C4 and input the formula below.
=DATEVALUE("1"&F2)

Here, F2 represents the month of Jan 2022.

A date that is stored as text can be changed into a serial number that Excel can identify as a date using  the DATEVALUE function. Then, use the Custom Format option to show the date as in the image below.

How to Track Employee Vacation Time in Excel Putting the Name of the Month

  • After that, select cell G4 to show the ending date of that month. Write down the formula in the cell and press ENTER.
=EOMONTH(C4,0)

Here, C4 represents the starting date of the month.

The EOMONTH function is used to determine the end of the month.

How to Track Employee Vacation Time in Excel Putting the Name of the Month


Step 02. Creating Individual Date and Day

To mark the vacations, we must create different cells of different dates and days.

Follow the steps below.

  • Select cell F7. Type the formula below and press ENTER.
=C4

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • Then, press CTRL + 1 to open the Format Cells wizard. Select Custom and type d in the Type box. Next, click on OK.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • At this point, the date looks like the image below.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • To input the second date, select cell G7. Write the formula below and press ENTER.
=IF(F7<$G$4,F7+1,"")

Here, F7 and G4 represent the first date of the month and the last date of the month successively.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

Formula Breakdown:

We’ve applied a logical test using the IF function here. If the date in cell F7 is less than the month’s end date, then the formula returns the next date from the date in cell F7. Otherwise, it will show nothing.

  • Use the Fill Handle tool and drag it to cell AJ7 to exhibit the remaining days of the month.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • After that, select the columns in the F: AJ range. Then, go to the Home tab. Select Cells > Format > Column Width.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • Type 4 in the Column Width box and click on OK.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • However, we have our column at the perfect width because we will just put V into these cells.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • Later, select cell F6 and type the formula below. Then, press ENTER.
=TEXT(F7,"ddd")

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • At this point, indicate the other days till the date of 31 using the Fill Handle Tool. From the Home tab, click on the small arrow in the Alignment group > write down 90 in the Degrees box and click OK.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • However, the name of the day rotates vertically with this action.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day

  • After that, fill the cells with your preferred colors and apply All Borders to the cells.

How to Track Employee Vacation Time in Excel Creating Individual Date and Day


Step 03. Formatting Weekly Holidays

As Sunday is the weekly holiday, we don’t have to input anything into those cells. We will highlight those cells with Conditional Formatting.

  • At first, select cell F8. Then, go to the Home tab and select Conditional Formatting > New Rule.

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • At this moment, the New Formatting Rule dialog box will open. Firstly, select the options as in the image below. Then, write the formula in the formula box and click on Format.
=F$6=”sun”

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • Then, the Format Cells dialog box opens. After that, select the Fill tab > Choose your preferred color and click on OK.

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • It returns to the New Formatting Rule dialog box. After that, click on OK.

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • Now, use the Fill Handle tool to expand this formatting in cells in the F8:AJ17 range. The cells under the columns of the Sun are highlighted in red.

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays


Step 04: Inserting Vacation in Cells as V

The main objective of this article is to create an employee vacation time tracker in Excel. For this, we have to input vacation days into cells in the F8:AJ17 range.

  • Firstly, select cells in the F8:AJ17 range. Go to the Data tab and select Data Tools > Data Validation.

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • At this point, the Data Validation dialog box opens. Now, go to Settings. Select List from the drop-down list in the Allow box. Write down V in the Source box. Now, click on OK.

Here, V means “vacation”.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • Secondly, click on cell G8. You can see a drop-down list containing just V. That means we could just input this text only.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • Thirdly, place the vacation days of all individuals in their respective cells. A portion of vacation marking is like below.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • Fourthly, select the cells in the F8:AJ17 range. After that, go to the Home tab. Then, select Conditional Formatting > Highlight Cells Rules > Text that Contains.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • Then, in the Text That Contains dialog box, write down V in the Format cells that contain the text box. Choose the formatting as in the image below. Lastly, click OK.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • However, cells containing V reflect the defined highlighting.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

Read More: How to Create Employee Monthly Leave Record Format in Excel


Step 05: Counting Vacation Days and Vacations in Hand

In this phase, we’ll count the total number of vacations taken this month.

  • Firstly, select cell AK8 and type in the formula below. Then, press the ENTER key.
=COUNTIF(F8:AJ8,"V")

Here, F8:AJ8 represents the cell range to input V.

In this case, we used the COUNTIF function to count V in the above range.

How to Track Employee Vacation Time in Excel Counting Vacation Days

  • Secondly, select cell AL8. Then, type the formula below and press ENTER.
=20-AK8

How to Track Employee Vacation Time in Excel Counting Vacation Days

  • Then, format the cells with effective colors to make the data more visible.

Using COUNTIF Function

  • Finally, use the Freeze Panes tool to freeze the columns in the A:E range and freeze the rows in the 1:7 range. To do this, select cell F8 first and go to the View tab. Select Window group > Freeze Panes drop-down menu > Freeze Panes tool.

Using Freeze Pane Tool

  • The cells on the left and above F8 become frozen. It is very helpful as our sheet is expanded horizontally.

Using Freeze Pane Tool


Step 06: Following Steps 3-5 for Other Months

Now, we’ll create the same type of sheet for the remaining months of the year.

  • Initially, right-click on the Sheet Name of the Jan worksheet. Then, select Move or Copy.

Following Steps 3-5 in Other Months

  • Secondly, select the options as shown in the image below and click on OK.

Following Steps 3-5 in Other Months

  • After that, write down Feb in our 2nd Sheet Name. You can see that the worksheet is totally changed according to the February month. The weekly days were set up as consecutive dates. Also, you will notice the start and end date of the month changed automatically.

Following Steps 3-5 in Other Months

  • But we’ve to do the Conditional Formatting again to highlight the holidays. Though it’s troublesome, we’ve to do it manually for each sheet.

Following Steps 3-5 in Other Months

  • Firstly, select cell F8. Then, go to the Home tab and select Conditional Formatting > Manage Rules.

Following Steps 3-5 in Other Months

  • At this moment, the Conditional Formatting Rules Manager opens. First, choose This Worksheet from the Show formatting rules for list, and then, select the range to apply the formatting and click on OK.

Following Steps 3-5 in Other Months

  • Finally, we are successful in highlighting the weekly holidays again.

Following Steps 3-5 in Other Months

  • There is a slight change in the formula for counting the Vacations in Hand in this worksheet. At first, select cell AL8 and write down the formula below. Then, press the ENTER key.
=Jan!AL8-Feb!AK8

Here, we are subtracting the Vacation Taken in February month from the Vacation in Hand of month January.

Following Steps 3-5 in Other Months


Step 07: Creating a Summary to Track Employee Vacation Time in Excel

Lastly, we will create a summary of the whole year in a single worksheet named Summary.

  • Firstly, we calculated the Vacation Taken in the year. To do this, select cell G6 and write down the formula below. Then, press the ENTER key.
=F6-Dec!AL8

Creating a Summary

  • Finally, we showed the Vacations in Hand at the present time. Hence, select cell H6 and type the formula below. After that, press ENTER.
=F6-G6

Creating a Summary

Read More: How to Create Leave Tracker in Excel


Benefits of Employee Vacation Time Tracker

💡 As this tracker template is completely automatic, we don’t need to make a format for the month every time. We can just copy our created worksheet first and change the name of the worksheet to convert it into another month’s tracker.

💡 Also, we can use this template for other years. We just have to edit the formula in cell F2.

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)&" "&2022

In the above formula, just write 2023 in place of 2022. Magically, this template will be compatible until 2023 also.

💡 This template is completely ready to use. You can assign different Vacation days for individual employees. Just edit the cells in the F6:F15 range in the Summary worksheet.

Benefits of this Tracker

💡 Besides these, you can add more employees according to your needs. Just use the Fill Handle tool to get results in those new cells.

🌟 So, what’s holding you back? Download the template now. Use it and turn the race in your favor.


Download Practice Workbook

You may download the following Excel workbook for better understanding and practice yourself.


Conclusion

Thank you for reading this article. We strongly believe this would be beneficial to track the employee vacation time in Excel. Please let us know in the comment section if you have any queries or suggestions.


Related Articles


<< Go Back to Excel Employee Leave Tracker | Excel HR Templates | Excel Templates

Get FREE Advanced Excel Exercises with Solutions!
Shahriar Abrar Rafid
Shahriar Abrar Rafid

Shahriar Abrar Rafid, BSc, Naval Architecture and Marine Engineering, Bangladesh University of Engineering and Technology, Bangladesh, has worked with the ExcelDemy project for more than 1 year. He has written over 100+ articles for ExcelDemy. He is a professional visual content developer adept at crafting scripts, meticulously editing Excel files, and delivering insightful video tutorials for YouTube channels. His work and learning interests vary from Microsoft Office Suites and Excel to Data Analysis, VBA, and Video recording and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo