Chapter-3: Flash Fill in Excel

In this article you learn very interesting feature of Excel, that is Flash fill. Flash fill is a time saving feature which fills in data on the base of a pattern. It can also can extract and insert as well as format and concatenate.

Note: This feature is available only in Excel 2013 and above.

Flash fill option is available in Data tab. It also can be used by pressing Ctrl+E shortcut key.

Flash Fill in Data tab
Flash Fill in Data tab

Flash fill can be used for Dates, Text or numbers.

Date Example:

Lets say we have few dates in column A and we need to get Day on column B and Month on Column C. Although we can get it done by using the formula but we will achieve it by using Flash Fill.

Date for using Flash Fill
Date for using Flash Fill

To get the day from the date  type 1 (Day of first date) on B2

Type First entry manually
Type First entry manually

Click on cell B3 and click on Flash Fill or press Ctrl+E.

Data Filled by using Flash fill
Data Filled by using Flash fill

To fill the month on column C input the first entry manually.

First Manual entry
First Manual entry

Click on cell c3 and press Ctrl+E. Data will be filled automatically.

Month Name achieved form date
Month Name achieved form date

We also can get day and month in a single column and format it as per our requirement. Enter the first one or two entry manually to get a pattern.

Create Comment form date
Create Comment form date

Press Ctrl+E to use flash fill.

Comments creation form date
Comments creation form date

Text Example:

Let’s take an example of text to use the Flash Fill. We have the below data of IPL team and we have to achieve the yellow columns data.

Text data for Flash Fill
Text data for Flash Fill

To get the first name of the team type Mumbai (first name of Mumbai Indians) in cell “I2“. Now if we will press Ctrl+E then it will fill Kolkata only in cell “I3” but we want to fill here Kolkata Knight here. We will fill it manually on cell “I3” so that we can give a pattern that whenever a team has 3 words in its name then first 2 words will be filled in First name.

Get First Name of Team
Get First Name of Team
  • Select the Range “I4”
  • Press Ctrl+E to flash fill.
Team First name achieved
Team First name achieved

To get the Last Name type one manual entry

First Manual Entry
First Manual Entry

Press Ctrl+E to flash fill.

Team Last Name achived
Team Last Name
  • Now we have to get the short name of the team like- for Mumbai Indians = MI
  • Input the one manual entry to get the patterns
Manual entry
First Manual entry
  • Press Ctrl+E to flash fill.

 

Team short Name
Team short Name

 

Now useful part of Flash fill is that we can create the comments or summary from multiple columns. Type one manual entry to get the pattern.

 

First manual entry
First manual entry

 

Press Ctrl+E to flash fill.

 

Comments creation by using Flash Fill
Comments creation by using Flash Fill

 

Number Example:

Let’s take an example of numbers to use the Flash Fill. Let’s we have mobile numbers in column A we have to change the format or get the first 4 or last 4 digit.

Mobile numbers to use flash fill
Mobile numbers to use flash fill

Input first manual entry and give the format whatever you want to give.

First Manual entry
First Manual entry

Press Ctrl+E to fill the same format.

Format Change by using Flash Fill
Format Change by using Flash Fill

To get the first four digit type one manual entry.

First manual entry
First manual entry

Press Ctrl+E to fill the same format.

Get First 4 digit by using Flash Fill
Get First 4 digit by using Flash Fill

 

To get the last four digit type one manual entry. It is not necessary to give one entry on row number 2, we can give it on another row also.

 

First manual entry
First manual entry

 

Press Ctrl+E to Flash fill.

 

Get last 4 digit by using Flash Fill
Get last 4 digit by using Flash Fill

 

Previous Chapter