Elite Membership

Flash Fill In Excel

Written by Jeevan A Y Jeevan A Y Freelance Writer Jeevan, a seasoned data expert with 7 years in MIS reporting, excels in Advanced Excel, VBA, Power BI, and SQL. Currently an Assistant Manager MIS, his insightful data storytelling drives swift decision-making. 7+ years of experience MBA (Finance & Marketing) MIS Reporting View Full Profile
Reviewed by Dheeraj Vaidya, CFA, FRM Dheeraj Vaidya, CFA, FRM Content Reviewer & Course Director A former J.P.Morgan and CLSA Equity Analyst, Dheeraj specializes in financial modeling, AI, forecasting, and valuations. In his career spanning almost two decades, he has trained and mentored more than 100,000 students and professionals on a range of topics. 20+ years of experience CFA, FRM, IIT Delhi, IIM Lucknow Financial Modeling View Full Profile
Updated Dec 19, 2024
Read Time 6 min

What Is Flash Fill In Excel?

Flash Fillย in Excel is a feature where we can automatically fill a series of data, such as date, year, or fill a pattern to the selected empty cells in a flash, i.e., in a fraction of a second.

In Excel Flash Fill, first, Excel senses the pattern in the data from the previous fills of Excel. Then, when we type some characters in the adjacent cells next to it, it automatically flashes the suggested data.

Download FREE Flash Fill Excel Template and Follow Along!
Download Excel Template

For example, in cell A1 we have the cell value 1478569230, and we have modified the cell value as 1478-5692-14, which acts as a pattern.

Flash Fill Intro

Next, type the Flash Fill shortcut key โ€œCtrl+Eโ€.

Flash Fill Intro - Output

The output is shown above, i.e., the rest of the cells are filled w.r.t the pattern automatically.

Key Takeaways

  • The Flash Fill in Excel automatically fills a set pattern in the cells, such as retrieving specific details from a cell value, part of the names, dates, years, etc.
  • We have multiple methods to Flash Fill, such as clicking the option from the Data tab, using the shortcut key, using the Fill Handleโ€™s Automatic Flash Fill feature, etc.
  • Using this feature, we can retrieve a part of the selected cell values, or set a pattern to combine data from the existing data to form new data.
  • If we are unable to view the Flash Fill feature, make sure to enable the feature from the Excel Options windowโ€™s Advanced tab.

How To Use Flash Fill In Excel?

We can use Flash Fill in Excel using the 2 methods, namely:

  1. Using the Excel Ribbon.
  2. Using the shortcut key.

Method #1 – Using the Excel Ribbon

First, choose the cell value with the pattern to be filled – select the โ€œDataโ€ tab – go to the โ€œData Toolsโ€ group – click the โ€œFlash Fillโ€ option, as shown below.

Flash Fill In Excel

Method #2 – Using the shortcut key –

The shortcut key to Excel Flash Fill is โ€œCtrl+Eโ€.

Examples

We will consider examples to Flash Fill in Excel.

Example #1 โ€“ Extract FY From the Invoice Number

We have data on invoice numbers, and we want to extract the FY year from the list given below. Applying many complex formulas will be quite challenging for an intermediate user. However, the โ€œFlash Fillโ€ tool is a useful option.

Flash Fill Example 1

The steps to retrieve the first year usingExcel Flash Fillare,

  1. First, we must set the pattern, so type the first FY year in cellB2.
  2. Now, select the โ€œDataโ€ tab – go to the โ€œData Toolsโ€ group – click the โ€œFlash Fillโ€ option, as shown below.
  3. After typing the first FY into the cell, Excel understands the fill pattern. We can do the โ€œFlash Fillโ€ in two ways.

    The first way, drag the first entry until the end. Now, click theAUTOFILL option in exceland select โ€œFlash Fillโ€.Consequently, it will insert all the FY years from the invoice numbers columns, as shown below.The second way, after typing the first FY year into the cell, we must press theโ€œCTRL + Eโ€key. It will extract FY from the invoice numbers columns.

Example #2 โ€“ Extract First Name & Last Name

