
📎 This article includes 1 downloadable practice file ↓
In this article
CONCATENATE joins text pieces. It still works for compatibility, but it cannot take a range — CONCAT and TEXTJOIN replaced it.
Syntax
=CONCATENATE(text1, [text2], ...)
| Argument | What it means |
|---|---|
text1… |
Single cells or text, not ranges. |
Examples
Example 1
=CONCATENATE(B2, " ", C2)
First and last name.
Example 2
=B2&" "&C2
The same with the & operator — shorter.
CONCATENATE in practice
Where you will use it
- Older-Excel way to join text, still common in shared files
- Build codes from parts
- Join names and titles
Worked example
| Prefix | Year | Serial | Formula | Result |
|---|---|---|---|---|
| INV | 2026 | 145 | =CONCATENATE(A2,"-",B2,"-",TEXT(C2,"0000")) | INV-2026-0145 |
| CN | 2026 | 9 | =CONCATENATE(A3,"-",B3,"-",TEXT(C3,"0000")) | CN-2026-0009 |
| DN | 2025 | 77 | =CONCATENATE(A4,"-",B4,"-",TEXT(C4,"0000")) | DN-2025-0077 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Selecting a range | CONCATENATE can't take ranges; use CONCAT or TEXTJOIN |
| Losing leading zeros | Format numbers inside with TEXT |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
📎 Practice files for this article
- 📗Practice workbook: Text & cleaning24 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.⬇ XLSX · 35 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time — plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul →Build this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.