All blogs
HolidaysOctober 30, 2024· Sup Bot Team

How to create a leave tracker in Excel

How to create a leave tracker in Excel
  1. 1.Will each sheet feature a weekly or monthly tracker?
  2. 2.How much employee information are you going to add?
  3. 3.Do you want a tracker that only tracks absences, or do you also want to track other related details, such as overtime, work hours, or PTO accruals?
  • Employee Name:
    Under this column, list the full names of your team members who request leave, entered vertically.
  • Employee Email ID:
    Here, add the official email addresses of your team members next to their names. This information will be handy for sending any leave-related communications.
  • Department:
    Use this column to specify the department each team member belongs to. For now, you can leave it blank and fill it in as needed.
  • Leave type:
    This column will have the type of leave being requested-such as vacation, sick leave, or personal leave. Again, leave it blank for now.
  • Start date of the leave:
    Use this column to record the start date of each leave period once it's been requested.
  • End date of the leave:
    Similarly, use this column to note the end date of the leave period.
  • Leave status:
    This is where you’ll track the current status of the leave request (e.g., Approved, Pending, or Rejected). Leave this blank initially.
  • Total days of leave:
    This column will have data about the total days of leave that the team member has requested.
  1. 1.Select the View tab.
  2. 2.In the Window section, click Freeze Panes.
  3. 3.Finally, select Freeze Top Row.
  1. 1.Leave types:
    This first column will list all the different types of leave available in our company. Examples include personal leave, sick leave, vacation/paid time off, maternity leave, paternity leave, bereavement leave, unpaid time off, compensatory leave, and others.
  2. 2.Departments:
    The second column will contain the names of all departments within the organization, such as Software Development, Sales, Marketing, Finance, and Customer Service.
  3. 3.Leave Status:
    In this column, we’ll outline the different leave status options available. These might include "Request Pending," "Approved," or "Rejected."
  • Go to the Employee Leave Records sheet.
  • Select the first cell below the column for departments.
  • Go to the ‘Data’ tab and from the ‘Data tools’ section, select ‘Data validation’.
  • In the ‘Settings’ tab, select ‘List’ from the drop-down menu below ‘Allow’.
  • Click on the empty tab below ‘Source’.
  • Head to the ‘Leave settings’ sheet on the workbook and select all the cells with the various departments.
  • Select ‘OK’.
  • Go to the Employee Leave Records sheet.
  • Select the first cell below the column for leave types.
  • Go to the ‘Data’ tab and from the ‘Data tools’ section, select ‘Data validation’.
  • In the ‘Settings’ tab, select ‘List’ from the drop-down menu below ‘Allow’.
  • Click on the empty tab below ‘Source’.
  • Head to the ‘Leave settings’ sheet on the workbook and select all the cells with the various leave types.
  • Select ‘OK’.
  • Go to the Employee Leave Records sheet.
  • Select the first cell below the column for leave status.
  • Go to the ‘Data’ tab and from the ‘Data tools’ section, select ‘Data validation’.
  • In the ‘Settings’ tab, select ‘List’ from the drop-down menu below ‘Allow’.
  • Click on the empty tab below ‘Source’.
  • Head to the ‘Leave settings’ sheet on the workbook and select all the cells with the various leave statuses.
  • Select ‘OK’.
  • Write the text in the formula.
  • Add an open bracket.
  • Select the cell containing the start date of the leave requested.
  • Add a comma.
  • Select the cell containing the end date.
  • Add the close bracket and hit enter.
  • Go to the ‘Home’ tab.
  • Select ‘Conditional formatting’.
  • From the drop-down menu, pick ‘New rule’.
  • Under ‘Select a rule type’, select ‘Format only cells that contain’.
  • Below ‘Format only cells with’, select ‘Specific text’.
  • In the tab next, select ‘Containing’.
  • In the tab next, type ‘Request pending’.
  • Click on the ‘Format’ button below.
  • Go to the ‘Font’ tab and select the white color.
  • Go to the ‘Fill’ tab and select the red color.
  • Click OK.
  • Click OK again.
  • Go to the ‘Home’ tab.
  • Select ‘Conditional formatting’.
  • From the drop-down menu, pick ‘New rule’.
  • Under ‘Select a rule type’, select ‘Format only cells that contain’.
  • Below ‘Format only cells with’, select ‘Specific text’.
  • In the tab next, select ‘Containing’.
  • In the tab next, type ‘Approved’.
  • Click on the ‘Format’ button below.
  • Go to the ‘Font’ tab and select the white color.
  • Go to the ‘Fill’ tab and select the green color.
  • Click OK.
  • Click OK again.
  • Go to the ‘Home’ tab.
  • Select ‘Conditional formatting’.
  • From the drop-down menu, pick ‘New rule’.
  • Under ‘Select a rule type’, select ‘Format only cells that contain’.
  • Below ‘Format only cells with’, select ‘Specific text’.
  • In the tab next, select ‘Containing’.
  • In the tab next, type ‘Rejected’.
  • Click on the ‘Format’ button below.
  • Go to the ‘Font’ tab and select the white color.
  • Go to the ‘Fill’ tab and select the black color.
  • Click OK.
  • Click OK again.
  1. 1.In the first sheet, add headings for Employee name, Employee email ID, Department, Leave type, Start date of the leave, End date of the leave, Total days of leave, and Leave status. Freeze this row.
  2. 2.Add the details for leave types, departments, and leave status in the second sheet.
  3. 3.Use data validation to create drop-downs for the department, the leave types, and the leave status.
  4. 4.Use the formula for Net Working Days.
  5. 5.Set up conditional formatting for leave statuses.
  1. 1.Add the start date and the end date of the leave request in separate cells along the same row for an individual team member.
  2. 2.In the designated cell for calculating the days of absence, write this formula: =NETWORKDAYS( B2,C2), where B2 is the cell containing data for the start date and C2 is the cell containing data for the end date.
  3. 3.To input the cell numbers in the formula, you can either write their numbers or click on them.
  4. 4.Press enter.
  1. 1.Set up the leave tracker in Excel using the steps mentioned above.
  2. 2.Add the name of the team member and the dates of leave requested.
  3. 3.Select the department of the team member and the requested leave type from the respective drop-down menus.
  4. 4.Calculate the days of leave using the formula: =NETWORKDAYS( E2,F2), where E2 is the cell containing the start date and F2 is the cell containing the end date.
  5. 5.Approve or reject the leave request by selecting the required option from the drop-down menu for leave status.