
Flash Fill in Excel notices a pattern in what you type and fills the rest of the column for you, with no formula. You type the result you want for the first row or two, press Ctrl+E, and Excel completes the column. This guide shows how to use Flash Fill with made-up examples: splitting names, joining text, extracting digits and fixing the case. It also explains when it does not work and when a formula is the better tool.
Flash Fill is available in Excel 2013 and later.
How to use Flash Fill
- Put your data in one column, for example full names in column A.
- In the cell next to the first row, type the result you want. For "Sara Ahmed", type Sara.
- Press Enter to go to the next cell.
- Start typing the second result, or press Ctrl+E.
Excel shows a grey preview of the rest of the column. Press Enter to accept it. You can also find it on the Data tab, under Flash Fill.

Split a full name
With full names in column A, type the first name in B2 and press Ctrl+E for the rest. Then type the last name in C2 and press Ctrl+E again. This replaces a pair of formulas like the ones in our guide to LEFT, RIGHT and MID.

Join text together
If the first name is in A and the last name in B, type "Ahmed, Sara" in C2 in the form you want, then press Ctrl+E. Excel copies the pattern to the rest of the rows.
Extract part of a code
For codes like INV-2026-045, type 2026 next to the first code and press Ctrl+E. Excel looks for the pattern and fills the other rows. Check a few rows to make sure it found the right rule.
Fix the case
If names are in capital letters, type the first one as you want it, for example Sara Ahmed, and press Ctrl+E. Excel applies the same style to the other rows.
Add leading text or formatting to numbers
Flash Fill can also add a prefix, a separator or brackets. For a phone number such as 5551234567, type (555) 123-4567 in the next cell and press Ctrl+E.
Flash Fill does not update automatically
This is the biggest difference from a formula. The results are plain values. If you change the original data later, the filled cells stay the same. If your data changes often, use a formula. To join many cells with a formula, see the TEXTJOIN function.

Turn Flash Fill on or off
Go to File, Options, Advanced and look for the Automatically Flash Fill option under Editing options. If Excel does not show suggestions while you type, make sure the box is ticked. Ctrl+E still works when the automatic suggestions are off.
When Flash Fill does not work
- No pattern found. Give Excel a second example so the rule is clear.
- Data is not next to the column. Flash Fill looks at the neighboring columns, so keep the source beside the result.
- Mixed formats. Rows that follow different rules produce errors. Clean them first.
- Wrong results. Undo and give a more specific example.
- Dates change. A date stored as a number may fill with the number. Convert it to text with the TEXT function first, as in the TEXT function guide.

Flash Fill or formulas?
Use Flash Fill for a quick one-time clean-up. Use formulas when the source data changes or when you need to repeat the job every week.
Questions and answers
What is the shortcut for Flash Fill?
Ctrl+E on Windows.
Does Google Sheets have Flash Fill?
Google Sheets has a similar feature called smart fill suggestions, which may appear when you type in a column next to data. The behavior differs from Excel, so test it on a small sample.
Can I undo a Flash Fill?
Yes, press Ctrl+Z straight after, or use the Flash Fill Options button that appears next to the filled cells.
Is the result a formula?
No. It is plain text or numbers.
Summary
Type the result for the first row, press Ctrl+E, check the preview and accept it. Use formulas instead when the data keeps changing.
