Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a list in an excel cell 3

Status
Not open for further replies.

roningeek

MIS
Jul 17, 2001
3
US
ok,
this seems like something that should be relatively easy to do but I cannot figure it out. I want to be able to click in a cell in excel and have a list of possible options come up. Once you click on the choice, that value will be placed into the cell. I do not want to create a separate list box. I have seen this done before but cannot figure out how to do so. If anyone can help me I would greatly appreciate it. thanks

mike
 
Try Data Validation, Settings, Allow and select List, then enter your variables separated by a comma.
 
Select the cell, then choose Data > Validation from the menu. Set Allow to 'List'. In Source enter a comma-separated list, or reference a range of cells (preferably a named range). This range must be on the same sheet. You'll see that there are other values to set as you see fit.
 
Thanks to both of you. That worked. It was driving me nuts. I knew there had to be a way to do it. Thanks again.
 
BTW, the range does not have to be on the same sheet. As matter of fact (in 2000) I have a range checked/validated from another workBOOK.
 
I'd like to know how to point to a list range not on the same sheet. I have XL 9.0.3821 SR-1 and can't see how this can be done.
 
Hi snyderj,

First create a Range Name for the list's range.

Then select Data Validation. Under "Settings" ..."Allow", choose "List".

Then under "Settings" ..."Source", enter the Range Name, PRECEEDED by an EQUALS sign (=) e.g. =departments ...where departments is your Range Name.

You should find that this works. You should also try the other options ...Input Message, and Error Alert.

Regards, Dale Watson dwatson@bsi.gov.mb.ca


 
Thanks, Dale. It's interesting that you can use the named range but not a direct reference. Worked within the same workbook across different sheets, but I could not get it to work across different workbooks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top