Excel Example – Flash Fill in Excel

Date:

Share post:

Flash Fill

Flash fill is a great Excel tool. Learn how to use flash fill to automatically extract data, combine data, and much more.

What is Flash Fill?

  • It’s a time-saving feature in Excel that automatically fills cells with data based on patterns it recognizes.
  • It’s available in Excel 2013 and later versions.
  • It can handle various tasks like splitting names, combining text, formatting data, and more.

Example 1

Use flash fill in Excel to extract the numbers in column A below.

1. First, tell Excel what you want to do by entering the value 4645 into cell B1.

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL + E).

Click Flash Fill

Result:

Flash Fill in Excel

Example 2

Use flash fill in Excel to combine the last names in column A below and the first names in column B below to create email addresses.

1. First, tell Excel what you want to do by entering a correct email address in cell C1.

Flash Fill Example 2

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL + E).

Click Flash Fill

Result:

Flash Fill in Excel

Example 3

Use flash fill in Excel to reformat the numbers in column A below.

1. First, tell Excel what you want to do by entering a correct social security number in cell B1.

Flash Fill Example 3

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL + E).

Click Flash Fill

Result:

Flash Fill in Excel

Example 4

Use flash fill in Excel to rearrange the numbers in column A below.

1. First, tell Excel what you want to do by entering a new credit card number in cell B1 (for example, swap the first 4 numbers with the last 4 numbers).

See also  Excel Basics - Print in Excel

Flash Fill Example 4

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL + E).

Click Flash Fill

Result:

Flash Fill in Excel

Example 5

Use flash fill in Excel to extract letters from text strings.

1. First, tell Excel what you want to do by entering the letters from the first text string in cell B1.

Flash Fill Example 5

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL + E).

Click Flash Fill

Result:

Flash Fill in Excel

Flash Fill Limitations

Flash fill in Excel only works when it recognizes a pattern, and sometimes needs a little help. For example, use flash fill in Excel to extract the numbers in column A below.

1. First, tell Excel what you want to do by entering the value 130 into cell B1.

Flash Fill Example 6

2. On the Data tab, in the Data Tools group, click Flash Fill (or press CTRL + E).

Click Flash Fill

Result:

Flash Fill in Excel

Note: flash fill did not correctly extract the decimal numbers (only the digits after the decimal point).

3. Immediately after executing step 2, change the value in cell B3 to 26.2 and Excel will correctly extract all other decimal numbers for you.

Flash Fill Changed Cells

Finally, flash fill does not automatically update your results when your source data changes.

4. For example, if you change the number in cell A1 to 200, Excel will not update the number in cell B1.

Flash Fill Does Not Update When Source Data Changes

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related articles

Excel Example – Subtract in Excel

Subtract There's no SUBTRACT function in Excel. However, there are several ways to subtract numbers in Excel. Are you...

Excel Example – Most Used Functions in Excel

Most Used Functions Let's check out the 10 most used Excel functions. Visit our section about functions for detailed...

Excel Example – ROW function in Excel

The ROW function in Excel returns the row number of a reference. For example, =ROW(C4) returns 4. The...

Excel Example – Move Columns in Excel

To move columns in Excel, use the shift key or use Insert Cut Cells. You can also change...