WPS Spreadsheet desktop (documented interface; build unverified) · Data cleanup · Beginner
Highlight duplicate order numbers in WPS Spreadsheet
Mark repeated order IDs in the intended range and distinguish all duplicate occurrences from later repeats without deleting records.
Official documentation reviewed; examples independently checked; not tested in WPS Spreadsheet · Editorial standards
Quick answer: Select the order-number cells and use WPS’s documented Data → Highlight Duplicates → Set command. Review the marked values before deciding whether any records are erroneous. A repeated order number can legitimately represent several line items.
Start with a controlled example
Download synthetic order numbers. It has eight data rows and two columns, OrderID and Item. Import it at A1:B9; A9 is deliberately blank. The IDs in A2:A8 are:
ORD-100, ORD-101, ORD-100, ORD-102, ORD-103, ORD-101, ORD-104.
Expected repeated IDs are ORD-100 and ORD-101, each appearing twice. Both occurrences of each matter for an “all duplicates” check: A2, A4, A3 and A7. The blank is not an order ID and is outside the first highlighting selection.
Highlight the order-number column
- Select A2:A8, excluding the heading, blank A9 and Item column.
- Choose Data → Highlight Duplicates → Set.
- Inspect the dialog’s selected range and confirm that it is A2:A8. Apply the command.
- Compare the marked cells with the four expected addresses above. Do not infer success solely from seeing some colored cells.
This route is documented in WPS’s highlighting lesson and its two-column comparison lesson. The latter explicitly identifies WPS Spreadsheet despite its Excel-oriented title. These sources describe highlighting selected values; this guide does not assume that the command is identical to Excel’s conditional-formatting menu or rule implementation.
Independently count the matches
In C1 enter Occurrences. In C2 enter =IF(A2="","",COUNTIF($A$2:$A$9,A2)) and fill down through C9. The expected outputs are 2, 2, 2, 1, 1, 2, 1, blank. The outer IF deliberately suppresses a blank-ID result; COUNTIF counts matches across the full sample.
For later occurrences only, use D2 =IF(A2="","",COUNTIF($A$2:A2,A2)>1) and fill down. Only D4 and D7 should be TRUE. The expanding range starts at the first data row and ends at the current row. This does not mean the built-in highlight command should mark only those later rows: it answers a different question.
These formulas use commas as argument separators; use your installation’s equivalent separator if needed. They are independently checked examples, not native WPS execution results.
Range and data-quality checks
Selecting two columns together changes the comparison pool. A repeated value within one selected column can still be a duplicate even if it does not occur in the other. Do not use a pooled highlight as proof that each row has a matching value in another list. For this order-ID task, select only the ID column.
Blank handling and mixed text/number IDs need explicit testing before applying the command to a messy export. Keep identifiers consistently typed. A leading zero, a trailing space or a changed digit can make apparently similar codes different; do not normalize them without understanding the source. See preserving IDs for long numeric identifiers.
Append one more ORD-100 beneath the sample, expand the comparison range to include it and rerun the check. Its full-range occurrence count should become 3. Do not assume an earlier selected range automatically includes appended rows.
Review before removing anything
Highlighting is the safe inspection step. Remove Duplicates and clearing cells change data; they are not required here. Two rows with the same order number but different items may both be correct. Compare the complete order, item and business key before deciding on deletion. Save a workbook copy if you need the visual marking; CSV cannot preserve highlight settings.
Version and testing scope
This guide follows the cited WPS desktop documentation. The exact installed build and free-versus-paid availability were not verified. It was not tested in WPS Spreadsheet; expected values were checked independently, and no application screenshots are claimed. Desktop controls do not establish Android or Web parity. Test your actual edition with the small sample before applying the procedure to an important workbook.