Excel tutorial
/

Excel basics

Intermediate

Flash Fill in Excel (Ctrl+E): split names and reformat data without formulas

Flash Fill (Ctrl+E) fills a column from your example: split first and last names, format phone numbers, build emails. When it works and when it guesses wrong.

You receive 800 names like “Aziz Karimov”, but the report needs first and last names in separate columns. No formulas required: type “Aziz” in the first row, press Ctrl + E, and Excel fills the other 799 rows.

Flash Fill (available since Excel 2013) works out the rule behind your example: “the part before the first space”, “the last 4 digits”, “capitalized”. It is the fastest way to clean up and reformat data.

Книга1 - Excel
—☐✕
fx
ABCD
1Full nameFirst nameLast name
2Aziz KarimovAziz1Karimov2
3Dilnoza RahimovaDilnozaRahimova
4Javohir TursunovJavohirTursunov
5Malika YusupovaMalikaYusupova
6Sardor AliyevSardorAliyev
7
Готово
Only B2 and C2 were typed by hand; Flash Fill filled the green cells

Splitting first and last names

1

In the empty column next to the data (B), type the first result by hand: Aziz in B2. The column must touch the data — no empty column in between.

Книга1 - Excel
—☐✕
B2fxAziz
ABCD
1Full nameFirst nameLast name
2Aziz KarimovAziz1
3Dilnoza Rahimova
4Javohir Tursunov
5Malika Yusupova
6Sardor Aliyev
7
Готово

2

Start typing the next first name in B3. If Excel has spotted the rule, a grey preview appears in the remaining rows — press Enter and everything is filled.

3

No preview? Select B3 and press Ctrl + E, or click Flash Fill in the Data Tools group on the Данные tab.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Получить данныеОбновить все
Получить данные
СортировкаФильтр
Сортировка и фильтр
Текст по столбцамУдалить дубликатыПроверка данных
Работа с данными
B3fxDilnoza
ABCD
1Full nameFirst nameLast name
2Aziz KarimovAziz
3Dilnoza RahimovaDilnoza
4Javohir TursunovJavohir
5Malika YusupovaMalika
6Sardor AliyevSardor
7
ГотовоКоличество: 5

4

A Flash Fill Options icon appears next to the filled cells: you can undo the result or select the changed cells. Selecting them is handy for a review.

Книга1 - Excel
—☐✕
B3fxDilnoza
ABCD
1Full nameFirst nameLast name
2Aziz KarimovAziz
3Dilnoza RahimovaDilnozaОтменить мгновенное заполнениеAccept suggestionsSelect all 4 changed cells
4Javohir TursunovJavohir
5Malika YusupovaMalika
6Sardor AliyevSardor
7
Готово

5

Same for last names: type Karimov in C2, select C3 and press Ctrl + E. Each column is filled separately.

What else Flash Fill can do

  • Combine: “Karimov” + “Aziz” → “Karimov A.” or “aziz.karimov@firma.uz”.
  • Format: 901234567 → (90) 123-45-67; “tashkent” → “Tashkent”.
  • Extract: 0417 or 2025 from “INV-2025-0417”; a house number from an address; the domain from an email.
  • Reorder: “Aziz Karimov” → “Karimov Aziz”.
  • Date parts: 15.01.2025 → “January 2025” (if you type the example that way).

The more complex the rule, the more examples it needs: one is enough for simple cases; for tricky ones, type 2–3 rows by hand.

Книга1 - Excel
—☐✕
fx
ABCDE
1FirstLastShortEmail
2AzizKarimovKarimov A.aziz.karimov@firma.uz
3DilnozaRahimovaRahimova D.dilnoza.rahimova@firma.uz
4JavohirTursunovTursunov J.javohir.tursunov@firma.uz
5MalikaYusupovaYusupova M.malika.yusupova@firma.uz
6
Готово
New text built from two columns: row 2 is the example, Flash Fill wrote the rest
Книга1 - Excel
—☐✕
fx
ABCDE
1PhoneFormattedCodeNumber
2901234567(90) 123-45-67INV-2025-04170417
3935557788(93) 555-77-88INV-2025-04180418
4977001122(97) 700-11-22INV-2024-12031203
5998887766(99) 888-77-66INV-2025-00210021
6
Готово
Formatting phone numbers and extracting the number from a code — one example was enough for each
Книга1 - Excel
—☐✕
B4fxo‘g‘li
ABCD
1Full nameLast name
2Aziz KarimovKarimov
3Dilnoza RahimovaRahimova
4Abdulla Qodiriy o‘g‘lio‘g‘li1
5Malika YusupovaYusupova
6
Готово
A three-word name: Flash Fill applied a “last word” rule and wrote “o‘g‘li” instead of the surname

Pro level: Flash Fill or a formula?

Flash Fill is for one-off cleanup: an imported list, formatting before you send something. Fast and formula-free, but it never updates.

A formula is for a table whose data keeps changing. For first and last names:

  • First name: =ЛЕВСИМВ(A2;НАЙТИ(" ";A2)-1) — everything before the first space.
  • Last name: =ПСТР(A2;НАЙТИ(" ";A2)+1;100) — everything after the first space.
  • Easier in Excel 365: =ТЕКСТДО(A2;" ") and =ТЕКСТПОСЛЕ(A2;" ").

Two more tips: if Flash Fill doesn’t kick in automatically, check File → Options → Advanced → Automatically Flash Fill. And if you don’t trust the result, compare it with a formula: =B2=ЛЕВСИМВ(A2;НАЙТИ(" ";A2)-1) — rows showing FALSE are suspicious.

Книга1 - Excel
—☐✕
B2fx=ЛЕВСИМВ(A2;НАЙТИ(" ";A2)-1)
ABCD
1Full nameFirst nameLast name
2Aziz KarimovAzizKarimov
3Dilnoza RahimovaDilnozaRahimova
4Javohir TursunovJavohirTursunov
5
Готово
The formula version: change a name in column A and columns B and C update by themselves

Try it in the simulator

The simulator has no Flash Fill, so build the formula version. Type =ЛЕВСИМВ(A2;НАЙТИ(" ";A2)-1) in B2 and =ПСТР(A2;НАЙТИ(" ";A2)+1;100) in C2, then fill both down to row 5.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1Full nameFirst nameLast name
2Aziz Karimov
3Dilnoza Rahimova
4Javohir Tursunov
5Malika Yusupova
6
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

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

Support us
Previous

26 / 154