Posted by & filed under Excel for Busy People.

Instead of entering data manually on a worksheet, you can use the Auto Fill feature to fill cells with data that follows a pattern or that is based on data in other cells. This article does not explain how to enter data manually or enter data simultaneously on multiple worksheets. For information about how to manually enter data, see the article Enter data manually.

What do you want to do?

Automatically repeat values that already exist in the column

If the first few characters that you type in a cell match an existing entry in that column, Excel automatically enters the remaining characters for you. Excel automatically completes only those entries that contain text or a combination of text and numbers. Entries that contain only numbers, dates, or times are not automatically completed.

After Excel completes what you started typing, do one of the following:

  • To accept a proposed entry, press ENTER.

The completed entry exactly matches the pattern of uppercase and lowercase letters of the existing entry.

  • To replace the automatically entered characters, continue typing.
  • To delete the automatically entered characters, press BACKSPACE.

 NOTES 

  • Excel completes an entry only when the cursor is at the end of the current cell contents.
  • Excel bases the list of potential AutoComplete entries on the column that contains the active cell. Entries that are repeated within a row are not automatically completed.

Turn off automatic completion of cell values

If you don’t want Excel to automatically complete cell values, you can turn off this feature.

  1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. Click Advanced, and then under Editing options, clear or select the Enable AutoComplete for cell values check box to turn automatic completion of cell values on or off.

Top of Page TOP OF PAGE

Use the fill handle to fill data

To quickly fill in several types of data series, you can select cells and drag the fill handle Selected cell with fill handle. To use the fill handle, you select the cells that you want to use as a basis for filling additional cells, and then drag the fill handle across or down the cells that you want to fill.

Hide or display the fill handle

By default, the fill handle is displayed, but you can hide it, or show it if it’s hidden.

  1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. Click Advanced, and then under Editing options, clear or select the Enable Fill handle and cell drag-and-drop check box to hide or show the fill handle.
  2. To avoid replacing existing data when you drag the fill handle, make sure that the Alert before overwriting cells check box is selected. If you don’t want to see a message about overwriting nonblank cells, you can clear this check box.

Use Auto Fill Options to change how the selection is filled

After you drag the fill handle, the Auto Fill Options button Button image appears so that you can change how the selection is filled. For example, you can choose to fill just cell formats by clicking Fill Formatting Only, or you can choose to fill just the contents of a cell by clicking Fill Without Formatting.

Turn Auto Fill Options on or off

If you don’t want to display the Auto Fill Options button every time you drag the fill handle, you can turn it off. Likewise, if the Auto Fill Options button does not appear when you drag the fill handle, you might want to turn it on.

  1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. Click Advanced, and then under Cut, Copy, and Paste, clear the Show Paste Options buttons check box.

Top of Page TOP OF PAGE

Fill data into adjacent cells by using the Fill command

You can use the Fill command to fill the active cell or a selected range with the contents of an adjacent cell or range, or you can quickly fill adjacent cells by dragging the fill handle Fill handle.

Fill the active cell with the contents of an adjacent cell

  1. Select an empty cell that is below, to the right, above, or to the left of the cell that contains the data that you want to use to fill the empty cell.
  2. On the Home tab, in the Editing group, click Fill, and then click DownRightUp, or Left.

Excel Ribbon Image

 TIP   To quickly fill a cell with the contents of an adjacent cell, you can press CTRL+D to fill from the cell above or CTRL+R to fill from the cell to the left. To fill a cell with the contents of a cell below it (that is, to fill up), on theHome tab, in the Editing group, click Fill, and then click Up. To fill a cell with the contents of a cell to the right (fill left), on the Home tab, in the Editing group, click Fill, and then click Left.

Drag the fill handle to fill data into adjacent cells

  1. Select the cells that contain the data that you want to fill into adjacent cells.
  2. Drag the fill handle across the cells that you want to fill.
  3. To change how you want to fill the selection, click Auto Fill Options Button image, and then click the option that you want.

 NOTE   If you drag the fill handle up or to the left of a selection and stop in the selected cells without going past the first column or the top row in the selection, Excel deletes the data within the selection. You must drag the fill handle out of the selected area before releasing the mouse button.

Top of Page TOP OF PAGE

Fill formulas into adjacent cells

  1. Select the cell that contains the formula that you want to fill into adjacent cells.
  2. Drag the fill handle Fill handle across the cells that you want to fill.
  3. To choose how you want to fill the selection, click Auto Fill Options Button image, and then click the option that you want.

 NOTE   If automatic workbook calculation is not enabled, formulas will not recalculate when you fill cells. To check your workbook calculation options, do the following:

  1. Click the Microsoft Office Button Button image, click Excel Options, and then click the Formulas category.
  1. Under Calculation options, look under Workbook Calculation.
    • Automatic    Formulas automatically recalculate.
    • Automatic except for data tables    Formulas recalculate, unless the formula is in a data table.
    • Manual    Formulas never recalculate automatically.
    • Recalculate workbook before saving    This option is available only if Workbook Calculation is set toManual. If this check box is selected, formulas do not automatically recalculate until you save the workbook. Note that several other actions can cause the workbook to be saved, such as using the Send To command.

