Analysing data in Excel: sort, rank and highlight
For anyone who has the data and now has to say what it shows. You'll sort and filter, rank and find the top scores, highlight cells with conditional formatting, make your first PivotTable, and find and fix broken formulas. The project is four weeks of a café's till data, turned into the report the owner asked for: the top 5 products, a PivotTable by week and category, and the days under target highlighted.
10 lessons57 exercises30 Check questions2 free lessonsa project in Excel4 suggested CPD hours
In D2, give each employee's rank, with 1 for the highest score.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Employee | Region | Score | Rank | |||
| 2 | Grace | North | 67 | 3rd highest score | |||
| 3 | Tom | South | 54 | Top North region score | |||
| 4 | Priya | East | 88 | Top scorer | |||
| 5 | Marek | North | 72 | ||||
| 6 | Nia | East | 61 | ||||
| 7 | Ollie | South | 45 | ||||
| 8 | Lucy | South | 79 | ||||
| 9 | Hamza | North | 58 | ||||
| 10 | Rachel | East | 83 | ||||
| 11 | Sunil | North | 49 | ||||
| 12 | Tanya | South | 70 | ||||
| 13 | Will | East | 63 |
The lessons
Each lesson starts with a short worked example, then exercises on real-looking data, marked the moment you press Check, with hints when you need them. It ends with a Check: new questions on fresh data, with no hints. Pass it and the lesson is marked Secure.
- Sorting and filtering Free
Ctrl+Shift+L, filter buttons, sort A to Z, SUBTOTAL · 6 exercises · a Check of 3 questions - Ranking and top scores Pro
RANK, LARGE, MAXIFS, finding the top scorer · 4 exercises · a Check of 3 questions · guide: Rank in Excel, and find the top 5 - Conditional formatting Pro
Highlight cells rules, duplicates, top N, rules with formulas · 7 exercises · a Check of 3 questions · guide: Conditional formatting with a formula - PivotTables: your first one Free
Insert PivotTable, rows, columns, values, sum, count, average · 5 exercises · a Check of 3 questions - Find and fix Pro
Broken formulas: locking, ranges, > vs >=, numbers stored as text, TBC in a sum, extra spaces · 7 exercises · a Check of 3 questions · guide: The #VALUE! error in Excel - Review: data tools Pro
Filters, sorting, conditional formatting, PivotTables · 6 exercises · a Check of 3 questions
Extra practice
Useful, but not needed for the project.
- Lists that spill: UNIQUE, FILTER, SORT Pro
UNIQUE, FILTER, SORT, two conditions · 5 exercises · a Check of 3 questions · guide: UNIQUE and FILTER - Sorting with SORTBY Pro
SORTBY, biggest first, two sort columns, sorting by a column you don't show · 6 exercises · a Check of 3 questions · guide: SORT and SORTBY - Stacking and reshaping lists Pro
VSTACK, HSTACK, DROP, CHOOSEROWS, TOCOL, TRANSPOSE · 6 exercises · a Check of 3 questions · guide: VSTACK and HSTACK - Working on a whole column at once Pro
SUM with LEN, MAX with LEN, MONTH and YEAR on a range, SUMPRODUCT · 5 exercises · a Check of 3 questions
The project in Excel: Café sales report
Four weeks of till data from a small café. Build the report the owner asked for.
What you'll build:
- The top 5 products, ranked
- A PivotTable by week and category
- Days under target counted and highlighted
- Three formulas a colleague broke, fixed
Download the workbook and do the job in Excel. A Check sheet in the workbook ticks off each task as you get it right, and the model answers are there to compare with when you've finished. You'll need Excel 2019 or later, or Excel for the web, which is free with a Microsoft account.
Counts towards a certificate
Unit 8 is part of the Excel Advanced certificate of achievement (Units 7 to 9, 10 hours of suggested CPD). To earn it, pass the Check in every lesson of those units while signed in (reviews and extra practice aren't needed), and finish each unit's project in Excel. Our server checks the work itself. Certificates come with Pro: see how they work.
Online practice and assessment, completed without supervision. Confident Cells is independent and isn’t connected with Microsoft. This is not a formal qualification.
Guides for this topic
- #SPILL! in Excel: what it means and how to fix itWhy Excel shows #SPILL!, from cells in the way to merged cells and tables, how to fix each cause, and how to get a single answer instead. With a practice sheet.
- Conditional formatting with a formula: colour a whole rowColour a whole row, or any cell, when a formula is true: the $ that makes it work, 8 rules worth copying, Mac steps, and a free practice box to test a rule.
- DROP, TAKE and CHOOSEROWS: picking rows from a tableHow DROP leaves out rows such as a total, TAKE keeps the first or last few, and CHOOSEROWS picks rows in Excel 365. Worked examples and a practice sheet.
- MO-201 Excel Expert (Excel 2019): practice and checklistPractise for MO-201, the Excel Expert exam for Excel 2019: a free 5-task taster marked as you go, and a checklist of every exam task that ticks itself off.
- MO-211 Excel Expert (Microsoft 365): practice and checklistPractise for MO-211, the Excel Expert exam for Microsoft 365: a free 5-task taster marked as you go, and a checklist of every exam task that ticks itself off.
- Rank in Excel, and find the top 5How to rank a list in Excel with RANK, find the top 5 scores with LARGE, show the names beside them with INDEX and MATCH, and deal with ties. With practice.
- SORT and SORTBY: sorted lists that keep upHow SORT and SORTBY give a sorted copy of a list that updates itself in Excel 365: biggest first, by two columns, or a top 3 with TAKE. With a practice sheet.
- The #DIV/0! error in Excel: what it means and how to fix itWhat #DIV/0! means in Excel: dividing by 0 or an empty cell, or an average of no rows. How to show a blank or a dash instead, and when to use IF or IFERROR.
- The #NAME? error in Excel: what it means and how to fix itWhat #NAME? means in Excel: a misspelt function, text without quotes, a missing colon, an unknown name, or a newer function in older Excel. How to fix each.
- The #REF! error in Excel: what it means and how to fix itWhat #REF! means in Excel: a deleted row or column, a formula copied off the edge, or a VLOOKUP column number too big. How to find it and fix it.
- The #VALUE! error in Excel: what it means and how to fix itWhat #VALUE! means in Excel: maths with text, numbers stored as text, stray spaces and text dates. How to find the cell causing it and fix each one.
- TRANSPOSE and TOCOL: turning tables roundHow TRANSPOSE turns a table on its side and TOCOL turns a grid into one column in Excel, with UNIQUE to list each name once. Worked examples and practice.
- UNIQUE and FILTER: lists that update themselvesHow UNIQUE lists each value once and FILTER pulls out the rows that match, how the answers spill into the cells below, and how to count them. With a practice sheet.
- VSTACK and HSTACK: joining lists in ExcelHow VSTACK puts one list under another and HSTACK puts lists side by side in Excel 365, with worked examples, common mistakes and a sheet to practise on.
Questions
Do I need a PivotTable for this?
Not always. For one total for each group, SUMIFS or COUNTIFS in a small table does the job and updates by itself. A PivotTable is quicker when you want to try different views of the same data: by week, then by category, then both. This unit has your first one, and the PivotTables section goes much further.
Can I sort, filter and format in the browser?
Yes. Those lessons are done on a practice sheet with tools like Excel's, such as Ctrl+Shift+L for the filter buttons (Control+Shift+L on a Mac), and each task is checked as you go.