How to Combine Two Lists or Several Tabs in Google Sheets Without Duplicates: VSTACK, UNIQUE, One Row per Key and Other Files (2026)

Two sign-up sheets, last month’s and this month’s customer exports, a list from a colleague’s file: sooner or later you need one list with every entry once. Google Sheets can do it with a single formula that stays up to date as the source lists change, or with the built-in Remove duplicates tool once the lists are pasted together. This guide shows both, and the three decisions that change the result: whether letter case and spaces matter, whether you need just the values or the whole rows, and which list wins when the same person is on both.

The example

Two tabs, Jan and Feb, each with a header row, the email in column A and the name in column B.

JanA: EmailB: Name
2ana@x.comAna
3bo@x.comBo
4cy@x.comCy
FebA: EmailB: Name
2Bo@x.comBo
3dee@x.comDee
4ana@x.comAna R.
5dee@x.comDee

That is 7 entries and 4 different people: ana, bo, cy and dee. Put the formulas below on a new tab, in a cell with empty cells below and to the right, because each result spills over several rows. If something is already in the way, the formula shows a #REF! error until you clear those cells.

One column from two tabs

=UNIQUE(TOCOL(VSTACK(Jan!A2:A, Feb!A2:A), 1))

VSTACK appends the ranges one under the other, in the order you list them. The open-ended ranges A2:A keep picking up new rows, but they also bring along the empty rows at the bottom of each tab; TOCOL(…, 1) drops those blank cells, so the result has no empty line. UNIQUE then keeps each value once, in the order it first appears:

Result
ana@x.com
bo@x.com
cy@x.com
Bo@x.com
dee@x.com

Five values, not four: see the next section for Bo@x.com. Without TOCOL the result contains one empty row as well.

The same thing written with an array literal, the form you will see in older spreadsheets and forum answers (a semicolon stacks ranges as rows; in locales that use a comma as the decimal separator, Sheets uses a backslash instead of the comma between columns):

=UNIQUE(TOCOL({Jan!A2:A; Feb!A2:A}, 1))

For an A→Z list, wrap it in SORT:

=SORT(UNIQUE(TOCOL(VSTACK(Jan!A2:A, Feb!A2:A), 1)))

To stack two columns on the same tab, just use the two ranges: =UNIQUE(TOCOL(VSTACK(A2:A, B2:B), 1)).

Ignore letter case and extra spaces

UNIQUE compares text exactly, so Bo@x.com and bo@x.com stay separate, and so would cy@x.com with a trailing space pasted in from an export. For emails and names that is usually wrong. Lowercase and trim the values first:

=ARRAYFORMULA(LET(v, LOWER(TRIM(VSTACK(Jan!A2:A, Feb!A2:A))), UNIQUE(FILTER(v, v<>""))))
Result
ana@x.com
bo@x.com
cy@x.com
dee@x.com

LET names the stacked, cleaned values v so they are written once; FILTER drops the blank rows; ARRAYFORMULA makes LOWER and TRIM work on every cell. The result is lowercase. LOWER also turns numbers into text, so use this version for text such as emails, not for numeric IDs. TRIM does not remove non-breaking spaces. For variants that differ in more than case and spaces, such as Gmail dots or phone formats, see duplicates that don’t match exactly.

Keep whole rows, not just one column

To combine the full rows and drop rows that repeat exactly:

=LET(d, VSTACK(Jan!A2:B, Feb!A2:B), k, VSTACK(Jan!A2:A, Feb!A2:A), UNIQUE(FILTER(d, k<>"")))

Here d is the stacked rows and k the stacked email column, used only to drop the empty rows. In the example this returns 6 rows: only the second dee@x.com / Dee row goes. Both ana rows stay because the names differ (Ana and Ana R.), and Bo@x.com stays because of the capital B. That is correct if a duplicate means “every column the same”, and usually not what you want for a contact list.

One row per email, whole row kept

To get one row per person with all of its columns, decide duplicates on the email only:

