
π This article includes 2 downloadable practice files β
In this article
CONCAT joins text from several cells or whole ranges. It replaces the older CONCATENATE. The & operator does the same for a few cells.
Syntax
=CONCAT(text1, [text2], ...)
| Argument | What it means |
|---|---|
text1β¦ |
Text, cells or ranges to join. |
Examples
Example 1
=CONCAT(A2, " ", B2)
First and last name with a space.
Example 2
=A2&" "&B2
Same result with &, works in every version.
Example 3
="INV-"&TEXT(C2,"0000")
Invoice number with leading zeros: INV-0042.
CONCAT in practice
Where you will use it
- Build full names from first and last name
- Create keys like Invoice-GSTIN for matching
- Make readable labels: Region - Month
Worked example
| First | Last | City | Formula | Result |
|---|---|---|---|---|
| Ravi | Kumar | Pune | =CONCAT(A2," ",B2," (",C2,")") | Ravi Kumar (Pune) |
| Anita | Sharma | Delhi | =CONCAT(A3," ",B3," (",C3,")") | Anita Sharma (Delhi) |
| Mohammed | Irfan | Hyderabad | =CONCAT(A4," ",B4," (",C4,")") | Mohammed Irfan (Hyderabad) |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Forgetting the spaces | Add " " between parts, or use TEXTJOIN with a delimiter |
| Joining dates and amounts directly | Wrap with TEXT: TEXT(D2,"dd-mmm-yyyy") |
Related functions
TEXTJOIN Β· TEXT Β· LEFT
π 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
β¬ Download all 2 files (ZIP Β· 38 KB)
- πText-cleaning scenarios workbookExtract and clean text (GSTIN, PAN, emails, names) with PASS/FAIL checks, plus the 3 mistakes that break text formulas.β¬ XLSX Β· 8 KB
- π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.