IntermediateData Cleaning9 min30 points

Spot duplicate order numbers with COUNTIF

The situation

An overnight import ran twice and nobody is sure how much of it doubled up. Before anyone starts deleting rows, the duplicated order numbers need marking so the team can check them against the warehouse.

A1
fx
Spot duplicate order numbers with COUNTIF — question sheet. Use the arrow keys to move between cells, Enter or F2 to edit, Escape to cancel, Control D to fill down from the cell above, and Control C and Control V to copy and paste.
Row numberABCDE
1OrderFlag
2SO-8100
3SO-8101
4SO-8102
5SO-8100
6SO-8103
7SO-8104
8SO-8102
9SO-8105
10

Functions in this exercise

  • COUNTIFCounts cells that meet one condition.
  • IFReturns one value when a test is true and another when it is false.

Who this is for