Excel Drop Down List Allow Multiple Selection
In this article
Excel does not natively support multiple selections in a standard data validation drop-down list. However, you can enable this functionality using VBA (Visual Basic for Applications) code to capture selections and combine them into a single cell. This lets users pick several items from a list without needing external tools or add-ins, improving data entry efficiency for surveys, inventory tagging, or project task tracking. You must have Excel with VBA enabled and a list of options in a range on your worksheet.
What You'll Need
- Microsoft Excel (2016 or later, Windows or Mac with VBA support)
- A prepared list of options in a column or row (e.g., A1:A10)
- Enabled Developer tab in Excel (required to access VBA editor)
- Permission to run macros (enable content when prompted)
Step-by-Step
- Open your Excel workbook and enter your list of options in a single column (e.g., A1 through A10). Do not leave blank cells between items. Label the top cell if needed, but avoid using the same label as your target cell.
- Select the cell or range of cells where you want the multi-select drop-down to appear (e.g., D2). Right-click and choose Format Cells, then go to the Data Validation tab.
- In the Data Validation dialog, set Allow to List. In the Source field, enter the range of your options (e.g.,
$A$1:$A$10). Click OK. - Press
Alt + F11to open the Visual Basic for Applications editor. - In the left pane, find your workbook under VBAProject, then double-click the worksheet where your drop-down is located (e.g., Sheet1).
- Paste the following VBA code into the code window:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim OldValue As String
Dim NewValue As String
Dim Delimiter As String
Delimiter = ", "
If Not Intersect(Target, Range("D2")) Is Nothing Then
Application.EnableEvents = False
NewValue = Target.Value
Application.Undo
OldValue = Target.Value
If OldValue = "" Then
Target.Value = NewValue
Else
If InStr(1, OldValue, NewValue) = 0 Then
Target.Value = OldValue & Delimiter & NewValue
Else
Target.Value = OldValue
End If
End If
Application.EnableEvents = True
End If
End Sub
- Adjust the range in the code (
Range("D2")) to match the cell where your drop-down is located. If you want multiple cells to support multi-select, change the condition toRange("D2:D10"). - Close the VBA editor and return to your worksheet.
- Save the workbook as a Macro-Enabled Workbook (.xlsm). If you save as .xlsx, the VBA code will be removed.
- Test the drop-down by selecting one item from the list. Then, select another item — it should append to the first with a comma and space between them.
Common Mistakes
- Using a named range instead of an absolute reference (e.g.,
A1:A10instead of$A$1:$A$10) in Data Validation — this can break the list if rows are inserted. - Typing in the cell manually instead of selecting from the drop-down — the VBA code only triggers on selection, not typing.
- Not saving as .xlsm, which removes the VBA code and disables the feature on next open.
- Placing the option list on a different sheet without using a full path (e.g.,
Sheet2!$A$1:$A$10) in the Data Validation Source — this causes the list to appear empty. - Including blank cells or merged cells in the option range, which causes erratic behavior or errors.
Tips
- Use a consistent delimiter like comma-space (", ") so selections are easy to read and sort later.
- If you need to clear selections, manually delete the cell contents — there is no built-in reset button.
- For large lists, consider using a named range (Formulas > Define Name) to make the Data Validation source easier to manage.
- Group related options together on the worksheet and hide the column so users don’t accidentally modify the source list.
- Test the code on a copy of your file first — VBA changes cannot be undone with Ctrl+Z once saved.
Troubleshooting
- If the drop-down doesn’t appear, check that the Data Validation range is correct and that the source list contains no errors or blanks.
- If the VBA code doesn’t run, ensure macros are enabled. Go to File > Options > Trust Center > Trust Center Settings > Macro Settings and select Enable all macros temporarily for testing.
- If selections don’t append, verify the cell reference in the VBA code matches exactly where your drop-down is placed. Case sensitivity doesn’t matter, but sheet name and cell address must be correct.
- If Excel crashes or freezes, you may have a circular reference or infinite loop. Close without saving, reopen, and hold
Shiftwhile opening to disable macros — then check your code for errors. - If you see #VALUE! or errors, check that the target cell doesn’t contain formulas or data validation from another source.
Frequently Asked Questions
Can I use this on Excel for Mac?
Yes, but only on versions that support VBA (2016 and later). The steps are identical, though the Developer tab may need to be enabled via Excel > Preferences > Ribbon & Toolbar.Can I select the same item twice?
No. The VBA code prevents duplicates by checking if the item already exists in the cell. If you select an item that’s already there, it won’t be added again.What if I want to remove one item from the list?
You cannot remove a single item using the drop-down. You must manually edit the cell, delete the unwanted item, and keep the rest.Can I use this with a drop-down in a table column?
Yes, but you must adjust the VBA code to reference the specific cell address, not just the column name. Tables with structured references (e.g., Table1[Items]) won’t work directly — use the actual cell range instead.Does this work with Excel Online or mobile apps?
No. VBA is not supported in Excel Online, Excel for iPad, or Excel for Android. This feature only works in the full desktop version of Excel.Can I change the delimiter from comma to a line break?
Yes. In the VBA code, changeDelimiter = ", " to Delimiter = Chr(10). This will insert a line break between selections. You’ll also need to enable Wrap Text on the target cell.