Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Using AutoComplete with Disjointed Lists.

Using AutoComplete with Disjointed Lists

Written by Allen Wyatt (last updated October 16, 2021)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


3

The AutoComplete feature of Excel is pretty handy. When you are entering information into a cell, it automatically provides you with a list of the previous entries in the column that match what you've typed. Thus, if you type the letter T, then it lists all those entries starting with T. When you type the second letter, R, then it reduces the list to all those entries starting with TR.

There is a limit to AutoComplete, however: It will only search for matches in the column until it hits a blank cell. For instance, if you have values in the cells in A3:A17 and in A19:A26 (cell A18 is blank), then when you start to enter information in cell A27, only the entries in the range A19:A26 are used to display the AutoComplete list.

If you want to have Excel use everything in the full range (A3:A26) as fodder for the AutoComplete list, then you will need to enter something in the blank cell (A18). A good choice is, perhaps, a single character, like a minus sign, an x, or a z. Select A18, type your character, and then press Enter. The cell now contains something, so AutoComplete will reference the entire range (A3:A26) when entering information into A27.

It is interesting to note that the limitation of a blank cell in the column doesn't apply when the adjacent cell to the left or right of the blank cell is not empty—Excel recognizes that the blank cell is part of the list, intentionally left blank.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9427) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Using AutoComplete with Disjointed Lists.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Aborting a Macro and Retaining Control

If you need to exit a macro before it is finished running, you can do it using a brute force method, or you can build in ...

Discover More

Automatically Changing Tab Stops in the Footer

If you use a tab stop in your footer to align information at the right margin, you may not get what you expect when you ...

Discover More

Extracting URLs from Hyperlinks

When you add a hyperlink to a worksheet, it consists of a minimum of two parts: display text and URL address. If you have ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Picking a Group of Cells

Excel makes it easy to select a group of contiguous cells. However, it also makes it easy to select non-contiguous groups ...

Discover More

Separating a Date into Component Columns

Do you need a way to split dates out into the individual parts that make up that date? This tip provides two easy ways ...

Discover More

Preparing Data for Import into Access

When importing Excel information into Access, you need to be concerned with the condition of the data. Here's how to make ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 - 7?

2023-08-21 13:00:10

Willy Vanhaelen

When the cell at the right and/or the left of an empty cell in a column has data Excel considers this cell not as an empty cell for AutoComplete. Consequently this empty cell becomes part of the contiguous range in the column.

So, in this tip's example, A18 being empty, but B18 has data, AutoComplete will look for a match in the entire range A3 through A26 when you start typing an entry in cell A27.


2021-10-16 10:20:40

J. Woolley

From the Tip: "...then you will need to enter something in the blank cell (A18). A good choice is, perhaps, a single character, like a minus sign, an x, or a z." The best choice might be an apostrophe ('), which looks like a blank cell but extends the AutoComplete list.


2021-10-16 09:21:40

Roy

The last paragraph, about how a column on either side that IS full in the relevant range will lead Excel into using AutoComplete in the disjointed column of interest was the best part of the Tip for me.

It neatly, and accurately(!), explains why I've seen this kind of explanation (minus the last bit) yet observed "on the ground" that sometimes when Excel seemingly should NOT autocomplete due to blank cells existing above the current one, it does anyway, and sometimes, it indeed does not.

More importantly, if AutoComplete is very important to me, but filling blank cells with "something" can cause problems, or just be a huge chore, mostly remembering to, but then still having to stop and find the ones that matter but were missed and fill them.

But if I insert a hidden column complete with, say, a space entered in one cell and copied down far enough to serve my near-future needs.

And it turns out that in a Table, Excel figures the same thing and autocomplete is available all down a column.

However, giving Excel the clue by using a Named Range including some blanks does NOT do the trick. Excel does not take the hint.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.