Limited Data Validation Choices

TheRogue

New Member
Joined
Aug 3, 2019
Messages
23
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]THINGS
[/TD]
[/TR]
[TR]
[TD]Red
[/TD]
[/TR]
[TR]
[TD]Blue
[/TD]
[/TR]
[TR]
[TD]Yellow
[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I have the above table that I am using as a Data Validation List. The Data in the Table is dynamic & does not always have the same # of items in it. For the purpose of Data Validation, I have given Table1[THINGS] the Named Range of "LIST" - So, my Data Validation filter is =LIST. It works great!

The problem is that the Data Selection Box Starts at the bottom & includes all of the blanks from Table1[THINGS].
Is there a way to tell Data Validation to ignore the Blanks? I can't limit the range, b/c they might be populated, next time.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
You can do this by using counta and offset in the data validation. :
Assuming the validation is in column I, put this in the list source field:
=(OFFSET(I1,0,0,COUNTA(I1:I100)))
 
Upvote 0
Define Name: LIST
Refers to:

Put the following formula:

=INDIRECT("Sheet1!$A$2:$A$" & COUNTA(Sheet1!$A:$A))


Change Sheet1 by your Sheet, "A" by your column.
 
Upvote 0

Forum statistics

Threads
1,224,741
Messages
6,180,681
Members
452,993
Latest member
FDARYABEE

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top