Solved

Place a drop-down menu in a cell in MS Excel

Posted on 2011-09-16
6
284 Views
Last Modified: 2012-05-12
Hello,

In Excel (2010), is it possible to place a drop-down menu in a cell so that clicking on an item in the menu will insert that item into the cell?  Actually, I'm sure that's doable but I have never done it nor do I have any idea how to do it.

Thanks
0
Comment
Question by:Steve_Brady
  • 3
  • 2
6 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 total points
ID: 36552582
Hello,

that is called data validation. Click the cell then Data > Data Validation

In the Allow field select "List"

In the Source field, either type the values, separated by commas, or select a list of values that is in your worksheet somewhere.

cheers, teylyn
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 36552594
See screenshots

 set up data validation with list in cells
 select item
0
 
LVL 10

Expert Comment

by:SANTABABY
ID: 36552598
Please see the attached sample:
If this is what you want,
1. Select a cell
2. Go to top menu, select data ->Data Validation
3. Allow = List, Source= <Use comma separated items or use a named range>
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 10

Expert Comment

by:SANTABABY
ID: 36552601
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 36552651
Note that a new feature in Excel 2010 is that you can refer to cells on another worksheet as the data validation source. In previous versions of Excel you had to create a range name for the list if it was not on the same sheet.
0
 
LVL 42

Expert Comment

by:dlmille
ID: 36552693
Steve - you're in good hands with santababy and teylyn, however a couple additional tips as you seem to appreciate the unusual and ask, "why not?" on key issues.  The first is an unusual discovery (for me) and the second was my "why not?"

If there's a list and you want a drop-down selection above that list.  Select the cell just above the list, right-click on it, and you should get an option to "pick from dropdown list".  Its not permanent, but I just discovered this the other day and thought it was clever.

Also, if you want your list to return unique and/or sorted results (Data Validation and other listobjects like comboBox and listBox controls don't do either without some help), then you might enjoy my article and (I think) a pretty handy addin to give you that capability (If you like the article, please vote YES :)
http:/A_6429.html

Cheers,

Dave
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question