Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
confused
 
Posts: n/a
Default blanks in data validation list dropdown

Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers
 
Posts: n/a
Default blanks in data validation list dropdown

If the source is fixed at 13 rows then use $L$1:$L$13 for the source.

"confused" wrote:

Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default blanks in data validation list dropdown

This *is* interesting. This behavior also occurs if you have data in
the same row as a blank cell in the validation area when you specify a
finite range rather than a whole column. But it does not occur when
you have data a different column from that in which the validation is
defined.

What to do? You could move your validation data down below your other
data and set your print area to not include the validation area(s).
For that matter, you could move it to column A, below your working
data. Or perhaps somebody else on this list has a better answer,
because for now I don't.

Too bad validation data can't be on a separate sheet.


confused wrote:
Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default blanks in data validation list dropdown


Oops! It turns out that data in any column that is in the same row as
a blank cell in the validation table causes the problem. Yuck.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default blanks in data validation list dropdown

I found a solution. Define a named range on another sheet. Then in
the Data Validation dialog, enter as the data validation source:

=namedrange

changing "namedrange" to the name of your data validation range.

Note that data next to blank cells in the named range will still cause
the blank lines to appear. To prevent this, use that sheet only for
data validation tables and put the tables in a single column so that
there is no data next to them. (This may be why I've never seen this
behavior before. All my validation tables in the few spreadsheets in
which I use them happen to be in single columns.)

confused wrote:
Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default blanks in data validation list dropdown

If you're trying to make it easy to add more names to that list, then you could
use a dynamic name--one that expands and contracts with the amount of data in
that column.

See Debra Dalgeish's site for some nice tips:
http://contextures.com/xlNames01.html#Dynamic

confused wrote:

Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
confused
 
Posts: n/a
Default blanks in data validation list dropdown

this answered the next question I had, thanks Dave!

"Dave Peterson" wrote:

If you're trying to make it easy to add more names to that list, then you could
use a dynamic name--one that expands and contracts with the amount of data in
that column.

See Debra Dalgeish's site for some nice tips:
http://contextures.com/xlNames01.html#Dynamic

confused wrote:

Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive


--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
confused
 
Posts: n/a
Default blanks in data validation list dropdown

this works a treat, thanks Mark!

"Mark Lincoln" wrote:

I found a solution. Define a named range on another sheet. Then in
the Data Validation dialog, enter as the data validation source:

=namedrange

changing "namedrange" to the name of your data validation range.

Note that data next to blank cells in the named range will still cause
the blank lines to appear. To prevent this, use that sheet only for
data validation tables and put the tables in a single column so that
there is no data next to them. (This may be why I've never seen this
behavior before. All my validation tables in the few spreadsheets in
which I use them happen to be in single columns.)

confused wrote:
Hi,

I am uing data validation on cell A1 and choosing to allow from a list.
In the source box, I am clicking on column L (source =$L:$L). I have
selected the 'ignore blank' checkbox.

column L has 13 names. If there is something in columns A, B, C....etc in
rows 14 or greater then the dropdown list in cell A1 shows blanks along with
the names from column L.

does anyone know how I stop this happening?

Thanks for any help you cangive



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation - using a list from another workbook PeterW Excel Discussion (Misc queries) 4 December 15th 05 07:18 AM
update data validation list with new entries?? cjtj4700 Excel Discussion (Misc queries) 10 December 12th 05 01:00 AM
size of data validation dropdown list Stefi Excel Worksheet Functions 2 December 8th 05 03:36 PM
Data Validation - ignore blanks Neville Excel Discussion (Misc queries) 10 November 9th 05 02:03 PM
Data Validation List Length Alex Mackenzie Excel Worksheet Functions 4 November 1st 05 01:27 AM


All times are GMT +1. The time now is 10:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"