Lesson_02_Data_Cleaning_and_Preparations
Lesson_02_Data_Cleaning_and_Preparations
Overview
The objective of this exercise is to apply Excel data cleaning and preparation
techniques in real-time scenarios, providing an opportunity for learners to
practically engage with these tools in a context that mimics actual professional
tasks. By working through realistic examples and problems, participants can
enhance their coding capabilities and problem-solving techniques.
Instructions
1. Divide your time evenly among the questions for efficient problem-solving
2. Share ideas and solutions actively within your group
3. Use the Excel data tab functions efficiently to learn the data cleaning
techniques
Task
You have received a dataset of employee information in an Excel spreadsheet. Your
task is to perform various operations on this data using Excel's sort and filter
options to gain insights into the employee information.
Open the Employee.xlsx file to solve the scenario. The dataset consists of the
following columns:
1. Sort the data by Salary: Sort the employee data based on their salaries in
descending order
2. Sort the data by Employee Names: Sort the employee data alphabetically by
their names
3. Filter the data by Job Role: Apply a filter to display only the employees with the
job role "Developer”
4. Filter the data by Salary Range: Apply a filter to display employees with
salaries between $50,000 and $55,000
• Which data cleaning functions in Excel would you apply to solve these kinds
of scenarios?
Answer Key
1. Sort by Salary
Open Excel and select the data tab to access the sort of option. Choose the
options column as salary, sort the option as cell value, and order the option
from smallest to largest.