Excel 2016 For Dummies
Book image
Explore Book Buy On Amazon

Excel 2016's Flash Fill feature gives you the ability to take a part of the data entered into one column of a worksheet table and enter just that data in a new table column using only a few keystrokes. The series of entries appears in the new column, literally in a flash (thus, its name, Flash Fill).

The second Excel 2016 detects a pattern in your initial data entries, the rest of the entries in that series immediately appear in blank cells in rows below that you can then enter with a single keystroke. And the beauty is that all this happens without the need for you to construct or copy any kind of formula.

The best way to understand Flash Fill is to see it in action. In the following figure, you see a new data table consisting of four columns. The cells in the first column of this table contain the full names of clients (first, middle, and last), all together in one entry. The second, third, and fourth columns need to have just the first, middle, and surnames, respectively, entered into them (so that particular parts of the clients' names can be used in the greetings of form e-mails and letters as in, "Hello Keith," or "Dear Mr. Harper,").

Data Table containing full names that need to be split up in separate columns using Flash Fill.
Data Table containing full names that need to be split up in separate columns using Flash Fill.

Rather than manually enter the first, middle, or last names in the respective columns (or attempt to copy the entire client name from column A and then edit out the parts not needed in First Name, Middle Name, and Last Name columns), you can use Flash Fill to quickly and effectively do the job. And here's how you do it:

  1. Type Keith in cell B2 and complete the entry with the down arrow or Enter key.

    When you complete this entry with the down-arrow key or Enter key on your keyboard, Excel moves the cell pointer to cell B3 where you only have to type the first letter of the next name for Flash Fill to get the picture.

  2. In Cell B3, only type J, the first letter of the second client's first name.

    Flash Fill immediately does an AutoFill-type maneuver by suggesting the rest of the second client's first name, Jonas, as the text to enter in this cell. At the same time, Flash Fill suggests entering all the remaining first names from the full names in column A in column B.

  3. Complete the entry of Jonas in cell B3 by pressing the Enter key or an arrow key.

    The moment you complete the data entry in cell B3, the First Name column's done: Excel enters all the other first names in column B at the same time (take that, Barry Allen)!

To complete this example name table by entering the middle and last names in columns C and D, respectively, you simply repeat these steps in those columns. You enter the first middle name, Austen, from cell A2 in cell C2 and then type W in cell C3. Complete the entry in cell C3 and the middle name entries in that column are done. Likewise, you enter the first last name, Harper, from cell A2 in cell D2 and then type S in cell D3. Complete the entry in cell D3, and the last name entries for column D are done, completing the entire data table.

Keep in mind that Flash Fill works perfectly at extracting parts of longer data entries in a column provided that all the entries follow the same pattern and use the same type of separators (spaces, commas, dashes, and the like). For example, in the figure, there's an anomaly in the full name entries in cell A9 where only the middle initial with a period is entered instead of the full middle name. In this case, Flash Fill simply enters M in cell C9 and you have to manually edit its entry to add the necessary period.

About This Article

This article is from the book:

About the book author:

Greg Harvey, PhD is the President of Mind Over Media. Greg wrote his first computer book more than twenty years ago and since that time, he has amassed a long list of bestselling titles including Excel All-In-One For Dummies (all editions) and Excel Workbook For Dummies (all editions).

This article can be found in the category: