In Excel: use =CONCATENATE(text1, text2, ...) — it joins several text items into one string; in modern Excel the same job is done by CONCAT or simply the & operator.
Syntax
Arguments
| Argument | Description | |
|---|---|---|
text1 | required | The first text item to join — a cell reference or a string in quotes. |
text2, ... | optional | Optional further items to append, one after another; up to 255 in total. |
Related functions
3 rows joined
What this does
CONCATENATE glues together text from cells and typed strings into a single value. You list each piece as an argument and it appends them in order, with no spaces added — you insert any separators yourself as " " arguments. CONCATENATE is now legacy: Excel 2016 and later replace it with CONCAT (which also accepts whole ranges), and the & operator (=A1&" "&B1) does exactly the same thing more compactly. All three produce identical results. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “concatenate excel files”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a text operation that turns messy entries into clean, usable data useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A first name sits in A2 ("Maria") and a last name in B2 ("Klein"). To join them with a space between: =CONCATENATE(A2, " ", B2) returns "Maria Klein". The middle " " argument supplies the space; without it you would get "MariaKlein". The same result comes from =A2&" "&B2 or, in newer Excel, =CONCAT(A2, " ", B2). CONCATENATE remains common in older workbooks, but for new formulas the & operator or CONCAT is shorter and TEXTJOIN handles ranges, so reach for those when you can. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. Treat “concatenate excel files” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.
Common mistakes
- Forgetting the separator argument, so "Maria" and "Klein" run together as "MariaKlein" with no space.
- Expecting
CONCATENATEto accept a range likeA2:A6— it joins single items only; useCONCATorTEXTJOINto join a range. - Typing text without quotes, so words like a literal space or label trigger a
#NAME?error instead of appearing as text.
Frequently asked questions
What is the difference between CONCATENATE, CONCAT and &?
They all join text. CONCATENATE is the legacy function; CONCAT (Excel 2016+) replaces it and can also take whole ranges; the & operator, as in =A1&" "&B1, does the same thing with less typing. Use & or CONCAT in new work.
How do I add a space between joined values?
Insert " " (a space in quotes) as its own argument between the cells: =CONCATENATE(A2, " ", B2). For a comma and space use ", " instead.
Can CONCATENATE join a whole range at once?
No — it takes items one by one. To join a range such as A2:A6, use TEXTJOIN, which accepts a range and a delimiter, or CONCAT, which accepts ranges in newer Excel.