=ARRAYFORMULA(LET(d, VSTACK(Jan!A2:B, Feb!A2:B), k, LOWER(TRIM(VSTACK(Jan!A2:A, Feb!A2:A))), FILTER(d, k<>"", XMATCH(k, k)=SEQUENCE(ROWS(k)))))
EmailName
ana@x.comAna
bo@x.comBo
cy@x.comCy
dee@x.comDee

How it works: k is the lowercased, trimmed email for every stacked row. XMATCH(k, k) returns, for each row, the position where that email first appears, and SEQUENCE(ROWS(k)) is each row’s own position (1, 2, 3, …). They are equal only on the first occurrence, so FILTER keeps the first row of each email and every later copy is dropped. XMATCH’s default match mode is an exact match, so * and ? in your values are not treated as wildcards.

Which list wins: the first range in VSTACK. Here Jan comes first, so ana keeps the name “Ana” from Jan, not “Ana R.” from Feb. Swap the order, VSTACK(Feb!A2:B, Jan!A2:B) together with VSTACK(Feb!A2:A, Jan!A2:A), and Feb’s rows win instead. To keep the newest or the highest row rather than the first, see remove duplicates but keep the latest row.

The result has no header. To add one, put the header row in front with another VSTACK:

=VSTACK({"Email", "Name"}, ARRAYFORMULA(LET(d, VSTACK(Jan!A2:B, Feb!A2:B), k, LOWER(TRIM(VSTACK(Jan!A2:A, Feb!A2:A))), FILTER(d, k<>"", XMATCH(k, k)=SEQUENCE(ROWS(k))))))

This compares every row with every other row, which is fine for a few thousand rows. On very large tabs, replace the open-ended ranges with fixed ones, such as Jan!A2:B5000, to keep it fast.

Three or more tabs

VSTACK takes as many ranges as you like. Put a tab name that contains spaces or symbols in single quotes:

=UNIQUE(TOCOL(VSTACK(Jan!A2:A, Feb!A2:A, Mar!A2:A, 'Walk-ins 2026'!A2:A), 1))

The same applies to the whole-row and one-row-per-email versions: add the extra tab to both the d and the k stack, in the same order.

Columns in a different order? VSTACK stacks by position, not by header, so if Feb has Name in A and Email in B, rearrange it with an array literal first (a comma puts ranges side by side):

=UNIQUE(FILTER(VSTACK(Jan!A2:B, {Feb!B2:B, Feb!A2:A}), VSTACK(Jan!A2:A, Feb!B2:B)<>""))

Give every range the same number of columns, in the same order, before stacking.

Lists in different spreadsheets

IMPORTRANGE pulls a range from another spreadsheet and can go straight into VSTACK:

=UNIQUE(TOCOL(VSTACK(A2:A, IMPORTRANGE("https://docs.google.com/spreadsheets/d/…", "Signups!A2:A")), 1))

Use the other file’s full URL and a range string with its tab name. The first time a spreadsheet pulls from a new source, the formula shows a #REF! error asking you to connect the sheets; click Allow Access. If you don’t own the source file, you need access to it first. Google’s help lists a few limits worth knowing: each request is capped at 10 MB of data, results can take a while to update after the source changes, and long chains of IMPORTRANGE between files get slow. Import only the columns you need.

A static list instead of a formula

The formulas above update by themselves. When you want a fixed list, for example to send or to edit by hand, copy the result and paste it with Edit › Paste special › Values only (Ctrl+Shift+V, ⌘+Shift+V on a Mac). Google’s help notes that Paste special works only within one spreadsheet.

Or skip formulas entirely: paste the second list directly under the first (same columns, header only once), select the combined data and choose Data › Data cleanup › Remove duplicates. Tick Data has header row if it does, tick only the Email column, and click Remove duplicates. The tool keeps the first row of each group, so the list you pasted on top wins, just like the first range in VSTACK. It treats values that differ only in letter case as duplicates, so on the example it removes 3 rows and leaves the same 4 as the one-row-per-email formula. With both columns ticked it removes 2 and leaves 5. Work on a copy of the tab if you are not sure.

