To identify the factors contributing to employee attrition within an organization and develop a dashboard in MS-Excel to assist HR and management in making data-driven decisions.
The dataset used in this project is taken from the Kaggle website.
Link-
Employee Attrition Dataset
-
Data Importing and Cleaning:
- Imported data into Excel Power Query.
- Cleaned data by removing unwanted columns, transforming data types, and handling undefined, duplicate, or null values.
-
Data Processing: Created new columns using existing data to enhance analysis by using "Conditional Column" and "Custom Column" features in Power Query.
- Age Group: Categorized into 18-30, 31-40, 41-50, and 51-60.
- Work Distance: Categorized as Near-by, Far, and Very Far.
- Monthly Income: Grouped into Less than 5k, 5k-10k, 10k-15k, and 15k-20k.
- Education Status: Translated numeric levels into degree names as per given dataset.
- Performance, Job Satisfaction, Work-Life Balance: Converted numeric levels into descriptive labels as per given dataset.
- Age Group: Categorized into 18-30, 31-40, 41-50, and 51-60.
-
Data Analysis:
- Created pivot tables and pivot charts to visualize attrition by education level, age group, gender, department, job role, monthly income and other factors.
- Slicers for gender and department were also created to enable users to interact with the dashboard and view specific subsets of data.
- Created pivot tables and pivot charts to visualize attrition by education level, age group, gender, department, job role, monthly income and other factors.
-
Interactive Dashboard:
- Designed and formatted the dashboard with charts, shapes, icons, text boxes, and slicers.
- While finalizing the dashboard, one problem was there i.e. when a filter was applied and some fields had 0 value for it, then on dashboard that field with 0 value was not appearing. This is because after applying filters the fields with 0 value disappear from pivot table as well and pivot table shrinks. And there were some formulas which use relative referencing with pivot table cells, so these formulas also become incorrect when pivot table shrinks. So, for this I took help of YouTube videos and found that it can be corrected by going to Pivot table field settings and turning ON the option "Show items with no data". But this option was greyed out, so instead I have to create a measure in pivot table so that if Employee count is blank show 0.
- Designed and formatted the dashboard with charts, shapes, icons, text boxes, and slicers.
Employee.Attrition.Analysis.Dashboard.video.mp4
- Overall Attrition:
- Employee Count = 1470
- Attrition Count = 237
- Attrition Rate = 16%
- Attrition Analysis by Category:
- Monthly Income
Highest attrition among employees earning less than 5k monthly.(163) - Job Role
Laboratory Technicians have the highest attrition = 62 (59 with Less than 5k income)
Followed by Sales Executives = 57 (10 with Less than 5k income)
Followed by Research Scientists = 47 (All had Less than 5k income)
Followed by Sales Representatives = 33 (All had Less than 5k income) - Age group
Age group 18-30 with highest number of attrition (100)
Age group 31-40 has second highest attrition (85) - Gender
Higher attrition rate among males = 150 (63%) - Education level
Bachelor’s degree holders experience the highest attrition (99). - Performance Status
Employees with Excellent performance have the highest attrition (200) - Work Distance
Employees living Near-by the office have highest attrition (133) - Business Travel
Employees who travel rarely show the highest attrition (156) - Department
Research & Development (R&D) department has the highest attrition (133).
- Conclusion
- High attrition rates are observed among Laboratory Technicians, Sales Executives, Research Scientists, and Sales Representatives (199). Out of 199, 149 had monthly income Less than 5k and 39 had monthly income between 5k-10k. Increasing the monthly income for these roles could potentially reduce attrition.
- Consider conducting exit interviews or surveys with employees in high attrition roles to understand their specific reasons for leaving.
- Developing a compensation strategy that addresses the low-income issue for roles with high attrition.
- Analyzing if younger employees (18-30) have different needs or expectations compared to older age groups and tailor retention strategies accordingly.