Skip to main content

The Joys of Excel Flash Fill



 - Flash Fill in Excel can make your life a lot easier, if you have to manipulate values in a cell. With Flash Fill, Excel tries to guess what you want to do. Let's have an example.

Example One - extract product IDs from a cell

Suppose you had a spreadsheet like this:
An Excel column with product IDs
However, all you want is the product IDs at the start, the letters. Is there an easy way to extract just the letters? Yes - use Flash Fill.
Create a simple spreadsheet like the one in the image above. Now click inside cell B2. Enter the first of the letters, ABC:
Product ID enetered into a cell
Press the enter key on your keyboard and you'll see cell B3 selected:
Cell C3 selected on a spreadsheet
To do a Flash Fill, hold down the CTRL key on your keyboard. Keep the CTRL key held down and press the letter E on your keyboard. Excel Flash Fills the rest of the product IDs for you:
Flash Fill in Excel
Notice the small box that's appeared in the bottom right of the selected cell (B3). Click the arrow on the box to see a menu:
Menu asking to Accept Flash Fill suggestions
Click the item that says Accept suggestions.
If you want, you can extract the numbers to the C column. Click inside cell C2. Enter the first set of numbers, which are 123. Press the enter key on your keyboard to move down to cell C3. Now press CTRL + E again to have Excel perform a Flash Fill. You should see the rest of the numbers appear in cells C3 to C5:
Using Flash Fill to extract part of a product ID
Notice that Flash Fill has even added a column heading of ID in cell C1. It's guessed this because the heading in cell A1 (Product ID) also has a space between it. Flash Fill is grabbing all the characters after the space.

Example Two - extract First Names and Last Names from a cell

Suppose you have a series of names in the A column, and that the first and last names are all typed in the same cell:
First and Last Names in a single Excel column
What you want to do, however, is to have the first names in the A column and the last names in the B column. Is there an easy way to do this? Yes - use Flash Fill!
Create a simple spreadsheet like the one in the image above. Click inside cell B2. Enter the first name of Ken. Press the enter key on your keyboard. This will select cell B3. Perform a Flash Fill by holding the CTRL key and pressing the letter E. Excel will finish adding the first names to cells B3 to B7:
Flash Fill has extracted to first names to the B Column
Now click inside cell C2. Enter the last name Carney. Flash Fill the rest of the last names down to cell C7:
Flash Fill has extracted to last names to the C column
Notice that Flash Fill has added the heading Names to cell C1. You can delete this, if you like. (Just click inside cell C1 then hit the delete key on your keyboard.)
We can now delete the entire A column, because we don't need the full names. Highlight the entire A column by clicking on the letter A column heading:
The entire A column highlighted
From the Cells panel on the Home ribbon at the top of Excel, click the Delete item, From the menu, select Delete Sheet Columns:
The menu item Delete Sheet Columns
When you click on Delete Sheet Columns you'll find that the old A column disappears. The B and C columns shift to the left, and you're left with new A and B Columns:
First and LAst names in two separate columns
Add some new headings and you're done:
Headings added to the first row

Example Three - append text

You can use Flash Fill to append some text to values in a cell. Suppose you had a list of pictures in the A column of a spreadsheet:
Picture file names in the A column of an Excel spreadsheet
However, none of these picture names have a file ending. Suppose you wanted to add .jpeg to the end of your picture names. Is there an easy way to do that? Yes - use Flash Fill!
Create the simple spreadsheet above. Click inside cell B2 and enter pic1.jpeg. Press the enter key to move the selection down to cell B3. Now press CTRL + E. Excel will Flash Fill the rest of the file names:
Flash Fill to add file types to the end of file names
Flash Fill can save you a whole load of time, and is well worth getting to grips with. Especially if you're doing text formatting on cell contents.
In the next lesson, you'll learn about Tables in Excel.

Comments

Popular posts from this blog

PRATYUSHA HOME

Hi interesting readers, Prathysha NGO, Chennai. Bala gurukul orphange, chennai. Pratyusha support, Hyderbad. Krr oldage home, Vizag. Disa foundation.......................................................... so on..................... Join hands with us for a good cause. Thank you all. Contact  us on our  whatsapp no:  8939374254    for the more details. You can pay through Paytm scanner. for each donor we will give an online PDF book as a gift. Thank you Pratyusha Home
Javascript Tutorials for the Beginner - Welcome to the Home and Learn course for Javascript. Although it is aimed at complete beginners to the subject we do assume that you have some knowledge of HTML and a little CSS. You don't have to be an expert, though. Just the basics will do. (If you're not sure about the HTML then see our Web Design course.) You don't need to buy any software for this Javascript course - you probably already have everything you need to get started.   > Section One: Getting Started 1. Software needed 2. Our Javascript Templates 3. A little word about debugging Home Page > Section Two: The Browser 1. A First Script 2. Javascript Tag Placement 3. The Browser Object Model 4. Browser Window Methods 5. The Document Object Model > Section Three: Javascript Programming Basics 1. Javascript Variables 2. Math Operators 3. Operator Precedence 4. IF Statements 5. IF ... Else 6. Comparison Operators 7...
How to Enter Text and Numbers in a Cell  - To make a start, we'll create this really simple spreadsheet: All we're going to be doing here is entering some text and some numbers. We're not adding anything up yet. Before you tackle this first exercise, though, you may want to take note of the  Undo  feature, just in case you make a mistake. The Undo option is the left curved arrow, right in the top-left of your screen. This one for Excel 2007 users: And this one for Excel 2010 and Excel 2013 users: For later version, thie icon is this: Click the left curved arrow to Undo something, and click the right curved arrow to redo it. The Undo arrow also has a dropdown box. Click the small arrow next to Undo to see the following: This list is for multiple Undo's. Move your mouse down the list and click to undo several steps at once. But back to the spreadsheet. Click inside of cell A1 on your spreadsheet, and do the following: Type the word "Nu...