How to Track Employee Vacation Time in Excel: 7 Methods

Method 01 – Inserting the Name of the Month to Track Employee Vacation Time in Excel

  • 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 ] 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

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.

  • Change the name of the sheet to Jan. Make the employee vacation sheet for the month of Jan’22. 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

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

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. 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

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

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


Method 02 – Creating Individual Date and Day

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

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

  • Press CTRL + 1 to open the Format Cells wizard. Select Custom and type d in the Type box. Click OK.

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

  • 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,"")

F7 and G4 represent the first date of the month and the last date of the month.

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

  • Select the columns in the F: AJ range. 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

  • 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

  • Select cell F6 and type the formula below. Press ENTER.
=TEXT(F7,"ddd")

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

  • 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

  • The name of the day rotates vertically with this action.

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

  • 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


Method 03 – Formatting Weekly Holidays

  • 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

  • The New Formatting Rule dialog box will open. Select the options as in the image below. 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

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

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • It returns to the New Formatting Rule dialog box. Click OK.

How to Track Employee Vacation Time in Excel Formatting Weekly Holidays

  • 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


Method 04 – Inserting Vacation in Cells as V

  • 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

  • The Data Validation dialog box opens. Go to Settings. Select List from the drop-down list in the Allow box. Write down V in the Source box. Now, click OK.

V means “vacation”.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • 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

  • 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

  • Select the cells in the F8:AJ17 range. Go to the Home tab. Select Conditional Formatting > Highlight Cells Rules > Text that Contains.

How to Track Employee Vacation Time in Excel Inputting Vacation Days

  • 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

  • Cells containing V reflect the defined highlighting.

How to Track Employee Vacation Time in Excel Inputting Vacation Days


Method 05 – Counting Vacation Days and Vacations in Hand

  • Select cell AK8 and type in the formula below. Press the ENTER key.
=COUNTIF(F8:AJ8,"V")

F8:AJ8 represents the cell range to input V.

We used the COUNTIF function to count V in the above range.

How to Track Employee Vacation Time in Excel Counting Vacation Days

  • Select cell AL8. Type the formula below and press ENTER.
=20-AK8

How to Track Employee Vacation Time in Excel Counting Vacation Days

  • Format the cells with effective colors to make the data more visible.

Using COUNTIF Function

  • Use the Freeze Panes tool to freeze the columns in the A:E range and freeze the rows in the 1:7 range. 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


Method 06 – Following Steps 3-5 for Other Months

  • Right-click on the Sheet Name of the Jan worksheet. Select Move or Copy.

Following Steps 3-5 in Other Months

  • Select the options as shown in the image below and click OK.

Following Steps 3-5 in Other Months

  • 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. You will notice the start and end date of the month changed automatically.

Following Steps 3-5 in Other Months

  • The Conditional Formatting again highlights the holidays. We’ve got to do it manually for each sheet.

Following Steps 3-5 in Other Months

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

Following Steps 3-5 in Other Months

  • The Conditional Formatting Rules Manager opens. Choose This Worksheet from the Show formatting rules for list, and select the range to apply the formatting and click OK.

Following Steps 3-5 in Other Months

  • We highlighted 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. Select cell AL8 and write down the formula below. Press the ENTER key.
=Jan!AL8-Feb!AK8

We are subtracting the Vacation Taken in February month from the Vacation in Hand of month January.

Following Steps 3-5 in Other Months


Method 07 – Creating a Summary to Track Employee Vacation Time in Excel

  • We calculated the Vacation Taken in the year. Select cell G6 and write down the formula below. Press the ENTER key.
=F6-Dec!AL8

Creating a Summary

  • We showed the Vacations in Hand at the present time. Select cell H6 and type the formula below. Press ENTER.
=F6-G6

Creating a Summary


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. Copy our created worksheet first and change the name of the worksheet to convert it into another month’s tracker.

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.

This template is completely ready to use. Assign different Vacation days for individual employees. 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.


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