Remove Blanks In Data Validation

DaveRadford

Board Regular
Joined
Feb 18, 2010
Messages
63
I have an issue with attempting to remove blanks that appear within the drop down list.

The list is in a seperate tab within the same workbook (i understand you cant reference seperate workbooks) this however means that "remove Blanks" no longer works.

The good news is that all the blanks will be at the end of (bottom) of the column im referencing. This sheet is referencing a seperate workbook to overcome the issue of referencing seperate workbooks within a Validation list. As this seperate workbook sheet will continue to grow i am referencing cells that have not yet been filled.

I have used the following formula in order to change all the zeros i recieved in to blanks.

=IF(ISBLANK('\\Server\[live job list.xlsx]Live Job List.rpt'!A2135),"",'\\Server\[live job list.xlsx]Live Job List.rpt'!A2135)

I need something that will stop blanks from appearing within the Validation Drop Down Box.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I have found a solution:

I have used OFFSET and COUNTIF when defining a name. I can then use the name when creating Data Validation.

=OFFSET('LIVE JOB LIST'!$A$2,0,0,COUNTIF('LIVE JOB LIST'!$A$2:$A$5500,">"""),1)

Although currently my list only holds 2500 items i have 5500 cells that look for data in a seperate workbook. As this seperate workbook will increase or decrease over time the Data Validation along with the ISBLANK will mean the drop down listbox will display updated changes made to automated seperate spreadsheet.

Thanks,

Dave
 
Upvote 0
Thanks a Ton. Worked like charm.... I have been in search of this for more than half a day and finally found your solution working.

I have found a solution:

I have used OFFSET and COUNTIF when defining a name. I can then use the name when creating Data Validation.

=OFFSET('LIVE JOB LIST'!$A$2,0,0,COUNTIF('LIVE JOB LIST'!$A$2:$A$5500,">"""),1)

Although currently my list only holds 2500 items i have 5500 cells that look for data in a seperate workbook. As this seperate workbook will increase or decrease over time the Data Validation along with the ISBLANK will mean the drop down listbox will display updated changes made to automated seperate spreadsheet.

Thanks,

Dave
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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