KeepSorted

Google Sheets CONCATENATE formula: join cells, columns or a whole range with a comma, space or new line

Say which cells to join and what goes between them. Copy the formula. You can join a few cells in one row, join everything in a range into one cell, or join two or more whole columns row by row. It runs in your browser and nothing you type here is sent anywhere. Every formula below was run in a real Google Sheet on 3 November 2026 (blank cells, numbers, dates, quotes, new lines, a long separator) once in a US-locale spreadsheet and once in a German-locale one with semicolons: all checks matched.


Your formula

How to use it

Paste the formula into one empty cell. The row by row choice spills down, so the cells below it must be empty, or Sheets shows a #REF! error. Sheets has no CONCATENATE button; the & sign does the same job and so does TEXTJOIN.

Which one to pick

You pickThe formula uses
A few cellsA2 & " " & B2
A few cells, skip blanksTEXTJOIN(" ", TRUE, A2, B2)
A range into one cellTEXTJOIN(", ", TRUE, A2:A)
Columns row by rowARRAYFORMULA(IF(A2:A & B2:B = "", "", A2:A & " " & B2:B))
Columns row by row, skip blanksBYROW(HSTACK(A2:A, B2:B), LAMBDA(r, TEXTJOIN(" ", TRUE, r)))

The catches (found by testing in a real Sheet)

No code: KeepSorted

The add-on sorts the original table in place without code: no second copy, so formatting, checkboxes and notes move with their rows and people keep editing the same table. Select the range, pick the sort columns, Save. Free: one area per tab, up to 2 sort columns, no trial clock. Pro ($5/month or $39/year): up to 5 sort columns, custom orders like High > Medium > Low, ticked checkbox rows to the bottom, stacked tables sorted separately, and sorting after form responses, other editors' changes and an hourly check.

KeepSorted is built and in testing. It is not in the Google Workspace Marketplace yet. Leave your email and we send one message when you can install it.

You're on the list. We'll email you when KeepSorted is ready.

The generators and the formulas stay free either way.

More KeepSorted tools and guides

Sources