Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (2024)

Excel is an extremely smart application and can perform many functions automatically if you know how to use it the right way.

Ctrl+E or Flash Fill is one such feature of Excel, and the things you can do with Ctrl+E can blow your mind. With Ctrl+E you can combine and segment cells, retrieve information, and add text to cells. Let’s learn how to use Ctrl+E to automatize some very complex operations in Excel.

1) What does Ctrl+E do?

Ctrl+E is the keyboard shortcut for the Flash Fill feature. How does the Flash Fill feature work? It fills values automatically by detecting certain patterns. You can click on the Flash Fill icon, or press Ctrl+E on the keyboard to use this feature.

Flash Fill (Ctrl+E) expects one or more examples of a pattern, and then automatically fills in values for other cells or the rest of the column.

Even the formatting of the cell is copied with the “Flash Fill” feature.

Let’s first see what Ctrl+E is capable of, and what functions it can fulfill.

Ctrl+E (Flash Fill) can:

  • Combine multiple cells, or concatenate text within a cell,
  • Segment text or cells into its parts, add space between words/segments,
  • Retrieve information, extract parts of a number or text,
  • Add text to generate answers, questions, or sentences from cell values, and add brackets or punctuation to organize text.

Now that we know what Ctrl+E can do, we will see how to use it with practical examples.

2)How to Use Ctrl+E in Excel

a. Combine Cells

Ctrl+E (Flash Fill) can combine multiple cells.

In this example, there are hours, minutes, and seconds in different columns. Let’s use Ctrl+E to combine these values to generate the time.

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (1)

Step 1: In column D, type the time with the hour (13), minute (34), and second (12) values: 13:34:12.

You can also convert decimals to hours and minutes for this purpose.

Step 2: While the example cell (D2) is selected, press Ctrl+E on your keyboard.

Flash Fill will automatically detect the pattern (HH:MM:SS) and replicate the pattern for the rest of the cells in column D:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (2)

Ctrl+E can also concatenate text within a cell. Let’s say that we have the full names of people:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (3)

We want to generate usernames for these people, by concatenating the first and last names in lowercase.

Step 1: First, type an example username in a new column by concatenating the first and last names.

Step 2: Select the example cell (B2), and press Ctrl+E.

Usernames will automatically be generated for every individual:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (4)

These are only two examples of how Ctrl+E can combine cells or text. Use your own imagination for other possibilities.

b. Segment Strings

Ctrl+E can segment text or information within a single cell, and place them in separate columns.

Below is a spreadsheet that contains information about people, such as name, surname, and age. We want to segment this information and place them in separate columns:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (5)

Step 1: For the information in cell A2, type the name in B2, surname in C2, and age in D2.

Step 2: Select cell B2, and press Ctrl+E. This will fill the Name column with the appropriate values. Do this operation also for cells C2 and D2.

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (6)

With this method, you can segment sentences or information separated with spaces using the segmenting functionality of Flash Fill.

c. Retrieve Information

Ctrl+E can also retrieve or extract information from cells. This is especially useful if you have to extract information from fixed positions within numbers or text.

Below is an example of telephone numbers, and we need to extract area codes:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (7)

Step 1: Type an example area code in cell C2.

Step 2: While the example cell (C2) is selected, press Ctrl+E on your keyboard.

Flash Fill will automatically detect the area code pattern, retrieve this information from all phone numbers in column B, and place the area codes in column C:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (8)

Similarly, Ctrl+E can extract information from within the text and can perform this task so easily. Without this feature, you would probably have to manually retrieve the information, or write code in some programming language.

d. Add Text

One additional benefit of Ctrl+E is we can add text or characters to cell values. For example, we can add spaces or hyphens to a phone number. Let’s see how we can obtain a phone number with spaces.

Step 1: Write the first phone number with spaces in the desired locations in a new column.

Step 2: While this cell is selected, press Ctrl+E to use the Flash Fill tool.

With the help of Flash Fill, spaces are inserted between the phone number segments:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (9)

The add-text functionality of Ctrl+E is also helpful when creating automated text with varying text. Below are the names of people to whom we want to send an automated welcome message:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (10)

To generate an automated message with varying names, follow these steps:

