Contact

WPS Spreadsheet · Data cleanup · Beginner

Remove Duplicate Records Safely in WPS Spreadsheet

Back up complete records, select Data → Duplicate Items → Remove Duplicates, and choose the complete business key. Reconcile both retained IDs and amounts before saving the cleaned sheet.

Editorial standards

Quick answer

Back up complete records, select Data → Duplicate Items → Remove Duplicates, and choose the complete business key. Reconcile both retained IDs and amounts before saving the cleaned sheet.

Scope: the Windows WPS Sheets interface documented under Collaboration Mode → Duplicates, reviewed 20 October 2026. This is not a claim of general desktop-interface parity. Installed build, region and free-edition execution are not verified; menu labels may differ. No web, mobile, macOS or Linux parity is claimed.

An order number can legitimately appear on several lines. Removing duplicates on that column alone can destroy valid purchases. Here you preserve a raw sheet, establish a two-column business key, check for conflicts, and reconcile the cleaned result.

Before you begin

Use a disposable workbook named WPS-Deduplicate-Final.xlsx with sheets Raw and Clean in the documented Windows interface. The operational source specifies Data > Duplicate Items > Remove Duplicates and labels the basic operation Free. The previously cited Academy duplicate page is unavailable and is not evidence for an older menu. No account, sharing or upload procedure is established here: use an already accessible editable practice workbook; otherwise pause rather than switching services or buying an upgrade.

1. Enter the source and define the key

On Raw, enter the following block in A1:E7. You can paste the tab-separated text into A1; verify five columns and seven rows before continuing.

OrderID	Line	Item	Units	UnitPrice
ORD-41	1	Blue pen	2	3
ORD-41	2	Notebook	1	8
ORD-41	1	Blue pen	2	3
ORD-42	1	Desk tray	3	5
ORD-42	1	Desk tray	3	5
ORD-43	1	Blue pen	4	3

The business key is the pair OrderID plus Line: one record per order line. ORD-41 line 1 and line 2 are different transactions and must both survive. Raw rows 2 and 4 match in every field, as do rows 5 and 6. That makes deletion safe for this fixture. A repeated key with different units or prices would require investigation instead.

In F1 enter Amount. In F2 enter =D2*E2 and copy F2 down through F7. The amounts must be 6, 8, 6, 15, 15, 12. In H1 enter Raw total and in H2 enter =SUM(F2:F7), expecting 62. Count the six source records. Save the workbook.

2. Copy complete records and remove exact repeated keys

  1. Copy Raw!A1:F7 to Clean!A1, including the complete record and its amount formula. Do not copy the H-column audit cells into the table.
  2. On Clean, select A1:F7, including the headers. Open Data > Duplicate Items > Remove Duplicates.
  3. Confirm that the dialog recognizes the first row as headers. If it has a header option, enable it. The selectable columns should be named OrderID, Line, Item, Units, UnitPrice, Amount, rather than treating row 1 as a record.
  4. Clear the all-column choice and select exactly OrderID and Line as duplicate criteria. The entire A:F record range remains selected; only the comparison key is restricted.
  5. Review once more, then remove duplicates. The intended result is two removed records and four retained records. Record any displayed count; do not accept success solely because a dialog closed.

The expected Clean!A2:F5 records, in original first-occurrence order, are:

ORD-41  1  Blue pen   2  3   6
ORD-41  2  Notebook   1  8   8
ORD-42  1  Desk tray  3  5  15
ORD-43  1  Blue pen   4  3  12

The Windows documentation describes retaining the first record. Check the actual IDs and all six fields anyway; retention order is not a conflict-resolution policy.

3. Reconcile and reopen

On Clean, put Clean total in H1 and =SUM(F2:F5) in H2. It must be 41. In H4 enter =Raw!H2-H2, expecting 21, the removed amounts 6+15. Confirm that Raw!A1:F7 still has all six original rows and raw total 62. Inspect the amount formulas on Clean after row removal; each must multiply units and price from its own row.

Save WPS-Deduplicate-Final.xlsx, close it and reopen it. Check Clean!A2:F5, Clean!H2 (41), Clean!H4 (21) and the untouched Raw sheet. This is your finished artifact. Do not run a second cleanup on the final file just to reproduce the notification.

4. Demonstrate the dangerous key in an independent copy

Save As WPS-Deduplicate-Key-Test.xlsx. Make a fresh BadKey sheet from Raw!A1:F7. Select BadKey!A1:F7 and repeat removal using only OrderID. The first-occurrence rule would keep just three orders and drop the valid notebook line. Expected total: 33, which is 8 below the correct 41. This is an intentionally wrong result in the experiment copy only. Do not replace the final workbook with it.

For another check, restore the full raw block to a fresh Conflicts sheet and change the later ORD-41 line-1 units from 2 to 9. That is no longer an exact duplicate. Stop before removal. Decide with the data owner whether it is a correction, a second transaction, or a data-entry error. A checkbox cannot make that business decision.

Troubleshooting

  • Only three records remain: the line component of the key was omitted. Restore the original and select both key columns.
  • No duplicates removed: check whether all columns, including a unique audit identifier, were selected as the key. Compare spaces and data types; do not normalize legitimate identifiers indiscriminately.
  • Wrong record retained: do not sort by a preferred field and assume all conflicts are resolved. Review differing payloads explicitly first.
  • Amounts no longer match: the original selection may have omitted columns. Restore complete records; never clean one column independently beside its associated fields.
  • Header missing: restore from Raw and recheck the header option before trying again.
  • Already saved a bad cleanup: recover from the preserved Raw sheet or a separately saved backup. Undo may no longer be available after reopening.

Official references

These are documentation-based instructions. The fixture expectations were checked independently; no native WPS run, application screenshot, installed-edition entitlement test or cross-program round trip is claimed. Academy page dates do not identify an application build.