An amount ten times larger than its neighbours is usually a typing error, but it is invisible in a long column of numbers. A conditional formatting rule that colours values above a threshold makes the outliers stand out, so each one can be checked against the source.
Prerequisites
- Google Sheets
- A column of numbers with a sensible upper limit
- A copy of the source file, so the original stays untouched.
Steps
- Decide the threshold above which a value needs checking, for example 500.00 for a column of small expenses.
- Select the value column, then go to Format, Conditional formatting.
- Under Format cells if, choose Custom formula is, and enter a formula such as =A2>500, adjusted to the first cell.
- Choose a fill colour and click Done, then look for the coloured cells.
- Read each flagged value against the source and correct it or confirm it before using the sheet.
Worked example: Fictional expenses with one outlier flagged
The practice table below is a fictional five-expense list with one value over the 500.00 threshold. Each amount is one expense, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.
| Expense | Amount |
|---|---|
| Stationery | 45.00 |
| Printing | 62.50 |
| Software licence | 520.00 |
| Postage | 18.75 |
| Travel | 96.25 |
| Total | 742.50 |
Expected result. Five expenses, one value over 500.00 flagged, and the amounts add to 742.50.
Limits
- A threshold that is too low will flag genuine values, so set it from the data, not from a guess.
- An outlier can be genuine, so never delete a flagged value without checking the source.
