If Flash Fill is not working in Excel, enter a clear example beside your source data, select the next cell in that column, and press Ctrl+E on Windows—or choose Data > Flash Fill. If Excel still does not fill the pattern, check that automatic Flash Fill is enabled, the examples are consistent, and you are using the desktop app rather than Excel for the web.
Start with a reliable Flash Fill example
Flash Fill works best when the source values are arranged in a clear column and the results will go in a neighboring column. For example, suppose column A contains full names such as “Maya Chen” and “Luis Patel,” and you want first names in column B. Type “Maya” in B2, then move to B3 and type “Luis.” Excel may suggest the rest of the column. Press Enter to accept the suggestion. If it does not appear, select B3 and press Ctrl+E, or use Data > Flash Fill.
For some patterns, one example is enough; for less obvious ones, provide two or more. The examples should show the same transformation you want applied to every row. If you want first names in one column and last names in another, demonstrate each result separately rather than mixing both transformations in one output column.
- Keep the original values together in one column, with one record per row.
- Put the example result in the adjacent column and on the same row as its source.
- Use the next row for another example if Excel does not infer the pattern from the first.
- Accept the preview with Enter, or select the output range and run Flash Fill manually.
Before using Flash Fill on important data, try it on a copy or a small sample. It writes results into cells, so reviewing a preview or a few completed rows can catch a pattern that does not fit every record.
How Flash Fill works—and what it does not do
Flash Fill recognizes a pattern in examples you type and uses it to create similar results. It can help split names, combine text, change letter case, reformat phone numbers, or extract part of an email address. Unlike a worksheet formula, Flash Fill does not leave a calculation in each output cell. The results are values, not instructions that recalculate from the source.
That distinction explains two common surprises. First, editing a source value later does not automatically refresh its Flash Fill result. Second, Flash Fill can be useful even when a formula would be difficult to write, but its output is not a live link to the original data. If the source changes regularly, consider a formula or another repeatable transformation instead.
Flash Fill is pattern-based, not a full understanding of your data. It can infer “take the text before the first space” from examples, but it cannot know that a particular surname has two words unless your examples make that rule clear. It may also make mistakes if one column contains several kinds of records. Always inspect the output, especially when the transformation affects names, identifiers, or other information that must be exact.
Check the automatic setting and run it manually
Flash Fill can work manually even when Excel is not suggesting results as you type. In Microsoft 365 for Windows, check the automatic setting by opening File > Options > Advanced. Under Editing options, make sure Automatically Flash Fill is selected. If you change the setting, return to the worksheet and try typing an example again. The setting controls automatic suggestions; it does not replace the manual command.
To run the command directly, enter the example, select the first empty cell below it in the output column, and choose Data > Flash Fill. On Windows, Ctrl+E is the keyboard shortcut. If the command is unavailable or does nothing, verify that the active cell is in the intended output area and that the source data and examples are visible in the same worksheet. A manual run is a useful test: if it works, the issue is more likely the automatic suggestion setting or timing than the pattern itself.
On a Mac, use Data > Flash Fill if the keyboard shortcut is unclear; keyboard shortcuts can differ with the Excel build and keyboard configuration. Excel for the web does not provide the desktop Flash Fill command, so open the workbook in the Excel desktop app to use this feature. Menu wording or settings can vary between Excel versions, so if you cannot find the Windows option, check that you are in desktop Excel and that the app is up to date.
Fix patterns Excel cannot confidently recognize
When Flash Fill does nothing—or fills only some rows—the examples may not describe one consistent rule. Consider a phone-number column containing a mix of values such as “2125550198,” “(212) 555-0198,” and “+1 212-555-0198.” If you type one formatted example, Excel has to guess whether to remove punctuation, preserve the country code, or standardize all entries. Those are different transformations. Decide the desired result first, then provide examples that demonstrate it clearly.
Other patterns that commonly confuse the feature include middle names, suffixes such as “Jr.,” inconsistent spacing, blank rows, and entries with different punctuation. A first-name example based on “Maya Chen” may not tell Excel what to do with “Anne Marie O’Neill.” Add examples from the unusual cases, or handle those records separately. If the output is partly right, inspect the first row where it changes behavior; that often reveals an exception in the source data.
- Use representative examples: Include a typical row and a row with an important variation.
- Make the target rule explicit: Decide whether to preserve punctuation, spaces, leading zeros, or country codes.
- Look for hidden inconsistencies: Extra spaces and mixed formats can make similar-looking entries behave differently.
- Separate different jobs: Extracting a first name and changing capitalization are clearer as separate output columns.
If the data has many exceptions, do not keep adding examples indefinitely. Flash Fill is designed for recognizable patterns, not for enforcing a complex set of business rules. A formula, Power Query, or a deliberate manual cleanup may be more dependable.
Check the selected range and worksheet conditions
Flash Fill needs a sensible relationship between the source and output cells. If you select an unrelated range, start in the wrong row, or place the example far from the data, Excel may not identify which values to use. Try a small test in an empty column directly beside the source. Also check that you have not selected only a single cell that contains an existing result when you meant to fill the whole output area.
Look for blank rows or columns that divide the list into separate blocks. Excel may treat a separated block as a different region, so the examples above a gap may not guide the records below it. Remove accidental gaps if appropriate, or run Flash Fill separately within each block. Do not delete intentional separators without confirming what they represent.
Finally, check whether the worksheet is protected or the cells are otherwise unavailable for editing. Flash Fill must be able to put results in the destination cells. If Excel reports that the cells cannot be changed, resolve the protection or editing restriction before trying the command again. Avoid overwriting an existing column of data: use an empty output column or make a copy first.
Choose between Flash Fill and formulas
Flash Fill is convenient for a one-time cleanup when the pattern is simple and you can verify the results. A formula is usually better when results must update after the source changes, when the same rule will be reused, or when you need to audit how each value was produced. Formulas also make the transformation visible in the worksheet, while Flash Fill leaves ordinary values.
For example, with first names in A2:A20 and last names in B2:B20, enter this formula in C2 to combine the names with a space:
=A2&" "&B2
For the row where A2 is “Maya” and B2 is “Chen,” the result is “Maya Chen.” Fill the formula down column C to apply it to the other rows. Unlike a Flash Fill result, the formula result changes if A2 or B2 changes.
For an email-address example, with an address such as “maya.chen@example.com” in A2, this formula in B2 returns the text before the at sign:
=LEFT(A2,FIND("@",A2)-1)
For that example, the result is “maya.chen.” The formula assumes the cell contains an at sign; if that is not guaranteed, account for invalid or blank entries before filling it down. Formula behavior is more repeatable, but formulas also need to be checked against the actual data and desired rule.
Power Query is another option for recurring imports and larger cleanup jobs. It lets you define transformation steps and rerun them when you refresh the query. That is more setup than Flash Fill, but it is often a better fit when the same cleanup must be repeated reliably on new files.
Common misconceptions that lead to bad results
Flash Fill is not the same as dragging a fill handle. The fill handle copies values, formulas, or recognizable series; Flash Fill infers a text transformation from examples. Nor is it a formula that continually watches the source. If you expected the output to stay synchronized after editing the original cells, the feature may be working exactly as designed—the output is simply static.
Another misconception is that pressing Ctrl+E will always fix any data-cleaning problem. The shortcut runs the command, but it cannot resolve an ambiguous pattern or account for every exception. If Excel produces a result that is only partly correct, undo the operation promptly with Ctrl+Z, improve the examples or clean the source, and try again. Ctrl+Z can undo the recent worksheet action, but it is not a substitute for keeping a backup before a large cleanup.
Also, a missing automatic suggestion does not necessarily mean Flash Fill is broken. Automatic filling can be disabled, while the manual Data command still works. Test the manual command and check the setting before changing the data or reinstalling Office.
Frequently Asked Questions
Why is Flash Fill not showing a preview?
Automatic Flash Fill may be turned off, or Excel may not recognize the example as a clear pattern. In Windows desktop Excel, check File > Options > Advanced for Automatically Flash Fill. Then add another representative example and try Data > Flash Fill manually.
What is the keyboard shortcut for Flash Fill?
In Excel for Microsoft 365 on Windows, press Ctrl+E. You can also choose Data > Flash Fill. On a Mac, the menu command is a reliable option if the shortcut differs in your setup.
Does Flash Fill update when I change the source data?
No. Flash Fill writes values into the output cells. If you need results to recalculate when the source changes, use a formula or a repeatable data transformation such as Power Query.
Can I use Flash Fill in Excel for the web?
The desktop Flash Fill command is not available in Excel for the web. Open the workbook in the Excel desktop app to use Flash Fill, or use an available formula-based method in the web app.
Why did Flash Fill only fill some of my rows?
Excel may have encountered a blank row, a separate data block, or an entry that does not match the demonstrated pattern. Review the first missed or incorrect row, add examples for meaningful variations, and run the command again on the appropriate range.
Related
- Excel Cell Dropdown: Create a Pick List and Use It
- Excel Consolidate Rows With the Same Value
- Excel Consolidate Lists With Duplicates: Keep or Remove?
Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.
More in Errors & fixes
- Deleting Columns in Excel Not Working? Try These FixesIf deleting columns in Excel is not working, first select the column letter, then choose Home > Cells…
- Excel YEAR Function Not Working? Fix Dates and ResultsIf Excel’s year-today formula is not working, enter =YEAR(TODAY()) in a cell formatted as General or Number; it…
- Fix Strikethrough in Excel: Remove or Apply ItTo fix strikethrough in Excel for Microsoft 365 on Windows, select the affected cell or text and press…
- Why Won’t Transpose Work in Excel? Causes and FixesTranspose usually fails in Excel because the destination range is blocked, the copied range has an awkward shape,…
- Excel Box and Whisker Plot Not Working? Fixes to TryIf an Excel box-and-whisker plot is missing, blank, or arranged incorrectly, first check that you are using a…
- How to Fix Wrap Text in Excel: Quick Steps and TipsTo fix Wrap Text in Excel, select the affected cells, then choose Home > Wrap Text. If the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.