Key Takeaways
- FINGERPRINT writes a stable grouping key beside the original value, so the text you started with stays visible for review.
- Optional stop words remove articles and suffixes before sorting, which groups variants that a plain key keeps apart.
- A key handles case, punctuation, word order and accents. It does not handle spelling changes.
- The scheduled job writes one key per row in chunks for long columns and runs on an active paid plan.
Formatting variants of the same name are hard to group with exact matching. FINGERPRINT builds a stable key from a text value in Google Sheets by lowercasing it, removing diacritics and punctuation, collapsing whitespace and sorting the words. Add a stop words list when articles or suffixes stand in the way. The key groups variants that differ only in formatting for review, while a similarity score handles typos that a key cannot catch. Results stay beside the source value so the original text is never lost. FINGERPRINT needs an active paid licence, so the formula shows an upgrade notice until a plan is active on the Google account.
The seven values below show both kinds of change. Two rows share a key because only the word order differs, and two more share a key once the word the is ignored.
Worked Example: Seven Text Values
| Cell | Input in column A |
|---|---|
| A2 | Zhenyi, Wang |
| A3 | Wang Zhenyi |
| A4 | St. John's Café |
| A5 | The Peanut Vendor |
| A6 | Peanut Vendor (The) |
| A7 | Acme Corp. |
| A8 | ACME Corporation |
Build a Key with FINGERPRINT
Enter this formula in B2:
=FINGERPRINT(A2:A8)
One key is returned for each input cell. The punctuation is discarded, accents are removed, whitespace is collapsed to single spaces and the words are sorted alphabetically before they are joined again.
| Source value | Key in column B |
|---|---|
Zhenyi, Wang | wang zhenyi |
Wang Zhenyi | wang zhenyi |
St. John's Café | cafe johns st |
The Peanut Vendor | peanut the vendor |
Peanut Vendor (The) | peanut the vendor |
Acme Corp. | acme corp |
ACME Corporation | acme corporation |
Rows A2 and A3 now share a key, so you can group them without changing either source cell. Blank cells return an empty key. Words are sorted by their code points, so the order may differ from a dictionary order in languages that use another script or collation.
Drop Stop Words Before Sorting
Supply a comma separated list as the second argument when small words keep two keys apart:
=FINGERPRINT(A2:A8, "the,and,of")
Stop words are normalised in the same way as the source values, so The is treated as the. The word is removed before the remaining words are sorted. Both peanut vendor rows now return peanut vendor.
A range works as well as a literal list. Put the, and and of in cells B2 to B4 and use this formula instead:
=FINGERPRINT(A2:A8, B2:B4)
Keep the stop word range separate from the output column, because a two column result cannot overwrite cells that already hold text. A stop word list is useful for articles, legal suffixes and filler words that carry no meaning in your dataset. Do not add a word that distinguishes two real entities.
Score What the Key Misses
A fingerprint key cannot group Acme Corp. with ACME Corporation, because those are different words after the suffix is removed. It also cannot group John Smith with Jon Smyth. Use FUZZYSIM to score a pair, then review the result before you merge anything. The custom functions guide lists the full set of matching functions, and the OpenRefine workflow comparison shows the same fingerprint idea in a desktop cleaning process.
Once a group is accepted, record the original value, the chosen canonical value and the method used. The key is a proposal, not a decision.
Schedule the Fingerprint Job
For long columns, open Extensions > Flookup Data Wrangler > Data Cleaning Automation and choose Fingerprint values. The job takes a single source column and an optional stop words range, then writes one key per source row in chunks. Progress is saved between runs. A scheduled run needs an active paid plan, and the cell formula needs the same licence.
Frequently Asked Questions
What does FINGERPRINT return in Google Sheets?
FINGERPRINT returns one grouping key per input cell. It lowercases the value, removes diacritics and punctuation, collapses whitespace and sorts the words. Blank cells return an empty key.
How do stop words change a fingerprint key?
Stop words are removed before the words are sorted. With the word the ignored, both The Peanut Vendor and Peanut Vendor (The) become peanut vendor instead of peanut the vendor.
Can FINGERPRINT run as a scheduled job?
Yes. The Fingerprint values job writes one key per source row in chunks and accepts an optional range of stop words. FINGERPRINT and its scheduled job need an active paid plan.