Step 1: Type the automated text in a new column, containing the name from column A.

Step 2: While the cell with automated text is selected, press Ctrl+E.

Ctrl+E will automatically generate the text with each individual’s name:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (11)

We have seen many different applications of Ctrl+E (Flash Fill). This smart tool makes difficult tasks much easier. Have fun with it!

3) How to Fix When Ctrl+E is not Working

Sometimes, the Ctrl+E keyboard shortcut may not work. In order to fix Ctrl+E when it’s not working, you can follow different solutions.

Solution 1: Instead of using the keyboard shortcut, you can use the Flash Fill icon. Simply go to the Data tab in Excel. Under Data Tools, click on the Flash Fill icon on the upper right of Text to Columns.

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (12)

Solution 2: Make sure that the correct cell is selected for Ctrl+E to work. Click on the cell that contains the example pattern, and then press Ctrl+E on your keyboard.

Solution 3: Make sure that the pattern is replicable. If the pattern is too complex, or it requires some reasoning other than combination, segmentation, or simple modifications to the text or number, the pattern may not be replicated by Ctrl+E. In that case, you may think of other ways to generate your data.

While you’re at it, also read about how to enable Ctrl + F if it’s not working.

4) How to Undo Ctrl+E in Excel

If you want to undo Ctrl+E and remove the outputs of Flash Fill, you can use the Undo shortcut or the Undo icon in Excel.

Undo Shortcut

The undo shortcut in Excel is Ctrl+Z. After you use Flash Fill with the Ctrl+E shortcut, you can press Ctrl+Z on your keyboard to undo the Flash Fill operation.

Undo Icon

The Undo icon in Excel is located in the Home tab, on the upper left:

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (13)

You can press this icon until the undo operation is enough.

In this tutorial, we learned about an excellent feature of Excel: Flash Fill. We learned how to automatize many tasks using the Ctrl+E shortcut. Now, you can perform fancy operations that would rather require programming skills. Nice job!

Ctrl+E in Excel (Flash Fill) - How to Use, Fix and Undo (2024)

FAQs

How to fix flash fill in Excel? ›

If Flash Fill doesn't generate the preview, it might not be turned on. You can go to Data > Flash Fill to run it manually, or press Ctrl+E. To turn Flash Fill on, go to Tools > Options > Advanced > Editing Options > check the Automatically Flash Fill box.

How do you use Ctrl+E flash fill in Excel? ›

To format data using Flash Fill:

Press Ctrl+E on your keyboard. Excel will analyze the pattern and apply it to the rest of the column.

How to use the Ctrl+E function in Excel? ›

In spreadsheet applications like Microsoft Excel or Google Sheets, pressing Ctrl+E typically triggers the "Fill Right" command. This command copies the content from the cell to the left of the active cell and fills it to the right in the selected range.

How do you undo a fill in Excel? ›

Remove cell shading
  1. Select the cells that contain a fill color or fill pattern. For more information on selecting cells in a worksheet, see Select cells, ranges, rows, or columns on a worksheet.
  2. On the Home tab, in the Font group, select the arrow next to Fill Color, and then select No Fill.

How to switch on flash fill in Excel? ›

Click File > Options. Click the Advanced in the left pane, and ensure that the Automatically Flash Fill box is checked. Click OK. Close and restart Excel.

How do I fix fill in Excel? ›

Open the File menu and head to Options. There, select Advanced from the left-hand menu and scroll down to the Editing Options section. Check the Enable fill handle and cell drag-and-drop option. Additionally, you should check Alert before overwriting cells to avoid accidentally editing important information.

What might cause errors in using flash fill? ›

Spelling Errors: Flash Fill relies on patterns. Spelling errors or inconsistencies in your data can disrupt these patterns and prevent Flash Fill from working. Hidden Column: When using Flash Fill, make sure no essential columns are hidden, as this can hinder the detection of patterns.

Why is my Excel AutoFill not working? ›

By default, AutoFill is enabled in Excel. However, it is possible that the Autofill settings have been changed. To check the Autofill settings, go to File > Options > Advanced and scroll down to the Editing options section. Make sure that the Enable fill handle and cell drag-and-drop option is selected.

What does Ctrl+E do? ›

