This is a basic, but functional implementation of a "Multiselect" mode for the "Dropdown" of Google Sheets. You can get a comma separated list of values, but a warning will always show up (due to limitations with Google Sheets). When running properly, it looks like this:
In order to use this script, you must first create a dropdown. To do so, select a cell, then choose Data -> Data Validation from the menu.
Then configure your dropdown. Your configuration should look like this. Pay special attention to "If the data is invalid: Show a warning". If this is not set, the script will not work.
After you have created your dropdown, select Extensions -> Apps Script from the menu.
You will be sent to the Google Apps Script dashboard. Click on everything that sounds like "internal development". Eventually, you should have a new project that looks like this:
Simply copy the contents of the Code.gs
file in this gist, then update the MULTI_CHOICE_CELLS
configuration variable accordingly. You will need to set which cells in which sheets the "Multiselect" functionality will be applied to.
This script has some minimal logging that can help you find issues. If you're having trouble, check out the "Executions" tab on the left: