TechRepublic : A ZDNet Tech Community

Microsoft Office

Host: Susan Harkins
Contact

How to add a drop-down list to an Excel cell

In Access, you can limit user entries by forcing users to choose a value from a list control. Office applications use the same functionality in built-in drop-down lists. For instance, the Highlight and Font Color controls on most Formatting toolbars use this flexible tool. Simply click the small triangle to the right of the icon to display a list of choices.

You can create the same type of control for your users in an Excel sheet, but the process isn’t intuitive. The option is in the Data Validation feature. Fortunately, once you know the feature exists, it’s easy to implement. You need only two things: a list and a data entry cell. The following sheet shows a simple drop-down list in an Excel sheet.

june200712fig1rx.jpg

Users click the drop-down arrow to display a list of items from A1:A4. If a user tries to enter something that isn’t in the list, Excel rejects the entry. To add this drop-down list to a sheet, do the following:

  1. Create the list in cells A1:A4. Similarly, you can enter the items in a single row, such as A1:D4.
  2. Select cell E3. (You can position the drop-down list in most any cell or even multiple cells.)
  3. Choose Validation from the Data menu.
  4. Choose List from the Allow option’s drop-down list. (See, they’re everywhere.)
  5. Click the Source control and drag to highlight the cells A1:A4. Alternately, simply enter the reference (=$A$1:$A$4).
  6. Make sure the In-Cell Dropdown option is checked. If you uncheck this option, Excel still forces users to enter only list values (A1:A4), but it won’t present a drop-down list.
  7. Click OK.

You can add the drop-down list to multiple cells. Select the range of data input cells (step 2) instead of a single cell. It even works for noncontiguous cells. Hold down the Shift key while you click the appropriate cells.

It’s worth noting that the drop-down arrow is visible only when the cell is active.

Print/View all Posts Comments on this blog

Things To Know gbentley@... | 06/26/07
Thanks! ssharkins@... | 06/27/07
Thanks, thanks, thanks! kdavis@... | 06/18/08
RE: How to add a dropdown list to an Excel cell maruthakumar@... | 06/27/07
RE: How to add a dropdown list to an Excel cell doco42 | 02/07/08
Not that I know of ssharkins@... | 02/08/08
RE: How to add a dropdown list to an Excel cell walterknecht@... | 02/11/08
Data Validation Lost Cause? | 06/18/08
RE: How to add a dropdown list to an Excel cell temujaya@... | 03/17/08
Recreate the list ssharkins@... | 03/18/08
Even better use a named range Solarfish | 06/13/08
RE: How to add a dropdown list to an Excel cell kapasi4u@... | 06/13/08
RE: How to add a dropdown list to an Excel cell fargone@... | 06/18/08
RE: How to add a dropdown list to an Excel cell dkent@... | 06/18/08
RE: How to add a dropdown list to an Excel cell travisjp90@... | 07/01/08
RE: How to add a dropdown list to an Excel cell chris.yates@... | 07/10/08
RE: How to add a dropdown list to an Excel cell thanawat.kan@... | 09/29/08
Conditional formatting for your Excel list mwb78 | 01/05/09
how to remove drop down list in excel tallen@... | 10/10/08
Reset Validation to "Any value" cozy | 12/31/08
RE: How to add a dropdown list to an Excel cell d_a_t_101@... | 10/15/08
drop down list for sub catagories chrischilds@... | 11/26/08
Video Demonstration Drop Down with Indirect danny@... | 12/31/08
RE: How to add a dropdown list to an Excel cell danny@... | 12/31/08
RE: How to add a dropdown list to an Excel cell jkmuthusijacques@... | 01/05/09
RE: How to add a dropdown list to an Excel cell coveycraig@... | 08/27/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now
Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now

SmartPlanet

Click Here