ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   blank entries in data validation list (https://www.excelbanter.com/excel-worksheet-functions/122582-blank-entries-data-validation-list.html)

WiFiMike2006

blank entries in data validation list
 
Hello. I have a data validation list based on a range on another worksheet
named "parts". The range is from B2:B2000. I only currently have about 150
parts in trhe list, but I want to leave the range larger so that when I add
new parts in, they will appear in the data validation I have in the cells of
the other sheet for part selection. How can I keep the data validation list
from showing all of the blank cells in the range?

Thank you!

Mike

Arvi Laanemets

blank entries in data validation list
 
Hi

Use a dynamic named range, which adjusts automatically whenever list entries
are added/removed. As example (it assumes there never will be gaps in list,
the list is placed in column A of sheet MyList, and MyList!A1 contains a
header):
=OFFSET(MyList!$A$1,1,,COUNTA(MyList!$A:$A)-1,1)

Arvi Laanemets



"WiFiMike2006" wrote in message
...
Hello. I have a data validation list based on a range on another worksheet
named "parts". The range is from B2:B2000. I only currently have about 150
parts in trhe list, but I want to leave the range larger so that when I

add
new parts in, they will appear in the data validation I have in the cells

of
the other sheet for part selection. How can I keep the data validation

list
from showing all of the blank cells in the range?

Thank you!

Mike




T. Valko

blank entries in data validation list
 
Use a dynamic named range:

http://contextures.com/xlNames01.html#Dynamic

Biff

"WiFiMike2006" wrote in message
...
Hello. I have a data validation list based on a range on another worksheet
named "parts". The range is from B2:B2000. I only currently have about 150
parts in trhe list, but I want to leave the range larger so that when I
add
new parts in, they will appear in the data validation I have in the cells
of
the other sheet for part selection. How can I keep the data validation
list
from showing all of the blank cells in the range?

Thank you!

Mike





All times are GMT +1. The time now is 01:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com