Need to combine text from multiple cells? CONCAT joins text strings together, making it perfect for merging names, creating addresses, building codes, and combining data. It’s the modern replacement for CONCATENATE with simpler syntax.
What Makes CONCAT Useful
CONCAT merges text effortlessly:
- Combine multiple cells – Join text from any number of cells
- Merge ranges – Combine entire ranges at once
- Build full names – Merge first, middle, and last names
- Create addresses – Combine street, city, state, zip
- Generate codes – Build product codes or identifiers
The Syntax
=CONCAT(text1, [text2], ...)Text1, text2, etc. are the values to combine. Can be individual cells, text, or ranges.
Example 1: Combine First and Last Name
Create full names from separate columns:
| First Name | Last Name | Full Name |
|---|---|---|
| John | Smith | |
| Sarah | Johnson | |
| Mike | Williams |
Formula: =CONCAT(A2, " ", B2)
Result in C2: John Smith
Result in C3: Sarah Johnson
Combines first name, space, and last name.
Example 2: Build Full Address
Combine address components:
| Street | City | State | Zip | Full Address |
|---|---|---|---|---|
| 123 Main St | Boston | MA | 02101 | |
| 456 Oak Ave | Portland | OR | 97201 |
Formula: =CONCAT(A2, ", ", B2, ", ", C2, " ", D2)
Result: 123 Main St, Boston, MA 02101
All parts combined with proper punctuation.
Example 3: Create Email Addresses
Build emails from first and last names:
| First Name | Last Name | |
|---|---|---|
| John | Smith | |
| Sarah | Johnson |
Formula: =CONCAT(LOWER(A2), ".", LOWER(B2), "@company.com")
Result in C2: john.smith@company.com
Result in C3: sarah.johnson@company.com
Example 4: Generate Product Codes
Combine category, year, and ID:
| Category | Year | ID | Product Code |
|---|---|---|---|
| ELC | 2025 | 12345 | |
| FUR | 2024 | 67890 |
Formula: =CONCAT(A2, "-", B2, "-", C2)
Result in D2: ELC-2025-12345
Result in D3: FUR-2024-67890
Example 5: Merge Range of Cells
Combine all cells in a range:
| Word 1 | Word 2 | Word 3 | Combined |
|---|---|---|---|
| Hello | World | Today |
Formula: =CONCAT(A2:C2)
Result: HelloWorldToday
Merges all values without spaces (add spaces manually if needed).
Example 6: Build Phone Numbers
Format phone number from parts:
| Area Code | Prefix | Line | Phone Number |
|---|---|---|---|
| 555 | 123 | 4567 | |
| 415 | 987 | 6543 |
Formula: =CONCAT("(", A2, ") ", B2, "-", C2)
Result in D2: (555) 123-4567
Result in D3: (415) 987-6543
CONCAT vs CONCATENATE vs &
| Method | Syntax | Range Support |
|---|---|---|
| CONCAT | =CONCAT(A1, B1) | Yes |
| CONCATENATE | =CONCATENATE(A1, B1) | No |
| & operator | =A1&B1 | No |
CONCAT is the newest and most flexible.
Common Use Cases
Full Names Combine first, middle, and last names.
Addresses Build complete mailing addresses.
Email Generation Create email addresses from name parts.
Custom IDs Generate unique identifiers from components.
Adding Spaces and Punctuation
Space between words:
=CONCAT(A2, " ", B2)Comma and space:
=CONCAT(A2, ", ", B2)Dash separator:
=CONCAT(A2, "-", B2)Multiple separators:
=CONCAT(A2, " | ", B2, " - ", C2)Handling Empty Cells
Basic CONCAT with empty: Empty cells are ignored, but separators remain.
Better approach with IF:
=IF(B2="", A2, CONCAT(A2, " ", B2))Only adds space if B2 has content.
Skip empty middle name:
=CONCAT(A2, IF(B2="", "", " "&B2), " ", C2)Practical Applications
Create labels:
=CONCAT("Name: ", A2, " | ID: ", B2)Build file names:
=CONCAT("Report_", TEXT(TODAY(), "YYYY-MM-DD"), ".xlsx")Generate URLs:
=CONCAT("https://website.com/", LOWER(A2))Invoice numbers:
=CONCAT("INV-", TEXT(A2, "0000"))CONCAT with Other Functions
CONCAT + UPPER:
=CONCAT(UPPER(A2), " ", UPPER(B2))CONCAT + TEXT:
=CONCAT("Total: ", TEXT(A2, "$#,##0.00"))CONCAT + TRIM:
=CONCAT(TRIM(A2), " ", TRIM(B2))CONCAT + IF:
=CONCAT(A2, IF(B2<>"", ", ", ""), B2)Example 7: Conditional Concatenation
Add middle name only if it exists:
| First | Middle | Last | Full Name |
|---|---|---|---|
| John | M | Smith | |
| Sarah | Johnson |
Formula: =CONCAT(A2, IF(B2="", "", " "&B2), " ", C2)
Result in D2: John M Smith
Result in D3: Sarah Johnson
No extra space when middle name is missing.
Example 8: Combine with Line Breaks
Create multi-line addresses:
| Street | City | State | Address Block |
|---|---|---|---|
| 123 Main St | Boston | MA |
Formula: =CONCAT(A2, CHAR(10), B2, ", ", C2)
Result (in wrapped cell): 123 Main St Boston, MA
CHAR(10) is a line break.
Example 9: Reverse Name Order
Convert “First Last” to “Last, First”:
| Full Name | Reversed |
|---|---|
| John Smith | |
| Sarah Johnson |
Formula: =CONCAT(B2, ", ", A2)
Where you’ve already split the names, or:
Complex formula: =CONCAT(RIGHT(A2, LEN(A2)-SEARCH(" ", A2)), ", ", LEFT(A2, SEARCH(" ", A2)-1))
Result: Smith, John
Example 10: Build Query Strings
Create URL parameters:
| Product | Price | URL |
|---|---|---|
| Widget | 29.99 |
Formula: =CONCAT("?product=", A2, "&price=", B2)
Result: ?product=Widget&price=29.99
Common Mistakes to Avoid
Forgetting Spaces
CONCAT(A1, B1)= “JohnSmith”CONCAT(A1, " ", B1)= “John Smith”- Always add separators explicitly
Empty Cell Handling
- Empty cells create awkward spacing
- Use IF to handle conditionally
Number Formatting Lost
- Numbers lose formatting when concatenated
- Use TEXT function to preserve formatting
CONCAT(A1, TEXT(B1, "#,##0"))
Error Handling
Handle missing data:
=IF(OR(A2="", B2=""), "Incomplete", CONCAT(A2, " ", B2))Check all required fields:
=IF(COUNTBLANK(A2:C2)>0, "Missing data", CONCAT(A2, " ", B2, " ", C2))Default value for empty:
=IF(A2="", "N/A", CONCAT("ID: ", A2))Tips for Using CONCAT
Plan separators Decide on spaces, commas, dashes before building formula.
Test with empty cells See how formula handles missing data.
Use helper columns Break complex concatenations into steps.
Combine with TEXT for formatting Preserve number and date formatting.
When to Use CONCAT
Use CONCAT when:
- Combining text from multiple cells
- Building codes or identifiers
- Creating formatted text strings
- Merging ranges of data
- Need modern, flexible concatenation
Use & operator when:
- Simple two-cell combination
- Quick formula without function
- Personal preference for brevity
Use CONCATENATE when:
- Working in older Excel versions
- Compatibility with legacy workbooks
Start Using It
Pick two cells with text. Type =CONCAT, reference both cells with a space or separator between them. Press Enter. See the combined result. Add more cells or text as needed.
CONCAT makes text combination simple and flexible.
Questions about CONCAT? Need help building complex text combinations? Let’s connect.