When using a word processor like Microsoft Word, Ctrl+E is a shortcut for aligning text to the center of a line or paragraph. By placing the cursor within the desired text and pressing Ctrl+E, you can quickly apply center alignment, giving your document a visually balanced appearance.

How do I remove duplicates in Excel? ›

Remove duplicate values
  1. Select the range of cells that has duplicate values you want to remove. ...
  2. Select Data > Remove Duplicates, and then under Columns, check or uncheck the columns where you want to remove the duplicates. ...
  3. Select OK.

What is the shortcut for AutoFill in Excel without dragging? ›

Select the cell with the formula and the adjacent cells you want to fill. Click Home > Fill, and choose either Down, Right, Up, or Left. Keyboard shortcut: You can also press Ctrl+D to fill the formula down in a column, or Ctrl+R to fill the formula to the right in a row.

Which of the following is required for flash fill to work? ›

In most cases, Flash Fill initiates automatically — all you have to do is provide it with a discernible pattern by following these steps: Insert a new column: Insert a new column beside the one containing your data. Enter a value: Type the desired value into the first cell of your new column.

How to automatically fill in Excel? ›

AutoFill Formulas

Click and hold on the fill handle and drag to the right (or down) to fill in the other cells. Excel automatically adjusts the formula for the row it is now on (so, in the example at right, February's total formula would read =SUM(B3:F3) and so on.

How do I remove fill in Excel? ›

To remove any background colors, patterns, or fill effects from cells, just select the cells. Then click Home > arrow next to Fill Color, and then pick No Fill.

How do I turn off autofill in Excel? ›

Click File > Options. Click Advanced, and then under Editing options, select or clear the Enable AutoComplete for cell values check box to turn this option on or off.

What does flash fill mean in Excel? ›

Select Data > Flash Fill and Excel automatically fills in your data.

Top Articles
The St. Louis Star and Times from St. Louis, Missouri
Star Tribune from Minneapolis, Minnesota
Tyler Sis 360 Louisiana Mo
Chase Bank Operating Hours
Umn Pay Calendar
Midway Antique Mall Consignor Access
A.e.a.o.n.m.s
What Does Dwb Mean In Instagram
Gma Deals And Steals Today 2022
Chile Crunch Original
Google Feud Unblocked 6969
Conscious Cloud Dispensary Photos
Costco Gas Foster City
24 Hour Drive Thru Car Wash Near Me
Account Suspended
Satisfactory: How to Make Efficient Factories (Tips, Tricks, & Strategies)
I Saysopensesame
Happy Life 365, Kelly Weekers | 9789021569444 | Boeken | bol
Craigslist Lewes Delaware
Mtr-18W120S150-Ul
Johnnie Walker Double Black Costco
European city that's best to visit from the UK by train has amazing beer
Shoe Station Store Locator
Piri Leaked
Wonder Film Wiki
1636 Pokemon Fire Red U Squirrels Download
Uncovering the Enigmatic Trish Stratus: From Net Worth to Personal Life
Greyson Alexander Thorn
R/Mp5
Experity Installer
Mia Malkova Bio, Net Worth, Age & More - Magzica
Kokomo Mugshots Busted
Indiana Immediate Care.webpay.md
Craigslist Car For Sale By Owner
The 50 Best Albums of 2023
Soulstone Survivors Igg
Bbc Gahuzamiryango Live
The TBM 930 Is Another Daher Masterpiece
Citibank Branch Locations In Orlando Florida
Armageddon Time Showtimes Near Cmx Daytona 12
Unblocked Games Gun Games
Senior Houses For Sale Near Me
FedEx Authorized ShipCenter - Edouard Pack And Ship at Cape Coral, FL - 2301 Del Prado Blvd Ste 690 33990
Holzer Athena Portal
Enter The Gungeon Gunther
Espn Top 300 Non Ppr
The Quiet Girl Showtimes Near Landmark Plaza Frontenac
Dineren en overnachten in Boutique Hotel The Church in Arnhem - Priya Loves Food & Travel
Compete My Workforce
Dumb Money Showtimes Near Regal Stonecrest At Piper Glen
Invitation Quinceanera Espanol
Craigslist Centre Alabama
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 5727

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.