Excel Autofill Custom List: Setup & Use
In this article
Yes, Excel autofill works with custom lists: you can define your own sequence of items (like department names, product codes, or regional offices) and then drag the fill handle to repeat that sequence automatically. Custom lists are stored in Excel's options, and once created, they behave exactly like the built-in lists for days of the week or months.
What Is a Custom List in Excel?
A custom list is an ordered set of text values that Excel recognizes as a series. When you type the first item of that list into a cell and drag the fill handle (the small square at the bottom-right corner of the selected cell), Excel fills the remaining items in the order you defined. For example, if your list is “North, South, East, West,” typing “North” and dragging down will produce “South,” “East,” “West,” then “North” again. Custom lists work for both vertical and horizontal fills, and they can be used with the Flash Fill feature as well, though Flash Fill is separate.
How to Create a Custom List (Step-by-Step)
- Open Excel and go to File > Options (or Excel Options on Mac).
- Click Advanced in the left sidebar.
- Scroll down to the General section and click Edit Custom Lists.
- In the dialog box, you’ll see a list of existing lists. To create a new one, type your items in the List entries box, one per line, or import a range from your worksheet by selecting the range and clicking Import.
- Click Add, then OK twice to save.
You can also create a list by selecting a range of cells that already contain the values, then going to the same dialog and clicking Import. That’s often faster if you already have the data typed out.
How to Use a Custom List for Autofill
Once your list is saved, using it is straightforward:
- Type any item from the list into a cell.
- Select that cell, then drag the fill handle (the small square at the bottom-right corner) in the direction you want to fill.
- Excel will continue the sequence in the order you defined. If you drag past the end, it wraps around to the beginning.
For example, if your list is “Q1, Q2, Q3, Q4,” typing “Q3” and dragging down will produce “Q4,” “Q1,” “Q2,” and so on. This works for both rows and columns. You can also use the Fill command on the Home tab (under Editing) to fill a series using a custom list, but the fill handle is the most direct method.
Common Problems and How to Fix Them
Several issues can arise when using custom lists:
- Autofill not recognizing your list: Make sure the list is saved correctly. Check that you clicked Add before closing the dialog. Also, the text you type must match the list entry exactly—case matters, and extra spaces will break the match.
- Fill handle not showing: If you don’t see the small square, go to File > Options > Advanced and check the box “Enable fill handle and cell drag-and-drop” under Editing options.
- Excel fills numbers instead of your list: This happens when your list items look like numbers. For example, if your list is “1, 2, 3,” Excel may treat it as a numeric series. To force a custom list, add a text prefix like “Item1” or format the cells as text before filling.
- List not appearing on another computer: Custom lists are stored in the Windows registry (or equivalent on Mac) and are tied to your user profile. They don’t travel with the workbook. If you need the list elsewhere, you’ll have to recreate it.
Custom Lists vs. Flash Fill vs. AutoFill Options
It’s easy to confuse custom lists with other fill features. AutoFill is the general term for dragging the fill handle; it can fill series, copy values, or use custom lists. Flash Fill (available in Excel 2013 and later) automatically detects patterns based on your typing, but it doesn’t use custom lists—it works on the fly. For example, if you type a first name and then a last name, Flash Fill might combine them for you. Custom lists are for repeating a fixed sequence, not for pattern recognition.
Custom Lists in Excel for the Web and Mobile
Excel for the web (browser version) and Excel mobile apps do not support creating custom lists. However, if you open a workbook on a desktop version where a custom list is defined, the fill handle will still use that list when you drag. So you can create the list on your desktop, then use the file in the browser, but you can’t define a new list there. If you need a workaround, you can create a hidden worksheet with the list and use a formula to reference it, but that’s more complex.
Frequently Asked Questions
Can I use a custom list for sorting?
Yes, custom lists can be used for sorting. Select your data, go to Data > Sort, choose the column you want to sort by, and then in the Order drop-down, select Custom List. Choose your list, and Excel will sort according to that order instead of alphabetical or numeric.
How do I delete a custom list?
Go to File > Options > Advanced > Edit Custom Lists. In the list on the left, select the one you want to remove, then click Delete. You cannot delete the built-in lists (like days or months), but you can delete any you created.
Why does my custom list not work when I type a partial match?
Excel requires an exact match. If your list has “North America” and you type “North”, Excel won’t recognize it as part of the list. You must type the full value exactly as it appears in the list, including spaces and capitalization.
Can I use numbers in a custom list?
Yes, you can include numbers, but be careful. If your list is purely numeric (like “1, 2, 3”), Excel may treat it as a numeric series and ignore the custom list. To avoid this, include a text character (e.g., “1st”, “2nd”) or a letter prefix. If you need a pure numeric sequence, use the built-in series fill instead.
Does a custom list work in Google Sheets?
No, Google Sheets has its own autofill behavior and does not support Excel custom lists. You can create a similar effect by using a formula that references a range, but there’s no direct equivalent to Excel’s custom list feature.
Can I share a custom list with a colleague?
Not directly. Custom lists are stored locally on your computer, not in the workbook. To share, you’d need to export the list (e.g., as a text file) and have the other person import it manually via the same dialog. There’s no built-in sharing mechanism.