Reference: Sheet2!$A$1, rows to offset: 0, columns to offset: 0, height: COUNTA(Sheet2!$A:$A) and width: 1. Click in the Source box and enter the formula: =OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$A:$A),1)Įxplanation: the OFFSET function takes 5 arguments. You can also use a formula that updates your drop-down list automatically when you add an item to the end of the list.Ĥ. To remove an item from a drop-down list, at step 2, click Delete, select "Shift cells up" and click OK. You can check this by opening the 'Data Validation' dialog box.ĥ. Note: Excel automatically changed the range reference from Sheet2!$A$1:$A$3 to Sheet2!$A$1:$A$4. To add an item to a drop-down list, go to the items and select an item.ģ. You can add or remove items from a drop-down list in Excel without opening the 'Data Validation' dialog box and changing the range reference. You can now enter a value that is not in the list. On the Error Alert tab, uncheck 'Show error alert after invalid data is entered'.ĥ. On the Data tab, in the Data Tools group, click Data Validation.ģ. To allow other entries, execute the following steps.Ģ. First, if you type a value that is not in the list, Excel shows an error alert. You can also create a drop-down list in Excel that allows other entries.ġ. For example, if a user types yes, an error alert will be displayed. Note: this makes your drop-down list case sensitive. You can also type the items directly into the Source box, instead of using a range reference. Note: to copy/paste a drop-down list, select the cell with the drop-down list and press CTRL + c, select another cell and press CTRL + v.ħ. Click in the Source box and select the range A1:A3 on Sheet2. The 'Data Validation' dialog box appears.ĥ. On the Data tab, in the Data Tools group, click Data Validation. (The indirect function looks for an area in the workbook with the same name as the cell refered to in the data validation.3.
#How to make a drop down list in excel in one cell how to
Creating a variable drop down down list using Indirectĭuring some advanced Excel training, I was asked how to create a variable drop down list in excel using a data validation list that changes depending on the value in a related cell.