Waivio

Recommended Posts

How to do Dynamic Dropdown without blanks in Excel step by step guide

0 comments

excelsheets12.762 years ago3 min read

https://images.ecency.com/DQmeBaFxaoDHKPdpu1utL2BELuznnR537M4QMyReaJXRE5k/dynamic_dropdown.png

As I am revising my excel template for Retail Inventory, I realized there might be some people out there needing help or guide on how to use a dynamic dropdown, but do not want to include the blanks.


Sample Problem Description 1:

I want to make a dropdown list in excel using Setup!$C$15:$C$44 range but do not include the blanks

Solution 1:
=OFFSET(Setup!$C$15,0,0,COUNTA(Setup!$C$15:$C$44))

This formula uses the OFFSET function to select the range starting from Setup!$C$15, with a height equal to the count of non-blank cells in the range Setup!$C$15:$C$44.

Here's the step by step guide on how to make a dynamic dropdown:

Step 1. Select the cell where you want to create the dropdown list.

https://images.ecency.com/DQmU1zs4tvXatwb3LiH6Ui69mRZ7P5MjxpDjTcVsGgdjgm7/image.png

Step 2. Click on the "Data Validation" button in the "Data" tab of the ribbon.
https://images.ecency.com/DQmZJDtzrYvA1F8gwSiJ9coZxjFm2irrcMGRewasWwxqjVn/image.png

Step 3. In the "Data Validation" dialog box, select "List" from the "Allow" dropdown list.

https://images.ecency.com/DQmdgrDn2Q3qZ9LtjuhKCqcfW1P8wHttHDQ1hpPbBBxNzi2/image.png

Step 4. In the "Source" field, enter the range Setup!$C$15:$C$44.

Step 5. To exclude blanks from the dropdown list, change the source to: **=OFFSET(Setup!$C$15,0,0,COUNTA(Setup!$C$15:$C$44))**

https://images.ecency.com/DQmTuYFVyBHHEKjcpGaaRDznZJESDnxez5WyS9xTsf5yDBM/image.png

Step 6. Click "OK" to close the dialog box.

https://images.ecency.com/DQmbQCz6eDsaFz8ksx1CHsmrpGDyS6eq7MSapn3s3BrY561/image.png

Your dropdown list should now only show non-blank values from the Setup!$C$15:$C$44 range.


Sample Problem Description 2:

I want to make a dropdown list in excel using the range named "ProductDescription" but do not include the blanks.

more details:
ProductDescription is a named range that refers to 'Item Details'!$C$4:$C$103

Solution 2:
=OFFSET('Item Details'!$C$4,0,0,COUNTA(ProductDescription))

You can follow the same instructions written above, except for the step 5 where you will put this solution 2 instead.


Still need help with Excel and Google Sheets?

Get Instant Expert Help in Fiverr or PeoplePerHour platforms. Click one icon below.

https://images.hive.blog/DQmfAqRq3mZ42YqnphxXRpKMtfG15eLf79gEDK6dibsByyE/image.png

https://images.hive.blog/DQmctPstE9Xkp5drV9aKguRA8guU5rbCTvVSSBZGo3r36be/image.png


We can also accept LEO, HIVE, HBD tokens as payment if we transact directly here in HIVE network.


This post is designated as a reviewer for Excel trainings I conduct.

Feel free to share with anyone. 😉

Earnings from Upvotes on this post are used to continue sharing Excel knowledge.
If you also want to earn HIVE in 7 days while blogging your favorite topics, join us here at Peakd.

Comments

Sort byBest
AI
Waivio AI Assistant
How can I help you today?