Overview
When utilizing a spreadsheet you may find your self repeatedly entering the same set of information row after row. Drop Downs is an easy way to make sure you enter the exact values you want without introducing typos, or variations. This tutorial outlines methods for creating drop downs within Open Office Calc.
Method 1: A Static List
The first method to create a drop down is to define a Validator for a cell. What this will do is define what values are allowed in a cell. This cell can then be copied to other cells that should have the same value.
- Select a cell in the spreadsheet
- Select “Data” from the application menu
- Select “Validity” from the sub menu
- Select the “List” option from the Allow field of the Validity dialog box
- Enter your values in the Entries text box one value per line
- Click OK
Now if you select the cell you initily selected you will noticed an arrow to the right of it. Clicking on the arrow will give you a drop down to select from. If you want to restrict your input to strictly the values in your list you will have to add an alert to your validation.
- Select the cell that has validation
- Select “Data” from the application menu
- Select “Validity” from the sub menu
- Select “Error Alert” from the dialog menu tabs
- Check “Show error message when invalid values are entered
- Action input should be Stop
- Enter a Title for the error dialog
- Enter a Message for the error dialog
- Click “OK”
Now if you input a value into the cell that does not match a value in your list you will see a error dialogue with your title, and message. This method is a simple way to create drop downs from unchanging lists. However if you have a list that will change over time then I would suggest method2.
Method 2: A Dynamic list
If you find yourself using the same value across multiple sheets in a file and that you are adding new values as you continue to work then this method is for you. Method 2 is done by defining a name to a set of cells in your spreadsheet. So if you define a column as the set then as you add a new row then all drop downs that use that named set will be updated. Outlined below are the steps to defining the named set and creating the drop down.
- Create a list of values in a new sheet in one column 1 value per row
- Select the Column – (click on the letter above the column)
- Select “Insert” from the application menu
- Select “Names – define” from the sub menu
- Enter a name into the dialog box
- Click “Add”
- Close the Dialog box. You have successfully created a named set
- Select the cell you want to create a drop down in
- Select “Data” from the application menu
- Select “Validity” from the sub menu
- Select “Cell Range” from the Allow Input item in the dialog
- Enter the name from step 5 in the “Source” input
- Click “OK”
You will now find that the drop down is pulling values from your values you entered in your spreadsheet. Now if you add/edit/delete values in your list all drop downs that use that named set will be updated. Please note that if you modify a value in your named set then any drop down cells that have that value selected will not be updated you will have to update them manually.
Conclusion
Drop Downs are an excellent way to consistently enter information. If you find yourself working with financial data, maybe keeping track of your monthly finances then creating a drop down of your monthly bills can save you time and energy.