Table of Contents

Flash Fill

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

Extract Numbers

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.

Flash Fill Example 1

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

Combine Names

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

Reformat Numbers

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

Rearrange Numbers

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).

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

Extract Letters

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 the 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 Comment

Excel meets AI – Boost your productivity like never before!

At Formulas HQ, we’ve harnessed the brilliance of AI to turbocharge your Spreadsheet mastery. Say goodbye to the days of grappling with complex formulas, VBA code, and scripts. We’re here to make your work smarter, not harder.

Related Articles

The Latest on Formulas HQ Blog