| Employee ID | Employee Name | Department | Salary | Hire Date |
|-------------|----------------|------------|--------|------------|
| 4 | Emily Johnson | HR | 55000 | 2017-11-20 |
| 5 | Michael Lee | Sales | 65000 | 2019-08-05 |
| 6 | Sarah Wang | Finance | 72000 | 2018-02-15 |
| 7 | Daniel Kim | Sales | 63000 | 2020-01-03 |
| 8 | Jessica Liu | HR | 58000 | 2016-09-10 |
| 9 | Ethan Chen | Finance | 68000 | 2017-06-25 |
| 10 | Sophia Brown | Sales | 70000 | 2019-04-12 |
To perform the tasks outlined in Assignment using Excel, follow these step-by-step instructions:
1. Apply Conditional Formatting:
Home
tab > Conditional Formatting
> Highlight Cells Rules
> Greater Than...
.60000
in the dialog box and choose a formatting style (e.g., light green fill).
2. Create Drop-down List for Departments:
Data
tab > Data Validation
.List
under Allow, and in the Source box, enter HR,Sales,Finance
to create a dropdown list with these departments.
3. Use VLOOKUP Function to Retrieve Department of Employee ID 2:
=VLOOKUP(2, A2:E4, 3, FALSE)
.
4. Calculate Years of Service Using DATEDIF Function:
=DATEDIF(E2, TODAY(), "Y")
.
5. Create a PivotTable for Total Salary by Department:
Insert
tab > Tables
group > PivotTable
.Sum
.