The โ€œFlash Fillโ€ tool will help us extract specific details as required.

Flash Fill Example 2

We want to get the first and last names from the above list.

So, we must first type the first name in the B2 cell and the last name in the C2 cell to create a pattern.

Flash Fill Example 2-1

We will now go to the B2 cell, and pressย โ€œCTRL + Eโ€.

Flash Fill Example 2-2

Then, we will go to the C2 cell, and pressย โ€œCTRL + Eโ€.

Flash Fill Example 2-3

The final output is shown below.

Flash Fill Example 2-4

Example #3 โ€“ Format Numbers Using Flash Fill

The Flash Fill feature extracts a portion of the cell and helps us format the cell value. Now, let us take a look at the below example. We have phone numbers, and we want to format them like this: 9056-2358-90.

Example 3

First, we will type the format in the first cell to set a pattern.

Example 3-1

Now, typeย โ€œCTRL + Eโ€.

Example 3-2

The output is shown below.

Example 3-3

Example #4 โ€“ Combine Two Values Using Flash Fill

The Flash Fill tool takes the first and last names and combines them. So,ย now we have a first name and last name in two different columns. We want the full name in the next column.

Example 4

To do that, we must type the required pattern name in cell C2.

Example 4-1

Now, we must press the shortcut key to โ€œFlash Fillโ€.

Example 4-2

The output is shown below.

Example 4-3

Excel Flash Fill Shortcut

The shortcut for Flash Fill is,

Flash Fill shortcut key

We must set the pattern in the first output cell, then press โ€œCtrl+Eโ€ for the pattern to Automatically Fill to the rest of the output cells.

Excel Flash Fill Limitations

The Flash Fill feature has its limitations too. It is very important to note them.

  • The Flash Fill data tool is not dynamic. Remember, it is not a formula to change the resulting cell if any modifications to the reference cell values are made.
  • The Flash Fill tool can wrongly insert the data. Take a look at the below example.
Flash Fill Limitations

In the above image, we wanted to extract the middle name. So, we typed the middle name in the first cell and pressed the โ€œCTRL + Eโ€. But for a few names, there are no middle names, so it has extracted the first name itself.

Important Things To Note

  • The Flash Fill tool works based on the pattern of the data. If there is no pattern, Excel may show the below error message.
Flash Fill error
  • Ensure to select the โ€œFlash Fillโ€ option while using the Fill Handle options.

Frequently Asked Questions (FAQs)

How to Turn on Flash Fill in Excel?

There may be instances where the โ€œFlash Fillโ€ option is greyed out or not disabled. It may be because Excel has turned off the โ€œFlash Fillโ€ option in the system.
Therefore, the steps to enable the Flash Fill in Excel are,
1. We must first go to โ€œFileโ€. Then, choose โ€œOptionsโ€.

Flash Fill In Excel FAQ 1.png

2. Select the โ€œAdvancedโ€ option on the left, and on the right, check/tick the โ€œAutomatically Flash Fillโ€ option checkbox, as shown below.

Flash Fill In Excel FAQ 1-1.png

Is there an alternate way to Flash Fill in Excel?

Yes, there is an alternate way to Flash Fill in Excel. We can use the โ€œFill Handleโ€ option. So, when we Drag & Drop the values, we get a small box on the bottom right known as the โ€œAuto Fill Optionsโ€, which has a few options along with the โ€œFlash Fillโ€ option, as shown below.

Flash Fill In Excel FAQ 2.png

Why is the Flash Fill in Excel not working?

A few reasons why the Flash Fill in Excel may not work are,
โ€ข When we Drag & Drop the values using the โ€œFill Handleโ€, we have not selected the โ€œFlash Fillโ€ option.
โ€ข The โ€œAutomatically Flash Fillโ€ option is not enabled in the โ€œExcel Optionsโ€ window. We can enable it by following the steps from FAQ 1.

This article is a guide to Flash Fill in Excel. Here we use Flash Fill using Data Tab, Shortcut key, fill handle, AutoFill, examples and downloadable template. You may learn more about Excel from the following articles: –