fx Text & Date Functions

TEXTSPLIT, TEXTJOIN, CONCAT, & operator

⏱ 9 min

What you'll learn

  • Join cells with separators using & and TEXTJOIN.
  • Split delimited values into an empty spill range.
  • Format dates and amounts inside text with TEXT.

Concept

Which Excel version?

Tool Works in
& operator every version
CONCAT, TEXTJOIN Excel 2019 and later
TEXTSPLIT Microsoft 365, Excel 2024, Excel for the web

1. & operator — the simplest join

First name in A2 (Rahul), last name in B2 (Sharma):

=A2 & " " & B2   → Rahul Sharma

Add the space yourself as " ".

2. CONCAT — join a range

=CONCAT(A2:C2)

Joins every cell with no separator. It replaces the old CONCATENATE, which could not take a range.

3. TEXTJOIN — join with a separator

=TEXTJOIN(delimiter, ignore_empty, text1, ...)

Names in A2:A5, one of them blank:

=TEXTJOIN(", ", TRUE, A2:A5)   → Rahul, Neha, Ravi

TRUE skips the blank cell, so you don't get Rahul, , Neha.

4. TEXTSPLIT — one cell into many

A2 contains Rahul,Sharma,Delhi:

=TEXTSPLIT(A2, ",")   → Rahul | Sharma | Delhi

The result spills into 3 columns. To split into rows instead, use the third argument:

=TEXTSPLIT(A2, , ",")

If TEXTSPLIT is unavailable, use Data → Text to Columns for the same job (it's not a formula, so it won't update).

5. Numbers and dates inside text — TEXT

Joining a date gives an ugly serial number:

="Invoice date: " & A2   → Invoice date: 46296

Format it with TEXT:

="Invoice date: " & TEXT(A2, "dd-mmm-yyyy")   → Invoice date: 01-Oct-2026
="Total: ₹" & TEXT(B2, "#,##0")                → Total: ₹125,000

Common format codes: dd-mm-yyyy, mmm-yy, dddd (day name), 0.00, #,##0.

See Microsoft’s TEXTSPLIT documentation for supported versions.

Common mistakes

Forgetting the space in A2&" "&B2. Joining dates or currency without TEXT. Using TEXTSPLIT in a file that people will open in Excel 2019/2021 (#NAME?).

Exercises

mediumFrom columns First Name, Last Name, City, create: a full-name column with &, a line like "Rahul Sharma (Delhi)", and one cell listing all cities with TEXTJOIN. Then split Laptop|55000|12 into three columns with TEXTSPLIT.
Split Join D2: =A2&" "&B2. E2: =D2&" ("&C2&")". F2: =CONCAT(A2:C2). Fill through row 5. H2: =TEXTJOIN(", ",TRUE,C2:C5) returns Delhi, Mumbai, Delhi; TEXTJOIN skips blanks but does not remove duplicates. On Split Practice enter =TEXTSPLIT(A2,"|") in B2, leaving C2:D2 empty: Laptop, 55000, 12. B6: =TEXTSPLIT(A6,,",") spills Rahul, Sharma, Delhi down to B8. If unavailable, use Text to Columns on a copy. C11: ="Invoice date: "&TEXT(A11,"dd-mmm-yyyy"); D11: ="Total: ₹"&TEXT(B11,"#,##0").

Quiz

="A"&1+1?
A2 — maths happens before joining
Which function joins with a separator and can skip blanks?
TEXTJOIN
How do you show a date properly inside joined text?
TEXT with a date format
TEXTSPLIT, TEXTJOIN, CONCAT, & operator · Foundations | ExcelWalaa