Data Management Exercise Question 2
Data Management Exercise Question 2
Filtering
Creating a CSV file use a text editor or a spreadsheet software like Microsoft Excel or Google Sheets.
Enter Data:
In the first row, enter the column headers: "Student ID," "Name," "Age," and "Score."
Below the headers, enter sample data for a few students.
Student ID Name Age Score
101 John Doe 20 85
102 Jane Smith 22 90
103 Mark Johnson 21 78
Save as CSV:
If you receive a warning about changing the format, click "Yes" or "OK." This is because CSV
doesn't support some Excel features like multiple sheets.
Step 4: Sorting
6. Sort Data:
- Select the data range.
- Click on the "Sort" button in the toolbar.
- Choose to sort by the "Age" column in ascending order.
Step 5: Filtering
7. Apply Filters:
- Select the data range.
- Click on the "Filter" button in the toolbar.
- Use the filter dropdowns to filter data, e.g., show students with scores above 80.
8. Advanced Filtering:
- Click on "Advanced Filter" in the "Data" tab.
- Set criteria to filter students who are both above a certain age and have a score above a specified
value.