Validation

  • Thread starter Thread starter Panew
  • Start date Start date
P

Panew

I want to base my validation on a list, but sometimes the
list has blank cells in it (deliberately). So when the
validation drop-down box is used gaps appear. Is there any
whay to get Excel to skip the blank cells, and only list
cells within the list that aren't empty.

Many thanks.
 
Hi
you could use a helper column which skips the blank
entries and use this helper column for your data
validation as list source. e.g. If column A contains the
list with your entries (including blank cells) enter the
folowing formula as array formula (with CTRL+SHIFT+ENTER)
in B1
=INDEX($A$1:$A$100,SMALL(IF($A$1:$A$100<>"",ROW
($A$1:$A$100))))
and copy this down
 

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

Back
Top