Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. 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 Excel in Microsoft 365


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 Excel in Microsoft 365. 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

Backing Up Label Layouts

Once you create a custom label layout it is a good idea to backup the layout on a different hard drive in the event of a ...

Discover More

Combining Cell Contents

Excel allows you to easily combine text together. The key is to understand and use the ampersand operator.

Discover More

Differing Column Widths when Pasting

When you move information from one table to another, you may be faced with the problem of making that information fit ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Weird Pasting Behavior

The Clipboard is integral to editing data in your worksheets. What happens, though, when the Clipboard doesn't allow you ...

Discover More

Using the Fill Handle from the Keyboard

The fill handle can save a huge amount of time when you are editing a worksheet. If you are really good at using the ...

Discover More

Removing Spaces

Need to get rid of spaces in a range of cells? There are two ways you can approach the task, as described here.

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 6 - 0?

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.