|
Brought to you by:
Happy Monday! Welcome to the Google Sheets Tips newsletter #316, your Monday morning espresso, in spreadsheet form. Today we're looking at a new feature in Sheets. Google recently added a multi-select option to dropdown menus. It's a welcome update that makes an already great feature even better. It adds another dimension to interactivity with Sheets and, when combined with the new tables format, makes our data much richer. Hopefully, by now, you've all got access so this email is useful! ➜ NewsI. ‘Bipolar, colour and me’ - an artist’s spreadsheet of emotion ➜ Sheets Tip #316: Multi-select dropdown menusWow! This is exciting! The already-wonderful dropdown chips in Google Sheets recently got a huge upgrade: they now work with multiple selections! This is what it looks like in our Sheets: We can now select more than one option from a list in a cell. Hopefully, you're as excited as I am! 😃 It's easy to create a multi-select dropdown. We create a regular dropdown (here's how to do that) and then check the "Allow multiple selections" checkbox to enable this feature. How to work with multi-select dropdownsFirst, we must understand how multi-select dropdowns are presented in cells, before we can do anything with them. Choose a cell where multiple choices have been selected and look at the data in the formula bar. It's a comma separated list. Another way to see this is to use an "=" sign pointed to a cell with a multi-select dropdown, e.g. =B3 where the multi-select dropdown is in cell B3: Working with Multi-Select DropdownsTo work with this data we need to split it up into separate cells, because then we can do things like count the data for example. To do this, use the SPLIT function: =SPLIT(B2,", ",FALSE) Two important things to note:
With this in mind, let's create a formula that converts the multi-select into a single column, which lets us do things like count the values: Here's the formula: =SORT(TOCOL(SPLIT(B2:B6,", ",FALSE))) Now we have a regular column of data that we can count for example. Use COUNTIF, the QUERY function, or even a pivot table to count the different entries. For example, assuming the results of the SPLIT are in column D like the image above, then this QUERY formula will summarize the options: =QUERY(D2:D10,"select Col1, count(Col1) group by Col1",0) In our Sheet: If you enjoyed this newsletter, please forward it to a friend who might enjoy it. Have a great week! Cheers, P.S. "My spreadsheet doesn't do that" Microsoft Excel ad from the 1990s! |
Get better at working with Google Sheets! Join 50,000 readers to get an actionable tip in your inbox every Monday.
Hi Reader, Welcome to the Google Sheets Tips newsletter #382, your Monday morning espresso, in spreadsheet form! If you feel like the AI wave is moving faster than you can keep up with, you aren't alone. The gap between "playing with a chatbot" and "building reliable AI systems" feels wider than ever, and that feeling is only increasing with every new AI announcement. For the past couple of months, I’ve been working on a new course to help address this challenge. Next Monday, I’m opening...
Hi Reader, Welcome to the Google Sheets Tips newsletter #381, your Monday morning espresso, in spreadsheet form! Since last week, the weather in the Mid-Atlantic region has been even more volatile than that mission critical spreadsheet your non-technical boss "fixed" recently. We had a day over 80F, followed by a wild 50F drop to temps in the 30's and snow squalls. And later today, we're forecast to have a severe thunderstorm and possible tornadoes. It's threatening enough that schools in...
Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #380, your Monday morning espresso, in spreadsheet form! I read something online last week (source) that really resonated with me: Joy is a competitive superpower The author gave the example of the US figure skater Alysa Liu, who rocked a huge smile on her way to a gold medal at the recent Winter Olympics. As someone who has a tendency to take things too seriously, this was a good reminder for me to smile more and...