Remove empty cells from named list / validation list

S

Sp00k

Hi,

I have defined a named list (A1:A500 named CompanyNames). The lis
currently only has 3 items but gradually companies will be added t
this list. In a second sheet I have specified the list CompanyName
under validation for all cells in column B. When I click a cell wit
this validation defined I only want to see the values of the cells tha
have data in it. Currently I see a list with 3 company names and 49
blank lines. Is it possible to only see the 3 companany names in th
list and not the blank cells?

Thanks in advance for your help.

Sp00
 
G

Guest

Isn't there an "ignore blank cells" check box when you go to select the cells
for you list? I think it is on the right side

Neil
 
B

Bob Phillips

Define CompanyNames with a RefersTo value of

=OFFSET($A$1,,,COUNTA($A:$A),1)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
S

Sp00k

Hi Bob,

It took me a while to get it right (newbie problems:) ) but I got it
working in the end with your advice. Thanks a lot for your help.

Sp00k
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top