Appearance
How to Use Flash Fill in Excel
Applies to: Microsoft Excel (Microsoft 365, Excel 2021, Excel 2019)
Article Type: How-To
Last Updated: 2026-03-09
Summary
Flash Fill automatically fills in values by recognising patterns in your data — for example, extracting first names from full names, reformatting phone numbers, or combining columns. Instead of writing complex formulas, type one or two examples and let Excel do the rest. This article shows how to use Flash Fill effectively.
Prerequisites
- Microsoft Excel (2013 or later).
- No admin rights required.
Instructions
1. Use Flash Fill to Extract Data
Pull part of a value from an adjacent column.
- In a worksheet, place your data in Column A (e.g., full names like
John Smith). - In Column B, type the pattern you want for the first row (e.g.,
Johnto extract first names). - Press Enter and move to the next cell in Column B.
- Press Ctrl+E to activate Flash Fill.
- Excel fills the remaining cells in Column B by following the pattern you demonstrated.
2. Use Flash Fill to Combine Data
Merge values from multiple columns into one.
- Place data in Column A (e.g., first names) and Column B (e.g., last names).
- In Column C, type the combined result for the first row (e.g.,
Smith, John). - Press Enter and move to the next cell in Column C.
- Press Ctrl+E.
- Excel combines the remaining rows following your pattern.
3. Use Flash Fill to Reformat Data
Change the format of existing values.
- Place data in Column A (e.g., dates like
20260309). - In Column B, type the reformatted version for the first row (e.g.,
03/09/2026). - Press Enter and move to the next cell in Column B.
- Press Ctrl+E.
- Excel reformats all remaining values to match.
4. Use Flash Fill from the Ribbon
Activate Flash Fill without the keyboard shortcut.
- Type your example in the first cell of the output column.
- Click the Data tab on the ribbon.
- In the Data Tools group, click Flash Fill.
- Excel fills in the pattern for the remaining cells.
5. Verify and Correct Flash Fill Results
Ensure the results are accurate.
- After Flash Fill completes, review the filled cells carefully.
- If any values are incorrect, manually correct them.
- If Flash Fill misidentifies the pattern, type a second example in the next row and press Ctrl+E again — the additional example helps Excel refine its prediction.
- If the pattern is a consistent separator rather than a shape — every value split on the same comma or space — use the Text to Columns wizard instead. It gives you an exact rule and a preview before anything changes: How to Split Text into Columns in Excel.
Troubleshooting
TIP
Flash Fill works best when your source data is consistent. If the source column has irregular formatting (e.g., some entries with middle names, some without), Flash Fill may produce incorrect results for edge cases.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
| Flash Fill does not activate | Feature may be disabled | Go to File > Options > Advanced and ensure Automatically Flash Fill is checked. |
| Flash Fill produces incorrect results | Inconsistent source data | Provide a second manual example and press Ctrl+E again to improve pattern recognition. |
| Ctrl+E does nothing | Output column is not adjacent to source data | Ensure the output column is directly next to the source data column. |