How to Make Multiple Selection from Drop Down List in Excel (2023)

Depending on the circumstances you may need to select multiple values within a drop-down list. In this tutorial, I am going to show you how to make multiple selection from a drop-down list in Excel. For this session, I am using Office 365, feel free to use your preferred version.

Table of Contents hide

Download Practice Workbook

3 Ideal Examples of Multiple Selection from Drop Down List in Excel

1. Make Multiple Selection from Drop Down List with Duplicate Options

Step-01: Create Drop Down List in Excel

Step-02: Write VBA Code for Multiple Selection

2. Select Multiple Options with Unique Selection Only from Drop Down List

(Video) How to Make Multiple Selections in a Drop-Down List in Excel - No Duplicates Allowed - VBA Code inc

3. Make Multiple Selection and Add Items on New Line in Excel

Things to Remember

Practice Section

Conclusion

Further Readings

Download Practice Workbook

You are welcome to download the practice workbook from the link below.

Selecting Multiple Options from Drop Down.xlsm

3 Ideal Examples of Multiple Selection from Drop Down List in Excel

Before diving into the session, let’s get to know about the dataset that is the base of the examples. Here I have several stationery elements, using these I will create a drop down list in Excel and make multiple selection from there.

Note that it is a simple dataset to keep things straightforward. In a practical scenario, you may encounter a much larger and more complex dataset.

How to Make Multiple Selection from Drop Down List in Excel (1)

1. Make Multiple Selection from Drop Down List with Duplicate Options

In this example, I will explain how you can create a drop down list for multiple selections and select duplicate items. For this, you will have to create the drop down list first. But, a conventional drop down list always selects a single item. So, you will have to write a VBA code for multiple selections. Let’s explore the steps.

Step-01: Create Drop Down List in Excel

In this step, I will create the drop down list for the dataset.

(Video) How to Create a Drop-Down List With Multiple Options in Excel : Computers & Tech Tips

  • Firstly, create a section in the Excel sheet for adding the drop-down option.

How to Make Multiple Selection from Drop Down List in Excel (2)

  • Secondly, select the cell where you want to add the drop down list. Here, I selected Cell D5.
  • Thirdly, go to the Data tab.
  • Next, select Data Validation.

How to Make Multiple Selection from Drop Down List in Excel (3)

  • Next, the Data Validation dialog box will appear.
  • Select the Settings tab.
  • Then, click on the drop down option for Allow.
  • Afterward, select List.

How to Make Multiple Selection from Drop Down List in Excel (4)

  • Next, click on the marked button to select the source.

How to Make Multiple Selection from Drop Down List in Excel (5)

  • After that, select the data range. Here, I selected cell range B5:B12.
  • Next, click on the marked button to add the selected range as Source.

How to Make Multiple Selection from Drop Down List in Excel (6)

  • Then, select OK.

How to Make Multiple Selection from Drop Down List in Excel (7)

  • Finally, you will see that a drop down option is added to your selected cell.

How to Make Multiple Selection from Drop Down List in Excel (8)

  • Now, click on the drop down button.
  • Then, select an item from the list.

How to Make Multiple Selection from Drop Down List in Excel (9)

  • After that, you will see that the selected item is showing in the selected cell.

How to Make Multiple Selection from Drop Down List in Excel (10)

  • Next, select another item from the drop down list.

How to Make Multiple Selection from Drop Down List in Excel (11)

  • Here, you will see that the item you selected has replaced the previously selected item.

How to Make Multiple Selection from Drop Down List in Excel (12)

Step-02: Write VBA Code for Multiple Selection

Now, I will show you how you can write a VBA code to make multiple selections from a drop down list in Excel.

  • In the beginning, go to the Developer tab.
  • Then, select Visual Basic.

How to Make Multiple Selection from Drop Down List in Excel (13)

  • Consequently, the Visual Basic Editor will appear.
  • Next, rightclickon the sheet where you want to select multiple options.
  • Then, select View Code.

How to Make Multiple Selection from Drop Down List in Excel (14)

  • Now, a sheet module will appear.
  • Click on the marked drop-down button.
  • Then, select Worksheet.

How to Make Multiple Selection from Drop Down List in Excel (15)

  • Afterward, select the marked drop-down button.
  • Next, select Change.

How to Make Multiple Selection from Drop Down List in Excel (16)

  • Now, you will see a Private Sub will be created.

