Every spreadsheet accumulates a column that quietly repeats itself: product codes pasted in from two supplier sheets, attendee names from three registration exports, postcodes collected over a year of forms. The values you want are all there. They are just there twice. Spreadsheets have built-in deduplication, but it acts on the sheet itself, sometimes on more columns than you intended, and plenty of the time the column you need to clean is not in a spreadsheet at all yet, or the file belongs to someone who sent it to you as text.
This guide uses a simpler route: copy the column out, paste it as plain lines into the free Remove Duplicate Lines tool on Ovatly, clean it there, and paste the unique values back. The original sheet is never modified, and the tool never sees your file, because it works on pasted text only.
Contents
- Quick answer
- Why go through text at all
- The two settings that decide the result
- How to deduplicate a column, step by step
- Worked example: a five-line list
- Limitations and honest notes
- Common mistakes
- FAQs
- Conclusion
Quick answer
Select the column in your spreadsheet and copy it. Paste it into the Remove Duplicate Lines tool, where each cell becomes one line. Set the two rules: whether values that differ only in capitalization count as the same line, and whether surrounding spaces are ignored (trimming is on by default). The tool returns each line once, in the order it first appeared, and reports how many duplicates were removed. Copy the result and paste it back into a fresh column or a new sheet. The tool does not open spreadsheet files; the paste is the whole method.
Why go through text at all
Three reasons. First, safety: your original sheet stays exactly as it was, so a wrong setting costs you nothing but a re-paste. Second, scope: spreadsheet deduplication often treats whole rows, and rows that differ in any other column survive as distinct, which is correct for records but wrong when you only care about one column of values. Pasted as text, the column is judged on its own. Third, reach: the same workflow cleans lists that never lived in a spreadsheet, a column copied from a PDF table, a CSV opened in a text editor, values lifted from a web page.
The trade is that the tool sees lines, nothing more. It does not know which sheet, row or record a value came from, and it cannot put values back next to their original rows. If your job is "give me the unique values in this column", that is exactly the job here. If your job is "remove duplicate records", that is a different job, and this is not the tool for it.
The two settings that decide the result
The first setting is the case rule: whether Apple and apple count as the same line. For product codes and SKUs, capitalization can be meaningful and the safe choice is to treat different capitalizations as different lines. For names, towns and categories, the variants are usually the same value typed twice, and treating them as the same line is right. Either way, know the consequence: the first occurrence wins, and its exact spelling and capitalization are what survive.
The second setting is whether surrounding spaces are ignored. With trimming on, the default, lines that differ only in leading or trailing spaces count as duplicates. Pasted spreadsheet values carry stray spaces often, especially columns that were themselves pasted into the sheet from elsewhere, so trimming on is the safer default for this workflow.
One more behaviour: blank lines are treated as lines too, so a run of blank lines collapses to a single blank line. A column with empty cells in the middle will come back with one blank line where the empties were, which is worth remembering when you paste back.
How to deduplicate a column, step by step
- In the spreadsheet, select the single column you want to clean and copy it.
- Paste it into the Remove Duplicate Lines tool. Check that each value sits on its own line; a column pastes as one item per line.
- Decide the rules: whether Apple and apple count as the same line, and whether surrounding spaces are ignored.
- Read how many duplicates were removed above the result, and sanity-check it against what you expected from the column.
- Copy or download the unique lines, then paste them into a new column or a new sheet, not over the original, so you can compare before you commit.
Worked example: a five-line list
The tool's own example is a five-line list, and a pasted column behaves in exactly the same way. Input:
apple
banana
apple
Cherry
banana
With the default settings, the result is:
apple
banana
Cherry
The tool reports: 2 duplicates removed out of 5 lines. Map that onto a column and each behaviour is the one you rely on. The repeated apple and banana lose their second copies. Cherry keeps its capital letter because the first occurrence is kept exactly as spelled. The order is unchanged: apple, banana, Cherry is the order of first appearance, not alphabetical order. Paste that back and your column holds each value once, in the order the sheet first used them, which makes eyeballing the result against the original straightforward.
Limitations and honest notes
The tool works on pasted text. It does not open .xlsx, .csv or any other file, it does not connect to your spreadsheet, and it cannot write back into a sheet; the return trip is a paste you make yourself. It also works line by line only: it compares whole lines, so duplicates inside one line, two values crammed into a single cell, are never compared with each other.
It does not sort. The output keeps the original order of first appearance, which suits pasting back, but if you want the unique values alphabetized, that is a second pass through a sorting tool. And the unique-values result is detached from your other columns by design: if row alignment with neighbouring data matters, stop and use row-based deduplication in the spreadsheet instead.
Common mistakes
- Pasting several columns at once. Two columns paste as tab-separated lines, and whole rows become the lines being compared. Clean one column at a time.
- Pasting back over the original column. Paste into a new column first, compare the counts and a few values, then replace.
- Forgetting the blank lines. Empty cells collapse to a single blank line in the result. If you paste back expecting the blanks to hold row positions, the alignment will shift.
- Leaving the case rule on for codes. Where capitalization distinguishes values, such as codes and SKUs, case-insensitive matching merges lines that are genuinely different.
- Expecting duplicates inside a cell to be caught. A cell holding the same word twice is one line, and lines are only compared with other lines.
FAQs
Does the tool open my spreadsheet file? No. It works on text you paste into it. Copy the column out of the spreadsheet, paste it in as one item per line, clean it, and paste the result back.
Will the order of my column change? No. The output keeps the original order of first appearance. The tool does not sort; if you also want sorting, run the result through the Sort Lines Tool.
Which copy of a repeated value is kept? The first occurrence wins: its exact spelling and capitalization are kept, later repeats are dropped.
Can it remove duplicates inside a cell or a paragraph? No, it works line by line. Once pasted, each cell of the column is one line, and whole lines are compared. Text inside a single line is not compared with itself.
Is there a size limit? Lists of hundreds of thousands of lines are handled comfortably because the check runs locally on your device. Your data is not uploaded.
Conclusion
Cleaning one column does not need formulas or add-ins: copy the column, paste it as lines, set the case and spaces rules, take each value once in its original order, and paste the result beside the original so you can verify before replacing anything. The Remove Duplicate Lines tool handles the middle of that workflow in your browser. The natural companion job, a plain list of addresses merged from several sources, is covered in How to Remove Duplicates From a List of Email Addresses, and the rest of the Text and Writing Tools guides cover the neighbouring cleanup tasks.