Communiversity

Afrikan Liberation Institute => Math and Science (STEM) => Topic started by: Ajamu on Dec 20, 2018, 06:33 PM

Title: How to Create a Drop-Down List in Google Sheets-gctid261489
Post by: Ajamu on Dec 20, 2018, 06:33 PM
How to Create a Drop-Down List in Google Sheets (https://www.howtogeek.com/395616/how-to-create-a-drop-down-list-in-google-sheets/)
BRADY GAVIN  @bradyjgavin 
NOVEMBER 19, 2018, 9:00AM EDT

(https://www.howtogeek.com/wp-content/uploads/2018/11/xSheetsHeader.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.Llced4Gk73.jpg)

If you're working with others on a shared Google Sheets file, sometimes people can enter unexpected data or something that breaks a formula. One way to ensure everyone enters the data you want is to provide it for them in a drop-down validation list.

 
How to Create a Drop-Down List
A drop-down list is a great way to ensure the data people enter into your form, application, or spreadsheet is exactly what you're expecting. It also provides a much faster way for people to input that data since they're selecting from a pre-configured list you provide.

The first thing you need to do is open up your Google Sheets (https://docs.google.com/spreadsheets/) file and select the cell(s) for which you want to use a drop-down list.

RELATED: 5 Google Sheets Features You Should Know (https://www.howtogeek.com/350261/5-google-sheets-features-you-should-know/)

(https://www.howtogeek.com/wp-content/uploads/2018/11/x2018-11-17_16h35_59.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.iSdykSRBM8.png)

Next, open the "Data" menu and select the "Data Validation" command.

(https://www.howtogeek.com/wp-content/uploads/2018/11/x2018-11-17_16h29_48.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.IP6V8QHOw0.png)

From the Criteria drop-down, choose either "List From a Range" or "List of Items."
(https://www.howtogeek.com/wp-content/uploads/2018/11/x2018-11-17_16h38_19.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.S2-tHVE70y.png)

Here, we're using the "List of Items" option and providing several numeric choices.

(https://www.howtogeek.com/wp-content/uploads/2018/11/x2018-11-18-1.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.CsGDzWXRy-.png)

After you've entered the data you want to appear in a drop-down list, make sure you have "Show Drop-Down List In Cell" option enabled or else the values won't appear in the selected cells.

You can also select what happens when someone tries to enter a value that isn't on the list. The "Show Warning" option lets them enter the invalid data, but marks it in the sheet (we'll look at how in just a bit). The "Reject Input" option prevents them from entering anything that's not on your list.

(https://www.howtogeek.com/wp-content/uploads/2018/11/x2018-11-18-8.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.8QVUdaRdQx.png)

And finally, you can enable the "Show validation help text" option to give people some indication about what they can choose in the cells. After selecting the option, type whatever instructions you want.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-18-10.png)

Go ahead and click "Save" when you're done.
How to Use Your New Drop-Down List
When you're done, anyone using the sheet can click the drop-down arrow in those cells and choose a value from the list.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-18-2.png)

If you selected the "Show validation help text" option, that text pops up whenever anyone selects one of the validated cells.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-18-7.png)

If someone enters a value that does not match something on the list and you have the "Show Warning" option turned on, the invalid data is marked in the cell.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-18-4.png)

Hovering your mouse over it shows why it's marked.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-18-3.png)

If instead, you have the "Reject Input" option selected, people will get a warning like this one when they try to enter anything that isn't on your list.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-18-5.png)

If you need to remove or modify any of the items from your drop-down list head back to Data > Data Validation to edit any items from the lists you've created. Removing the list completely is as easy as clicking the "Remove Validation" button located at the bottom.

(https://www.howtogeek.com/wp-content/uploads/2018/11/2018-11-17_17h37_05-1.png)