Create Data Validation Fixed Range but remove blanks

Yecart77

New Member
Joined
Nov 8, 2022
Messages
18
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
Hi,

Sample File in One drive

My sample file is in 365 but I'm needing to create this in Excel 2016.

Data source for data validation drop down list needs to be from A3:A28 as the list is dynamic and more values may populate in currently empty cells.

Question is how do I create the data validation list that just displays the cells that have values and drops the cells underneath that are empty.

If data came into cells D7, D8 etc the drop down display would reflect these extra values.

Thank you in advance for your time.

Cheers,
Tracey
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I'm not sure this will work for you but it will for me. If you have a calculated NAMED RANGE it may work for you.
This is the calculated named range:
Excel Formula:
=$A$3:INDEX($A$3:$A$15,SUM(--($A$3:$A$15<>"")),0)

The items in column F are not needed for me. Just create the name with the formula above. I think it will work for you.

** NOTE: This requires no blanks between items in the list.


1706101311320.png
 
Upvote 0
Solution
Thank you awoohaw! That worked like a charm. Thank you for saving me more hours of frustration.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,956
Members
449,096
Latest member
Anshu121

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