![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 7
|
I need help to create a drop down box in a cell. The information I want to be available in the drop down box is in a range of cells located in the same worksheet.
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Sounds like you could use Data Validation for this. Select the cells you want to appear as entries in the drop-down box and click on insert-name-define and type in a name in the top box (eg myList). Select the cell or cells that you want the drop-down box to appear in and click on Data-Validation. Change the allow box to List and in the Source box at the bottom type in
=myList then just click on OK and you're sorted. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 7
|
Thanks Mudface!!!!!
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
What if the source cells is on the next sheet or even another workbook ?
Raymond |
|
|
|
|
|
#5 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Raymond,
If another Sheet Mudfaces use of a named range will still work. Or you could enlcose your reference to the other sheet range within the INDIRECT function. Eg: =INDIRECT("Sheet2!C15:C20") If another work: http://office.microsoft.com/assistan...ValByList.aspx |
|
|
|
|
|
#6 |
|
New Member
Join Date: Feb 2002
Posts: 12
|
Thanks, got it. Great functions I did not even know it exists.
Regards, Raymond |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|