User Agents

Web browsers and everyday web tech, explained

Create Custom Autofill List in Excel

· 6 min read · Browsers

In this article
  1. What Is a Custom Autofill List?
  2. How to Create a Custom Autofill List
  3. Using the List with Fill Handle and Flash Fill
  4. How to Choose the Right List Format
  5. Common Problems and Fixes
  6. Comparison: Custom Lists vs. AutoFill Options
  7. Frequently Asked Questions

Yes, you can create a custom autofill list in Excel to fill cells with your own sequence of text, numbers, or dates. This feature lets you type one item from your list and drag the fill handle to automatically populate the rest, saving time on repetitive data entry.

What Is a Custom Autofill List?

Excel has built-in autofill lists for days of the week and months of the year. For example, typing "Monday" and dragging the fill handle gives you Tuesday, Wednesday, etc. A custom autofill list works the same way but with your own entries—like product names, department codes, or a roster of employees. Once you define the list, Excel recognizes any of its items as a starting point and fills the rest in the order you specified.

This is different from simply copying cells or using formulas. Autofill lists are stored in your Excel settings and are available in every workbook you open on that computer, so you don't have to recreate them each time.

How to Create a Custom Autofill List

There are two main methods: entering the list directly in the Options dialog, or importing a list from a range of cells already on your worksheet.

Method 1: Enter the List Manually

  1. Go to File > Options > Advanced.
  2. Scroll down to the General section and click Edit Custom Lists.
  3. In the Custom lists box, select NEW LIST.
  4. In the List entries box, type each item on a new line, or separate items with commas.
  5. Click Add, then OK.

Method 2: Import from a Worksheet Range

  1. Select the cells that contain your list (e.g., A1:A5 with the items).
  2. Go to File > Options > Advanced > Edit Custom Lists.
  3. In the Import list from cells box, the range should already be filled in. If not, click the range selector and highlight the cells.
  4. Click Import, then OK.
  5. Both methods produce the same result. The imported list is easier if you already have the data typed out, and it avoids typos.

    Using the List with Fill Handle and Flash Fill

    Once your custom list is saved, using it is straightforward:

    • Type any item from the list into a cell.
    • Click and drag the fill handle (the small square at the bottom-right corner of the cell) down or across.
    • Release the mouse—Excel fills the cells with the remaining items in your list, repeating the sequence if you drag beyond the end.

    For example, if your list is "Q1, Q2, Q3, Q4", typing Q2 and dragging down gives Q3, Q4, Q1, Q2, etc. This works for any list, including numbers that aren't a simple arithmetic sequence (like 10, 20, 50).

    Flash Fill is a separate feature that can also auto-fill based on patterns you type, but it doesn't use custom lists—it detects patterns from your input. Custom lists are more reliable for exact sequences you define.

    How to Choose the Right List Format

    When creating a list, consider how you'll use it:

    • Order matters—Excel fills in the exact order you type. If you want alphabetical, sort the entries before importing.
    • Case and spaces—Excel is case-insensitive for matching, but it will fill with the exact text you entered in the list. For example, if you type "new york" in the list, autofill will produce "new york" even if you start with "New York".
    • Numbers as text—If your list contains numeric codes like 001, 002, Excel will treat them as text and preserve leading zeros only if you enter them as text (e.g., with an apostrophe or by formatting the cell as text).
    • Maximum length—Each list entry can be up to 255 characters, and you can have as many entries as memory allows, though practical limits are far lower.

    Common Problems and Fixes

    Sometimes autofill doesn't behave as expected. Here are typical issues:

    • List not appearing—If you drag and it copies instead of filling, check that the list is saved correctly. Go to Options > Advanced > Edit Custom Lists and confirm the list is in the "Custom lists" box.
    • Fill handle not showing—Go to File > Options > Advanced and ensure "Enable fill handle and cell drag-and-drop" is checked.
    • Wrong order—Excel fills based on the list order, not alphabetical. If you want a different order, edit the list in the Custom Lists dialog.
    • List not recognized when starting from a middle item—That's normal; Excel starts from the item you type and continues forward. If you type the last item, dragging will wrap to the first.
    • Autofill not working across workbooks—Custom lists are saved in the Excel application, not in individual workbooks. They should work in any workbook on the same computer, but they don't transfer to another computer unless you export the registry or use a settings file.

    Comparison: Custom Lists vs. AutoFill Options

    Excel's fill handle offers several options when you right-click and drag: Copy Cells, Fill Series, Fill Formatting Only, Fill Without Formatting, and Flash Fill. Custom lists are just one type of series. The built-in lists (weekdays, months) are predefined, while custom lists are user-defined. The key difference is that custom lists can contain any text, not just dates or numbers. For numeric series, Excel's default Fill Series (e.g., 1, 2, 3) is fine, but for non-linear sequences like 5, 10, 15, you'd use a custom list or a formula.

    Frequently Asked Questions

    Can I delete a custom autofill list?

    Yes. Go to File > Options > Advanced > Edit Custom Lists, select the list in the "Custom lists" box, and click Delete. You cannot delete the built-in lists (days and months).

    Does a custom autofill list work on Excel for Mac?

    Yes, but the steps differ slightly. On Mac, go to Excel > Preferences > Formulas and Lists > Custom Lists. The functionality is the same.

    Can I use a custom list in a data validation dropdown?

    No. Data validation dropdowns require you to enter the list in the Source box or refer to a range. A custom autofill list only works with the fill handle, not with data validation.

    Why does my autofill copy instead of filling the list?

    This usually happens if the list isn't saved correctly, or if you're dragging a single cell that isn't recognized as part of a list. Check that the list is in the Custom Lists dialog and that you're starting from a cell that exactly matches an entry (including case and spaces).

    Can I share my custom lists with another computer?

    Custom lists are stored in the Windows registry (on Windows) or in a preferences file (on Mac). You can export the registry key or copy the preferences file, but it's not a simple built-in export feature. A simpler workaround is to keep the list in a worksheet and re-import it on the other computer.

    Is there a limit to how many items can be in a custom list?

    There is no fixed limit, but very long lists (thousands of entries) may slow down Excel. In practice, lists of a few hundred items work fine.