How to Use Excel to Create a Pattern

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Typing an entire series of numbers or patterns of data can be tedious work when you need to fill up a spreadsheet. Using Auto Fill, you can have Excel 2013 create those patterns automatically. To create a pattern based on data that you already have, such as creating a list of email addresses for a new domain based on employee names, Excel's Flash Fill can create that pattern for you.

Advertisement

Using Auto Fill

Video of the Day

Step 1

Image Credit: Screenshot courtesy of Microsoft.

Enter any two numbers in the first two cells of a column, like 1 and 2, 5 and 10, or 3.1 and 3.2. Excel will create a pattern from these two numbers.

Advertisement

Video of the Day

Step 2

Image Credit: Screenshot courtesy of Microsoft.

Highlight the two cells by dragging the cursor over them. In the bottom-right corner is a small square just a few pixels in size, called a Fill Handle. Drag the Fill Handle down to cover the cells you want populated with the pattern. Note that as you pass each cell, a small icon appears showing you the value that will be placed in that cell.

Advertisement

Step 3

Image Credit: Screenshot courtesy of Microsoft.

Release the mouse button. Excel fills the cells with a pattern based on the two numbers you started with.

Advertisement

Advertisement

Step 4

Image Credit: Screenshot courtesy of Microsoft.

To repeat text instead, just enter text in the cells at the top of the column. For example, typing apples and peaches in the first two cells will repeat the pattern of these two words -- Excel won't give you more fruits. If you combine letters and numbers, like a1 and b1, Excel repeats the letters but extends the numbers in a pattern, such as a1, b1, a2, b2, a3, b3.

Advertisement

Using Flash Fill

Step 1

Image Credit: Screenshot courtesy of Microsoft.

Enter or copy a list into a column A in an Excel worksheet, such as a list of names. In cell B1, type a variation of the name in cell A1. For example, putting the last name first, separated with a comma. Press Enter.

Advertisement

Advertisement

Step 2

Image Credit: Screenshot courtesy of Microsoft.

Click the Home tab. In the Editing section of the ribbon, click the Fill icon with a down arrow, and then select Flash Fill. Alternatively, press Ctrl-E to use the Flash Fill keyboard shortcut. Excel automatically creates a pattern from your entry in cell B1 to fill the rest of the B column with the same variation for each of the names.

Advertisement

Step 3

Image Credit: Screenshot courtesy of Microsoft.

Review the pattern Excel created to ensure there are no errors. For example, if some of the names include initials, they won't appear in the new list based on a last name-first name pattern.

Advertisement

Advertisement

Step 4

Image Credit: Screenshot courtesy of Microsoft.

Press Ctrl-Z if Flash Fill doesn't create the right pattern and then type one or two more examples in cells B2 and B3. In the example in this screenshot, creating a list of email addresses based on the names using a first initial and last name on the same domain wasn't a pattern Flash Fill recognized with only one example. It gave every person the same first initial, J. However, with two examples, it was able to create the desired pattern.

Advertisement

Advertisement

Report an Issue

screenshot of the current page

Screenshot loading...