Pitfalls

Only need to know which entries are on both lists, or only on one? That’s a comparison rather than a merge: see compare two columns or two sheets. To count how many repeats the combined list had, see how to count duplicates.

FAQ

How do I combine two columns into one list without duplicates in Google Sheets?

Stack them with VSTACK and wrap the result in UNIQUE: =UNIQUE(TOCOL(VSTACK(A2:A, B2:B), 1)). TOCOL with 1 drops the empty cells; the older array form {A2:A; B2:B} works the same way as VSTACK.

How do I merge lists from two tabs and remove duplicates?

Refer to each tab inside VSTACK, for example =UNIQUE(TOCOL(VSTACK(Jan!A2:A, Feb!A2:A), 1)). Put the formula on a third tab with empty cells below and to the right, because the result spills.

Why does UNIQUE keep Ana@x.com and ana@x.com?

UNIQUE compares text exactly, so values that differ in letter case or a stray space are different to it. Lowercase and trim inside the formula: =ARRAYFORMULA(LET(v, LOWER(TRIM(VSTACK(Jan!A2:A, Feb!A2:A))), UNIQUE(FILTER(v, v<>"")))). Data cleanup › Remove duplicates, by contrast, treats values that differ only in letter case as duplicates.

How do I combine tabs but keep only one row per email with all its columns?

Stack the full rows, build a lowercased key, and keep each row whose key is found first at its own position: =ARRAYFORMULA(LET(d, VSTACK(Jan!A2:B, Feb!A2:B), k, LOWER(TRIM(VSTACK(Jan!A2:A, Feb!A2:A))), FILTER(d, k<>"", XMATCH(k, k)=SEQUENCE(ROWS(k))))). The tab listed first wins when the same email appears on both.

Can I combine lists from different spreadsheets without duplicates?

Yes. Use IMPORTRANGE inside VSTACK, for example =UNIQUE(TOCOL(VSTACK(A2:A, IMPORTRANGE("spreadsheet URL", "Signups!A2:A")), 1)). The first time, Sheets asks you to connect the files with Allow Access.

How do I turn the combined list into normal values?

Copy the result, then use Edit › Paste special › Values only (or Ctrl+Shift+V) on the spot where you want the fixed list. The pasted cells no longer update when the source tabs change.

Rather clean the combined list from a sidebar? SheetDupes (disclosure: we make it) is a Google Sheets add-on that finds, highlights and removes duplicates. Paste your lists into one tab, pick the columns that define a duplicate, preview the matching groups, highlight the extra rows without changing any values, and only then remove or merge them. Its Compare feature checks a tab against another tab in the same spreadsheet and can preview, highlight or remove the rows that appear in both. It copies a backup tab before it removes or merges anything, ignores extra spaces and, optionally, letter case and punctuation. Preview and Highlight are free on any size sheet; there is a 14-day free trial with no credit card, and writes remain free after the trial on sheets with up to 2,000 data rows during launch (through Jan 31, 2027; 500 after that). It only reads and writes the spreadsheet you have open, and your data is not sent to Loomwise. It is live on the Google Workspace Marketplace.
Install free from Google Workspace MarketplaceSee SheetDupes
Want to test it first? Try it on sample data (makes a copy of a 12-row example sheet in your Drive).

Related guides

Menu steps follow Google’s Docs Editors Help pages on removing duplicates and trimming whitespace and paste special; array literals follow using arrays in Google Sheets; function behavior is from the help pages for VSTACK, TOCOL, UNIQUE, FILTER, LET, XMATCH, SEQUENCE, TRIM, SORT and IMPORTRANGE. Instructions refer to Google Sheets as it worked on November 19, 2026; menu names can change. Google Sheets is a trademark of Google LLC and this site is not affiliated with Google. Questions or corrections: hello@loomwise.app.