| Before Formatting | After Formatting | Final Output |
|---|---|---|
| ![Before][!Question_Image] |
- Question Img
- Solution Img
- Question Img
02. Solution Img
- Final Solution Img
This project demonstrates advanced Excel IF condition formulas to automate employee classification, performance evaluation, and promotion eligibility based on multiple criteria.
Through this project, I mastered complex nested IF conditions in Excel to create dynamic employee management systems that automatically categorize and evaluate staff based on multiple business rules.
The project uses an employee database with the following columns:
- Department ID & Name: Organizational structure
- Annual Salary Budget (USD): Department budget allocation
- Years with Company: Employee tenure
- Performance Score: Rating scale (1-10)
- Employee Type: Senior/Junior classification
- P.Status: Performance status (Best/Good/Average/Poor)
- Promotion: Eligibility (Yes/No)
Formula Used:
=IF(D2>=3, "Senior", "Junior")
Logic:
- Employees with 3+ years experience β Senior
- Less than 3 years β Junior
Insight: Automatically classifies 28 departments based on tenure, creating clear seniority levels.
Formula Used:
=IF(E2>=8, "Best", IF(E2>=6, "Good", IF(E2>=4, "Average", "Poor")))
Logic:
- Performance Score β₯ 8 β Best
- Performance Score β₯ 6 β Good
- Performance Score β₯ 4 β Average
- Performance Score < 4 β Poor
Insight: Creates 4-tier performance classification system. From the data:
- Best performers: Financial Planning (10), Corporate Affairs (10), Budgeting (9)
- Poor performers: Executive Management (2), Human Resources (2), Recruitment (2)
Formula Used:
=IF(AND(E2>=5, D2>=4), "Yes", "No")
Logic:
- Performance Score β₯ 5 AND Years with Company β₯ 4 β Eligible for promotion
- Otherwise β Not eligible
Complex Conditions:
- Requires BOTH criteria to be met simultaneously
- Uses AND function within IF statement
Insight: Out of 28 departments analyzed:
- Eligible for promotion: 18 departments (64%)
- Not eligible: 10 departments (36%)
Notable promotion-ready departments:
- Financial Planning and Analysis (10 score, 16 years)
- Compensation and Benefits (9 score, 20 years)
- Cost Accounting (9 score, 14 years)
Created multi-level conditional logic to handle 4 different performance tiers:
IF(condition1, result1, IF(condition2, result2, IF(condition3, result3, result4)))
- AND(): Combined multiple conditions for promotion eligibility
- Comparison operators: >=, >, <, = for threshold evaluation
Integrated multiple IF conditions across columns to create interconnected classification systems.
- Best (β₯8): 7 departments
- Good (6-7): 5 departments
- Average (4-5): 9 departments
- Poor (<4): 7 departments
- All employees classified as Senior (all have 3+ years experience)
- Longest tenure: Executive Management (21 years)
- Shortest tenure: Corporate Strategy (1 year), Taxation (1 year)
- Finance: $1,500,000
- Operations: $1,300,000
- Executive Management: $2,500,000
- Legal: $1,000,000
Departments with both high performance AND promotion eligibility:
- Financial Planning and Analysis (Score: 10)
- Budgeting (Score: 9)
- Compensation and Benefits (Score: 9)
- Cost Accounting (Score: 9)
β
Nested IF Conditions: Multi-level decision trees
β
Logical Operators: AND, OR conditions
β
Threshold-based Classification: Performance tiers
β
Business Rule Implementation: Promotion eligibility logic
β
Data Analysis: Extracting insights from classification results
β
Formula Debugging: Testing edge cases and boundary conditions
This formula system can be applied to:
- Employee performance reviews
- Promotion eligibility screening
- Salary increment calculations
- Workforce planning and classification
- HR analytics dashboards
- Automated reporting systems
excel =IF(E2>=8, "Best", IF(E2>=6, "Good", IF(E2>=4, "Average", "Poor")))
**How it works:**
1. First check: Is score β₯ 8? β Return "Best"
2. If not, check: Is score β₯ 6? β Return "Good"
3. If not, check: Is score β₯ 4? β Return "Average"
4. If none match β Return "Poor"
---
## Key Learnings
### 1. Nested IF Structure
Understanding the logic flow:
- Excel evaluates conditions from left to right
- First TRUE condition stops evaluation
- Important to order conditions from highest to lowest
### 2. AND Function in IF
Combining multiple criteria:
```excel
=IF(AND(condition1, condition2), "Yes", "No")
- ALL conditions must be TRUE
- Perfect for complex business rules
- Automated employee classification
- Performance-based decision making
- Scalable to thousands of records
- Easy to audit and modify
- Add SWITCH function for cleaner performance tiers
- Implement IFS function (Excel 2019+) for simplified nested logic
- Create dynamic thresholds using named ranges
- Add COUNTIF analysis for distribution statistics
- Build dashboard with conditional formatting
Microsoft Excel Functions: IF, Nested IF, AND Data Analysis: Classification, Performance Evaluation
If you found this project helpful or want to discuss Excel automation:




