Ctrl+E in Excel activates Flash Fill, a feature that automatically fills a column with data it detects as a pattern from a single example you type. It is available in Excel 2013 and later on Windows and Excel 2016 and later on Mac. To use it, type the desired result in the cell next to your source data, press Ctrl+E (or Command+E on Mac), and Excel fills the rest of the column based on your example. Flash Fill works best for simple text transformations like splitting names, combining columns, or reformatting numbers, but it is not a formula and does not update automatically if the source data changes.
What You'll Need
- Excel 2013 or later on Windows, or Excel 2016 or later on Mac. Flash Fill is not available in Excel for the web or older versions.
- Source data in a single column or adjacent columns that you want to transform.
- An empty column next to the source data where the filled results will appear.
- Headers (optional but recommended) so Excel can better detect patterns.
Step-by-Step
- Open your workbook and locate the column containing the data you want to transform. For example, a column with full names like "John Smith".
- Click the first empty cell immediately to the right of the first data row. If your data starts in A2, click B2.
- Type the result you want for that row only. For example, if you want first names, type "John" in B2. Do not type a formula; just type the plain text result.
- Press Enter to confirm the entry and move to the next cell down (B3).
- With the cell below your example still selected (or any cell in the column where you want the fill), press Ctrl+E on Windows or Command+E on Mac. Excel analyzes the pattern from your example and fills the remaining cells in the column.
- Review the filled results. If Excel's pattern is correct, the column is now populated. If not, undo with Ctrl+Z and adjust your example to be more consistent.
- To accept the fill, simply click elsewhere or press Enter. The filled values are now static text; they will not update if the source data changes.
- If you want to keep the results but remove the original data, copy the filled column and paste it as values (Ctrl+Shift+V or right-click > Paste Special > Values) before deleting the source column.
Note: Menu labels and ribbon locations can differ slightly by Excel version, device, and region. Flash Fill is also available via Data > Flash Fill on the ribbon, but the keyboard shortcut is the fastest method.
Common Mistakes
- Typing a formula instead of a plain result. Flash Fill expects a literal example, not a formula. If you type =LEFT(A2,4), it will not work as intended.
- Providing an inconsistent example. If your first row example does not follow a clear pattern that applies to all rows, Flash Fill may produce wrong results. For instance, if some names have middle initials and others do not, the pattern may fail.
- Leaving the example cell selected incorrectly. Press Ctrl+E while the active cell is in the column you want to fill, not in the source column. If the active cell is in the wrong place, Flash Fill may fill the wrong column or do nothing.
- Expecting dynamic updates. Flash Fill results are static. If you edit the source data later, the filled column will not change. You must re-run Flash Fill or use formulas for dynamic results.
- Using Flash Fill on non-adjacent columns. Flash Fill works best when the source and destination columns are next to each other. If there is a gap, it may not detect the pattern correctly.
- Forgetting to undo a bad fill. If the fill is wrong, press Ctrl+Z immediately to undo before making other changes.
Tips
- Use headers to help Excel understand the data. For example, a header like "First Name" above the destination column can improve pattern detection.
- If Flash Fill does not trigger automatically, you can force it by typing the example and then pressing Ctrl+E. You can also go to Data > Flash Fill.
- For complex transformations, consider using formulas like TEXTBEFORE, TEXTAFTER, LEFT, RIGHT, or CONCAT instead of Flash Fill, because formulas update automatically.
- Flash Fill can handle simple formatting like adding hyphens to phone numbers or extracting domain names from emails, but it may struggle with irregular data.
- Always review the filled column for errors. Flash Fill is not perfect and may misinterpret patterns in messy data.
- If you need to apply Flash Fill to multiple columns, repeat the process for each column separately.
Troubleshooting
- Ctrl+E does nothing: Check that you are using a supported Excel version (2013+ on Windows, 2016+ on Mac). Also ensure the active cell is in the column you want to fill and that there is data to the left. If Flash Fill is disabled, go to File > Options > Advanced > Editing options and make sure "Enable Flash Fill" is checked. (On Mac: Excel > Preferences > Edit.)
- Flash Fill fills incorrect values: Undo with Ctrl+Z, then adjust your example to be more consistent with the pattern across all rows. Sometimes providing two examples (in the first two rows) helps Excel detect the pattern.
- Flash Fill fills only some cells: This usually happens when the pattern is ambiguous. Try providing more examples or simplifying the transformation.
- Flash Fill is grayed out: Ensure you have a contiguous range of data and that the active cell is within the range. Also check that the worksheet is not protected.
- Keyboard shortcut conflicts: Some add-ins or other software may intercept Ctrl+E. Try using the ribbon command Data > Flash Fill instead.
Frequently Asked Questions
Does Ctrl+E work in Excel for the web?
No, Flash Fill and the Ctrl+E shortcut are not available in Excel for the web. You need the desktop version of Excel.
Can I use Ctrl+E to fill formulas?
No, Flash Fill only works with static values, not formulas. If you need dynamic results, use Excel functions instead.
What is the Mac equivalent of Ctrl+E?
On Mac, use Command+E to trigger Flash Fill.
Why does Flash Fill sometimes add extra spaces or characters?
Flash Fill mimics the pattern it detects, including spacing. If your example includes extra spaces, it may replicate them. Provide a clean example to avoid this.
Can I undo a Flash Fill?
Yes, press Ctrl+Z immediately after the fill to undo it. If you have made other changes since, you may need to manually clear the cells.
Is Flash Fill available in Excel 2010?
No, Flash Fill was introduced in Excel 2013. It is not available in Excel 2010 or earlier.