Complete the code to create a dropdown list in cell A1 using data validation.
Select cell A1, then go to Data > Data Validation > Allow: [1].The dropdown list is created by choosing 'List' in the Allow field of Data Validation.
Complete the formula to set the source of the dropdown list to cells B1 to B5.
In the Source box, enter: =[1]The source range for the dropdown list should be the cells containing the list items, here B1 to B5.
Fix the error in the formula to allow dropdown list from named range 'Fruits'.
In Source, enter: =[1]When using a named range in data validation, just type =Fruits without quotes or parentheses.
Fill both blanks to create a dropdown list with options 'Yes' and 'No' directly in the Source box.
In Source, enter: =[1],[2]
To create a dropdown with specific text options, list them in quotes separated by commas: ="Yes","No".
Fill all three blanks to create a dropdown list from a dynamic named range 'Colors' that refers to cells C1 to C10.
Define named range 'Colors' as =OFFSET([1], 0, 0, COUNTA([2]), 1) and use =[3] in Source.
The OFFSET function starts at C1, counts non-empty cells in C1:C10, and the named range 'Colors' is used in the Source box.