Module 16 · Job Tests
Clean the export

Round four is about data cleaning. Meridian sends a customer export from its old system. The names have extra spaces and random capitals. The account column mixes the account ID and the company name. The task: clean both columns, then sort the list by revenue. Jamal sets the egg timer to 8 minutes.
Steps
Clean names and IDs with formulas
TRIM removes extra spaces. PROPER fixes the capitals. TEXTBEFORE returns the text before a delimiter, for example before " - ".
How to do it
- Select the first cell of the column.
- Type =PROPER(TRIM( and the cell with the name. Close both brackets.
- Press Enter.
- Select the formula and the cells below it.
- Press Ctrl+D.
- TEXTBEFORE needs two values: the text and the delimiter. Put the delimiter in quotation marks, with its spaces.
=PROPER(TRIM(B5))Task: Put the account ID of each customer in F5:F12. The ID is the part before " - " in column C, for example MER-2041.
Sort with one click
Sort A to Z and Sort Z to A sort the whole list by the column of the active cell. Formulas move with their row.
How to do it
- Click one cell in the column to sort by.
- On the Data tab, in the Sort & Filter group, click Sort A to Z.
- For numbers, Sort Z to A puts the largest number at the top.
Aisha Khan, Emma O'Brien, Liam Brennan …Task: The test asks for the biggest customers first. Sort the list by revenue, largest to smallest.