How to Make Multiple Selection from Drop Down List in Excel (17)

  • After that, write the following code.
Private Sub Worksheet_Change(ByVal Target As Range)Dim old_val As StringDim new_val As StringOn Error GoTo ExitsubIf Target.Address = "$D$5" Then If Target.SpecialCells(xlCellTypeAllValidation) Is Nothing Then GoTo Exitsub Else: If Target.Value = "" Then GoTo Exitsub Else Application.EnableEvents = False new_val = Target.Value Application.Undo old_val = Target.Value If old_val = "" Then Target.Value = new_val Else Target.Value = old_val & ", " & new_val End If End IfEnd IfApplication.EnableEvents = TrueExitsub:Application.EnableEvents = TrueEnd Sub

How to Make Multiple Selection from Drop Down List in Excel (18)

🔎 How Does the Code Work?

(Video) How to Select Multiple Items From an Excel Drop Down List

  • Here, I have declared two strings called old_val and new_val.
  • You can see I made the drop down list in the D5 cell, that’s why the target address is D5. And in addition, I have rechecked whether the cell is using data validation or not using Target.SpecialCells.
  • Once a value is selected, I turned off events (Application.EnableEvents = False) so changes don’t trigger the event again. Then stored the selected item in the new_val.
  • After undoing the change, I have set the value to the old_val. Then check whether the old_val is empty or not. If empty (means only one value is selected), then return the new_val. Otherwise, concatenate the old_val and new_val.
  • Before ending the reset the event, so that I can change it if required.
  • Further, Save the code and go back to your worksheet.

How to Make Multiple Selection from Drop Down List in Excel (19)

  • Now, select a second item from the drop down list.

How to Make Multiple Selection from Drop Down List in Excel (20)

  • Here, you will see both of the selected items are showing in the cell.

How to Make Multiple Selection from Drop Down List in Excel (21)

  • Now, select an item that you have selected before.

How to Make Multiple Selection from Drop Down List in Excel (22)

  • Finally, you will see that this item is also added to the list.

How to Make Multiple Selection from Drop Down List in Excel (23)

Read more: Excel Drop Down List Depending on Selection

2. Select Multiple Options with Unique Selection Only from Drop Down List

In this example, I will show you how you can select multiple unique items from a drop down list in Excel. If you select an item that you have selected before then it will not add it to the Selected Item. Let’s see the steps.

Steps:

  • To begin with, add a drop down list in your preferred cell by following Step-01 from Method-01.

How to Make Multiple Selection from Drop Down List in Excel (24)

  • Next, open the Visual Basic Editor window and then open a Worksheet to write the VBA code by following Step-02 of Method-1.
  • After that, write the following code in that Worksheet.
Private Sub Worksheet_Change(ByVal Target As Range)Dim old_val As StringDim new_val As StringApplication.EnableEvents = TrueOn Error GoTo ExitsubIf Target.Address = "$D$5" ThenIf Target.SpecialCells(xlCellTypeAllValidation) Is Nothing Then GoTo ExitsubElse: If Target.Value = "" Then GoTo Exitsub Else Application.EnableEvents = False new_val = Target.Value Application.Undo old_val = Target.Value If old_val = "" Then Target.Value = new_val Else If InStr(1, old_val, new_val) = 0 Then Target.Value = old_val & ", " & new_val Else: Target.Value = old_val End If End IfEnd IfEnd IfApplication.EnableEvents = TrueExitsub:Application.EnableEvents = TrueEnd Sub

How to Make Multiple Selection from Drop Down List in Excel (25)

🔎 How Does the Code Work?

  • Here, I declared 2 variables named old_val and new_val as String.
  • Then, I used the Application.EnableEvents property to enable events for specified properties.
  • Next, I used IF Statement to add the items from the list.
  • Afterward, I used another IF Statement to check if the item was selected before.
  • Then, I used the InStr function in the IF statement to find one string within another.
  • Further, I ended the IF Statements.
  • Finally, I ended the Sub Procedure.
  • Next, Save the code and go back to your worksheet.
  • Afterward, select an item from the drop down list.

How to Make Multiple Selection from Drop Down List in Excel (26)

  • Then, you will see the item is added.
  • Now, select another item from the list.

How to Make Multiple Selection from Drop Down List in Excel (27)

  • Here, you will see both of the items are added to the Selected Item.

How to Make Multiple Selection from Drop Down List in Excel (28)

  • Afterward, select an item that you have selected before from the drop down list.

