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

Creating Unnumbered Endnotes

Endnotes are indispensable in some types of writing. You may want to create endnotes, however, that don't follow the ...

Discover More

Removing Items from a Context Menu

Context menus appear when you right-click an item in Excel. If you want to modify the menu that appears, the way to do so ...

Discover More

Get Rid of Web Stuff

When you copy information from a Web page and paste it into a worksheet, you can end up with more than you bargained for. ...

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)

Ranges on Multiple Worksheets

Referring to a range of cells on the current worksheet is easy. But what if you want to refer to a range on a number of ...

Discover More

Copying Rows between Worksheets Based on a Text Value

Want to move data from one worksheet to another based on a text value in a column. There are a couple of ways you can ...

Discover More

Ignoring Paragraph Marks when Pasting

Paste information in a worksheet, and you may end up with Excel placing it into lots of different cells. If you want it ...

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 2 + 8?

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.