Pull down list in a cell

gord9b

Board Regular
Joined
Jun 12, 2002
Messages
249
I know there is a way of setting up a cell to display a list of valid inputs. I cannot find out how to do this. When the user clicks on the cell, or passes the mouse over the cell, a pop up list is displayed and one of these inputs is selected and is displayed in the cell. How do I do this?
Based on the selected input in this cell, can I use a VLOOKUP to insert another value in another, adjacent cell?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi Gordon,

in answer to your second question, yes.... you are bang on.

in answer to your first : you'll need data validation.

if you can afford your list of selections (drop down items) on the same sheet, just list them out vertically (say Z1:Z10)

then in your list of cells where you want your dropdown to appear you go :

data
validation
settings
allow = list
scource = Z1:Z10
in cell dropdown = checked / ticked

or, instead of entering Z1:Z10 as the list range, you can put in a named range (say =mylist).

The named range should already be defined though : to do this :

insert
name
define
name = mylist
range = $Z$1:$Z$10

Naming the actual range (in my view) is better as it just reads easier that some anchored formula, and it also allows you to put the named range *on a different sheet* if you have no space to spare on the same sheet...... always handy

(none of this is going to work if you just want a dropdown by hovvering over the cell with your mouse.... you're going to need some nice VBA coding for that)
 
Upvote 0

Forum statistics

Threads
1,207,197
Messages
6,077,013
Members
446,250
Latest member
Dontcomehereoften

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top