How to Make Multiple Selection from Drop Down List in Excel (29)

(Video) How to Create A Multi-Select Drop-Down List in Excel

  • Now, you will see that the item is not added to the selected Item.

How to Make Multiple Selection from Drop Down List in Excel (30)

Read more: Multiple Dependent Drop-Down List Excel VBA

3. Make Multiple Selection and Add Items on New Line in Excel

So far, I have found the items are separated by a comma. In this section, I will arrange the selected items in newlines. Let me show you the steps.

Steps:

  • In the beginning, I will merge a few cells with Cell D5.
  • To do that, select the cells you want to merge. Here, I selected cell range D5:D9.
  • Then, go to the Home tab.
  • After that, select Merge & Center.

How to Make Multiple Selection from Drop Down List in Excel (31)

  • After that, add the drop down list following Step-01 from Method-1.

How to Make Multiple Selection from Drop Down List in Excel (32)

  • Afterward, open the Visual Basic Editor window and then open a worksheet to write the VBA code by following Step-02 of Method-1.
  • Then, write the following code.
Private Sub Worksheet_Change(ByVal Target As Range)Dim old_val As StringDim new_val As StringApplication.EnableEvents = TrueOn Error GoTo ExitsubIf Target.Address = "$D$5" ThenIf Target.SpecialCells(xlCellTypeAllValidation) Is Nothing Then GoTo ExitsubElse: If Target.Value = "" Then GoTo Exitsub Else Application.EnableEvents = False new_val = Target.Value Application.Undo old_val = Target.Value If old_val = "" Then Target.Value = new_val Else If InStr(1, old_val, new_val) = 0 Then Target.Value = old_val & vbNewLine & new_val Else: Target.Value = old_val End If End IfEnd IfEnd IfApplication.EnableEvents = TrueExitsub:Application.EnableEvents = TrueEnd Sub

How to Make Multiple Selection from Drop Down List in Excel (33)

This code works in the same way as the previous code. But, instead of the delimiter use vbNewLine to add the newly selected item in a new line.

  • After that, Save the code and go back to your worksheet.
  • Next, select an item from the drop down list.

How to Make Multiple Selection from Drop Down List in Excel (34)

  • Then, you will see that the item will be added to the Selected Item.

How to Make Multiple Selection from Drop Down List in Excel (35)

  • After that, select another item from the drop down list.

How to Make Multiple Selection from Drop Down List in Excel (36)

  • Now, you will see that the new item is added to a new line.

How to Make Multiple Selection from Drop Down List in Excel (37)

  • In the following image, you can see that I have added a few more items from the list and each of them is added to a new line.

How to Make Multiple Selection from Drop Down List in Excel (38)

Read more: How to Create a Drop Down List From Another Sheet in Excel

Things to Remember

  • If you are working with VBA then you must save the Excel file as Excel MacroEnabled Workbook.

Practice Section

Here, I have provided a practice sheet for you to practice how you can create a drop down list with multiple selection options in Excel.

How to Make Multiple Selection from Drop Down List in Excel (39)

Conclusion

That’s all for today. We have listed several approaches to make multiple selection in a drop-down list in Excel. Hope you will find this helpful. Feel free to comment if anything seems difficult to understand. Let us know any other methods that we have missed here.

Further Readings

  • How to Create Drop Down List in Multiple Columns in Excel (3 Ways)
  • Link a Cell Value with a Drop Down List in Excel (5 Ways)
  • Conditional Drop Down List in Excel (Create, Sort and Use)
  • Create Dynamic Dependent Drop Down List in Excel
  • How to use IF Statement to Create a Drop-Down List in Excel
  • VLOOKUP with Drop Down List in Excel

Videos

1. Select Multiple Items in an Excel Drop Down List - Easy VBA Trick Anyone Can Use
(MyOnlineTrainingHub)
2. Excel Drop Down List Multiple Selection
(SoftTech Tutorials)
3. Quickly Create Multiple Dependent Drop-Down Lists in Microsoft Excel
(Teacher's Tech)
4. Excel Drop Down List Tutorial
(Kevin Stratvert)
5. Excel Drop Down Multiple Select or Remove
(Contextures Inc.)
6. Dependent Drop Down List in Excel Tutorial
(Kevin Stratvert)

References

Top Articles
Latest Posts
Article information

Author: Carlyn Walter

Last Updated: 21/10/2023

Views: 5870

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.