Using Data Validation
Using Data Validation
Data Validation is a useful tool if you are looking to limit the type of data that can be entered into a specific cell, or range
of cells.
To setup a predefined list for each grocery list item cell, follow these simple steps:
1. Select the cell you would like to add a predefined list to (Cell B4 in this case)
2. Select the Data Validation tool in the Data Tab, shown below:
INTERNAL
Once clicked the following window will open:
INTERNAL
4. Now click on the add source button to the left of the source text box:
5. Now you need to select the range of names/values you want to appear in the dropdown grocery item list. In this
example we will select a range of eight names. The range from cell A2 to cell A9 is selected then the following text will
then appear in the source text box:
=PictureDB!$A$2:$A$9
Where ‘PictureDB’ is the sheet name containing the list of grocery item names.
INTERNAL
6. Then click “OK”
INTERNAL
Now if you move your cursor to the first item in your grocery list and select the cell, you will see an arrow appear at the
bottom right-hand side of the cell. Clicking this arrow will give you a dropdown list of all the available items to choose.
To add this list to the remaining three grocery list cells, simply copy Cell B4 and paste it into Cell B5, B6 and B7.
Now Cells B4, B5, B6 and B7 have fixed values that can be added to the cell, entering any other value into these cells will
cause a value mismatch error.
INTERNAL