Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Data Validation and Name Range

To All,
I have a named range that includes some blank cells that I am trying
to eliminate from a drop down list on another worksheet. I have Googled
the internet and searched through several Excel newsgroups and think the
solution is the use of INDIRECT and Dynamic ranges, except using COUNTA
stops at the first blank cell.

Can someone point me in the right direction with either a Formula or
VBA that will take a named range (I would like a Dynamic range - if
possible), strip out the blank cells to use with a drop down data
validation list.

Thanks
Harry
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 461
Default Data Validation and Name Range

Are you using Data Validation drop down lists? Because you can click the Do
not ignore blanks box.

"Harry Stevens" wrote:

To All,
I have a named range that includes some blank cells that I am trying
to eliminate from a drop down list on another worksheet. I have Googled
the internet and searched through several Excel newsgroups and think the
solution is the use of INDIRECT and Dynamic ranges, except using COUNTA
stops at the first blank cell.

Can someone point me in the right direction with either a Formula or
VBA that will take a named range (I would like a Dynamic range - if
possible), strip out the blank cells to use with a drop down data
validation list.

Thanks
Harry

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Data Validation and Name Range

Using a dynamic range will find the *last* non-empty cell in a range of
cells. If you have empty cells *within* that range a dynamic range will
include those empty cells. The only way to eliminate those empty cells
*within* the range is to create another list of contiguous values.

See if this helps:

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

Biff

"Harry Stevens" wrote in message
...
To All,
I have a named range that includes some blank cells that I am trying to
eliminate from a drop down list on another worksheet. I have Googled the
internet and searched through several Excel newsgroups and think the
solution is the use of INDIRECT and Dynamic ranges, except using COUNTA
stops at the first blank cell.

Can someone point me in the right direction with either a Formula or VBA
that will take a named range (I would like a Dynamic range - if possible),
strip out the blank cells to use with a drop down data validation list.

Thanks
Harry



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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation range Nigel Excel Discussion (Misc queries) 2 December 15th 05 10:33 AM
Data validation named range update Phil Deem Excel Discussion (Misc queries) 3 July 16th 05 03:55 AM
Data Validation (in a range of cells) Andrew Lindsay via OfficeKB.com Excel Worksheet Functions 2 May 26th 05 09:42 PM
Range name limit for data validation Paul K. Excel Worksheet Functions 8 February 9th 05 02:35 PM


All times are GMT +1. The time now is 09:30 PM.

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

About Us

"It's about Microsoft Excel"