Excel tutorial
/

Functions

Beginner

Excel CONCAT function and the & operator: how to combine text

Use CONCAT and & to build full names, product codes and addresses in one cell — and keep number and date formatting intact. With examples.

CONCAT glues several cells or pieces of text into one string. Last name in one column, first name in another — CONCAT turns them into “Karimov Aziz”.

The & (ampersand) operator does exactly the same: =A2&" "&B2. In practice most people use &: it is shorter and works in every Excel version.

Where you need it: employees’ full names, product and document codes like “TSH-2025-145”, delivery addresses, SMS text for customers.

Книга1 - Excel
—☐✕
C2fx=СЦЕП(A2;" ";B2)
ABCD
1Last nameFirst nameFull name
2KarimovAzizKarimov Aziz
3RahimovaDilnozaRahimova Dilnoza
4ToshmatovJavohirToshmatov Javohir
5
ГотовоКоличество: 3
Last name, a space and first name — three pieces became one string

Syntax

=СЦЕП(text1; [text2]; …)

  • text1 — the first piece: a cell (A2), a range or text in quotes (" ").
  • text2, … — further pieces, up to 253.

Three ways, same result:

  • =СЦЕП(A2;" ";B2) — Excel 2019, 2021 and 365.
  • =A2&" "&B2 — the & operator, every version.
  • =СЦЕПИТЬ(A2;" ";B2) — the old function, kept for compatibility.

Excel puts nothing between the pieces on its own: if you need a space, comma or dash, add it as a separate piece.

Joining last and first name

1

Select the result cell — C2.

2

Формулы → Текстовые → choose CONCAT.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
C2fx
ABCD
1Last nameFirst nameFull name
2KarimovAziz
3RahimovaDilnoza
4
5
Готово

3

Enter A2 in Text1, " " (one space in quotes) in Text2 and B2 in Text3, then click OK.

Книга1 - Excel
—☐✕
C2fx=СЦЕП(A2;" ";B2)
ABCD
1Last nameFirst nameFull name
2KarimovAzizKarimov Aziz
3RahimovaDilnoza
4
5
Готово

4

Double-click the fill handle to copy the formula down. Faster still: type =A2&" "&B2 straight into the cell.

Книга1 - Excel
—☐✕
C2fx=A2&" "&B2
ABCD
1Last nameFirst nameFull name
2KarimovAzizKarimov Aziz
3RahimovaDilnozaRahimova Dilnoza
4ToshmatovJavohirToshmatov Javohir1
5
ГотовоКоличество: 3
Книга1 - Excel
—☐✕
D2fx=A2&"-"&B2&"-"&C2
ABCDE
1BranchYearNumberDocument code
2TSH2025145TSH-2025-145
3SAM2025146SAM-2025-146
4BUX202499BUX-2024-99
5
Готово
Example 1: building a code with & — a dash goes between the pieces
Книга1 - Excel
—☐✕
D2fx=СЦЕП(C2;" ";B2;" St, ";A2)
ABCDE
1CityStreetHouseAddress
2TashkentAmir Temur1212 Amir Temur St, Tashkent
3SamarkandRegistan55 Registan St, Samarkand
4
5
Готово
Example 2: fixed words (“St”, commas) are inserted between the cells — in any order you like
Книга1 - Excel
—☐✕
C3fx="Total: "&ТЕКСТ(A3;"#,##0")&" UZS, "&ТЕКСТ(B3;"dd.mm.yyyy")
ABCD
1AmountDateResult
21 250 00001.01.2025Total: 1250000 UZS, 456581
31 250 00001.01.2025Total: 1,250,000 UZS, 01.01.20252
4
5
Готово
Example 3: (1) the number and date lost their format — 45658; (2) inside TEXT the format is kept

Pro level: ranges, line breaks and SMS text

  • Joining a range. CONCAT accepts a whole range: =СЦЕП(A2:D2) glues four cells together. It adds no delimiter, though — if you need commas or spaces, TEXTJOIN is the better tool.
  • A new line inside a cell. =A2&CHAR(10)&B2 puts last and first name on two lines. Turn on Перенос текста for the cell to see it.
  • Automatic messages. ="Dear "&B2&", your balance is "&ТЕКСТ(C2;"#,##0")&" UZS." — ready SMS text for every customer. Copy the column into your messaging service.
  • No formula at all. For a one-off job, Flash Fill (Ctrl + E) can join too: type a sample in the first cell and press Ctrl + E. Its result won’t update when the source changes, while a formula will.

Try it in the simulator

Type =A2&" "&B2 in C2 and fill it down to C4. Then type =СЦЕП(B2;" ";A2) in D2 to swap first and last name.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1Last nameFirst nameFull nameFirst Last
2KarimovAziz
3RahimovaDilnoza
4ToshmatovJavohir
5
6
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

114 / 154