31

I'd like to setup a column in excel with several fixed possible values (like 'in-progress', 'done', 'canceled').

I'd like to set it up so the only possible values in these column are from the fixed list, and it would be easy to pick one of these items whenever I try to edit a cell in this column (a drop-down box would be ideal). How can I do that?

ripper234
  • 11,903

4 Answers4

40

Piece of cake.

1) Enter your list of the fixed values. (These have to be in the same sheet as the cell you want to restrict)

2) Click on the cell you want to restrict. Select "validation" from the Excel "Data" pull down menu

3) In the pull down on the "Settings" tab select "List"

4) click In the box labeled "Source" then select the cells that contain the values set up in step 1)

5) Click OK and you are done.

You can do this for any number of cells

You will see a pull down icon next to the restricted cell(s). Click on it to choose only values in the list. Excel will not allow any other value in this cell.

Look around in the Validation dialog box and you will see you can tweak how this works.

Kije
  • 2,192
12

Rather than selecting a buch of cells with the values in them you can write the values in as a semicolon seperated list in the source box instead.

6

Also the restriction in step one of the first answer "(These have to be in the same sheet as the cell you want to restrict)" is not true.

If fact it is good practive, especially if you have quite a few of this lookup list in use to put them all on a LookUps tab and then hide the tab so that general users cannot see it & fiddle with it.

To get round the restriction mentioned you must set up a Named Range to identify the list of allowed entry items. Because the Named Range is recognised throughout the entire workbook you can then use this name to specificy the list in any other tab you like. In the Source box you type an = sign immediately followed by the name you chose for the Named Range

Graham
  • 61
3

Official documentation

Microsoft has a nice and short tutorial on this topic directly on their support site (as video and as text with some screenshots):

winklerrr
  • 416