Function Problems

Distinguish German ß from ss When Removing Duplicates in Excel

Ayan MasoodAyan Masood Nov 25, 2026 868 views

Question details

Keep words that differ only by the German letter ß and the sequence ss when identifying duplicate values in Excel.

Distinguish German ß from ss When Removing Duplicates in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains German words that need to be deduplicated without treating ß and ss as identical.
Observed behavior
Excel's Remove Duplicates may treat words containing ß and ss as equivalent and remove one of them.
Before you start

Identify the column containing the words and confirm that it has a header. The example below assumes the header is in A1 and the first word is in A2.

Solution 1Recommended

Use an EXACT helper column to identify distinct words

Use this method to keep the first occurrence of each exact text value without relying on Remove Duplicates.

EXACT compares text case-sensitively and distinguishes ß from ss. As a result, words that differ only in capitalization are also treated as distinct.

1
Add a helper column

Insert an empty column next to the word list and enter a header such as Exact count in its first row.

2
Enter the comparison formula

In the helper cell on row 2, enter =SUMPRODUCT(--EXACT(A2,$A$2:A2)). Replace A with the letter of your word column if necessary.

3
Fill the formula down

Select the formula cell and drag its fill handle down through the last row of the list. A count of 1 marks the first exact occurrence; higher counts mark repeats.

4
Filter and copy the results

Select the table, choose Data > Filter, and use the helper-column filter to show only 1. Select the visible results, copy them, and paste them into a new sheet.

Use an EXACT helper column to identify distinct words
Check other columns: This formula identifies duplicates using the word column only. If other columns must also match, review those values before treating rows as duplicates.
Free Microsoft Office alternative

Work with German word lists in WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files and continue working with word lists in WPS Spreadsheets; it does not change Excel's comparison behavior.

Use spreadsheet formulas to review word lists and duplicate valuesOpen and edit Microsoft Excel XLSX and XLS filesNavigate worksheets with a familiar interfaceMove existing Office documents into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Why can Excel remove a word with ß when another word contains ss?

Remove Duplicates uses text comparison rules that can treat ß and ss as equivalent. Use an EXACT helper column when those spellings must remain distinct.

Does the EXACT formula distinguish uppercase and lowercase letters?

Yes. EXACT is case-sensitive, so the helper formula treats differently capitalized words as distinct as well as distinguishing ß from ss.

Can I use Remove Duplicates after adding the helper formula?

To avoid relying on Remove Duplicates for the word comparison, use Data > Filter to show helper counts of 1, then copy the visible results to a new sheet.

Can regional sort settings affect this behavior?

Regional sorting settings can affect text comparisons. On Windows, check the Region settings in Control Panel for available sort options, but test any change carefully because it may affect other programs and may not resolve the Excel comparison.