Tips

  • You can also fill the active cell with the formula of an adjacent cell by using the Fill command (on the Home tab in the Editing group) or by pressing CTRL+D to fill a cell below or CTRL+R to fill a cell to the right of the cell containing the formula.
  • You can automatically fill a formula downward, for all adjacent cells that it applies to, by double-clicking the fill handle of the first cell that contains the formula. For example, cells A1:A15 and B1:B15 contain numbers, and you type the formula =A1+B1 in cell C1. To copy that formula into cells C2:C15, select cell C1 and double-click the fill handle.

Top of Page TOP OF PAGE

Fill in a series of numbers, dates, or other built-in series items

Using the fill handle, you can quickly fill cells in a range with a series of numbers or dates, or with a built-in series for days, weekdays, months, or years.

  1. Select the first cell in the range that you want to fill.
  2. Type the starting value for the series.
  3. Type a value in the next cell to establish a pattern.

For example, if you want the series 1, 2, 3, 4, 5…, type 1 and 2 in the first two cells. If you want the series 2, 4, 6, 8…, type 2 and 4. If you want the series 2, 2, 2, 2…, you can leave the second cell blank.

More examples of series that you can fill

When you fill a series, the selections are extended as shown in the following table. In this table, items that are separated by commas are contained in individual adjacent cells on the worksheet.

INITIAL SELECTION EXTENDED SERIES
1, 2, 3 4, 5, 6,…
9:00 10:00, 11:00, 12:00,…
Mon Tue, Wed, Thu,…
Monday Tuesday, Wednesday, Thursday,…
Jan Feb, Mar, Apr,…
Jan, Apr Jul, Oct, Jan,…
Jan-07, Apr-07 Jul-07, Oct-07, Jan-08,…
15-Jan, 15-Apr 15-Jul, 15-Oct,…
2007, 2008 2009, 2010, 2011,…
1-Jan, 1-Mar 1-May, 1-Jul, 1-Sep,…
Qtr3 (or Q3 or Quarter3) Qtr4, Qtr1, Qtr2,…
text1, textA text2, textA, text3, textA,…
1st Period 2nd Period, 3rd Period,…
Product 1 Product 2, Product 3,…
  1. Select the cell or cells that contain the starting values.
  2. Drag the fill handle Selected cell with fill handle across the range that you want to fill.

To fill in increasing order, drag down or to the right. To fill in decreasing order, drag up or to the left.

Tips

  • You can also specify the type of series by using the right mouse button to drag the fill handle over the range and then clicking the appropriate command on the shortcut menu. For example, if the starting value is the date JAN-2007, click Fill Months for the series FEB-2007, MAR-2007, and so on; or click Fill Years for the series JAN-2007, JAN-2008, and so on.
  • If the selection contains numbers, you can control the type of series that you want to create.

Fill cells with a series of numbers

  1. On the Home tab, in the Editing group, click Fill, and then click Series.

Excel Ribbon Image

  1. Under Type, click one of the following options:
    • Linear    Creates a series that is calculated by adding the value in the Step value box to each cell value in turn.
    • Growth    Creates a series that is calculated by multiplying the value in the Step value box by each cell value in turn.
    • Date    Creates a series that fills date values incrementally by the value in the Step value box and dependent on the unit specified under Date unit.
    • AutoFill    Creates a series that produces the same results as dragging the fill handle.
  • You can suppress series AutoFill by holding down CTRL as you drag the fill handle of a selection of two or more cells. The selected values are then copied to the adjacent cells, and Excel does not extend a series.

Top of Page TOP OF PAGE

Fill data by using a custom fill series

To make entering a particular sequence of data (such as a list of names or sales regions) easier, you can create a custom fill series. A custom fill series can be based on a list of existing items on a worksheet, or you can type the list from scratch. You cannot edit or delete a built-in fill series (such as a fill series for months and days), but you can edit or delete a custom fill series.

 NOTE   A custom list can only contain text or text mixed with numbers. For a custom list that contains numbers only, such as 0 through 100, you must first create a list of numbers that is formatted as text.

Format numbers as text

  1. Select enough cells for the list of numbers that you want to format as text.
  2. On the Home tab, in the Number group, click the arrow on the Number Format box, and then click Text.

Excel Ribbon Image

 TIP   You might have to click More to see the Text format in the list.

  1. In the formatted cells, type the list of numbers.

Use a custom fill series based on an existing list of items

  1. On the worksheet, select the list of items that you want to use in the fill series.
  2. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. Click Popular, and then under Top options for working with Excel, click Edit Custom Lists.
  2. Verify that the cell reference of the list of items that you selected is displayed in the Import list from cellsbox, and then click Import.

The items in the list that you selected are added to the Custom lists box.

  1. Click OK twice.
  2. On the worksheet, click a cell, and then type the item in the custom fill series that you want to use to start the list.
  3. Drag the fill handle Selected cell with fill handle across the cells that you want to fill.

Use a custom fill series based on a new list of items

  1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. Click Popular, and then under Top options for working with Excel, click Edit Custom Lists.
  2. In the Custom lists box, click NEW LIST, and then type the entries in the List entries box, starting with the first entry.

Press ENTER after each entry.

  1. When the list is complete, click Add, and then click OK twice.
  2. On the worksheet, click a cell, and then type the item in the custom fill series that you want to use to start the list.
  3. Drag the fill handle Selected cell with fill handle across the cells that you want to fill.

Edit or delete a custom fill series

  1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. Click Popular category, and then under Top options for working with Excel, click Edit Custom Lists.
  2. In the Custom lists box, select the list that you want to edit or delete, and then do one of the following:

Comments are closed.