Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Missing blank in Dynamic range

I have a named dynamic range with the source
=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J),1)
Thia is set up as the data validation list in a cell with a drop down
list It is set so that once the drop down is activated there is the
option of selecting a blank from the bottom of the list so that if you
activate the cell in error you don't have to delete any entry you are
forced to make, you can select the blank and leave the cell blank. This
works fine until the list gets quite long at which time there is no
option of a blank.I don't know the number in the list where this starts
but certainly a list over 100 has this problem. On shorter lists the
blank is selectable. The selection is correct as when you check the
named list it shows the correct range. I would welcome any views on
solving this if it can be resolved.

Kind regards
Graham Haughs
Turriff
Scotland
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Missing blank in Dynamic range

Hi!

A DV drop down list can hold up to 32,767 items.

If you're not getting a "blank selection" at the end of the list you
probably need to change the formula for the dynamic range.

Maybe to this:

=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J)+1)

Biff

"Graham Haughs" wrote in message
...
I have a named dynamic range with the source
=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J),1)
Thia is set up as the data validation list in a cell with a drop down list
It is set so that once the drop down is activated there is the option of
selecting a blank from the bottom of the list so that if you activate the
cell in error you don't have to delete any entry you are forced to make,
you can select the blank and leave the cell blank. This works fine until
the list gets quite long at which time there is no option of a blank.I
don't know the number in the list where this starts but certainly a list
over 100 has this problem. On shorter lists the blank is selectable. The
selection is correct as when you check the named list it shows the correct
range. I would welcome any views on solving this if it can be resolved.

Kind regards
Graham Haughs
Turriff
Scotland



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Missing blank in Dynamic range

I tried both the original formula and Biff's variation and the DV dropdown
stopped displaying the extra blank row if the list included more than 148
items. I don't know how this will work with the design of your spreadsheet,
but I was able to have a blank row in the drop down and display all the data
(I tested with 1000 rows) if I put the blank row at the TOP of the named
range. This is more convenient for your users who accidentally click the
dropdown and want to leave it blank. I used this formula to craete the named
range:

=OFFSET(Data!$J$1,0,0,COUNTA(Data!$J:$J)+1,1)

Hope this helps,

Hutch

"Biff" wrote:

Hi!

A DV drop down list can hold up to 32,767 items.

If you're not getting a "blank selection" at the end of the list you
probably need to change the formula for the dynamic range.

Maybe to this:

=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J)+1)

Biff

"Graham Haughs" wrote in message
...
I have a named dynamic range with the source
=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J),1)
Thia is set up as the data validation list in a cell with a drop down list
It is set so that once the drop down is activated there is the option of
selecting a blank from the bottom of the list so that if you activate the
cell in error you don't have to delete any entry you are forced to make,
you can select the blank and leave the cell blank. This works fine until
the list gets quite long at which time there is no option of a blank.I
don't know the number in the list where this starts but certainly a list
over 100 has this problem. On shorter lists the blank is selectable. The
selection is correct as when you check the named list it shows the correct
range. I would welcome any views on solving this if it can be resolved.

Kind regards
Graham Haughs
Turriff
Scotland




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Missing blank in Dynamic range

Hi Biff, nice to hear from you again. I used your formula which gives
two blanks at end of list but they will still not appear in the drop
down list. It will on smaller lists but not on the longer ones I am using.

Graham

Biff wrote:
Hi!

A DV drop down list can hold up to 32,767 items.

If you're not getting a "blank selection" at the end of the list you
probably need to change the formula for the dynamic range.

Maybe to this:

=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J)+1)

Biff

"Graham Haughs" wrote in message
...

I have a named dynamic range with the source
=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J),1)
Thia is set up as the data validation list in a cell with a drop down list
It is set so that once the drop down is activated there is the option of
selecting a blank from the bottom of the list so that if you activate the
cell in error you don't have to delete any entry you are forced to make,
you can select the blank and leave the cell blank. This works fine until
the list gets quite long at which time there is no option of a blank.I
don't know the number in the list where this starts but certainly a list
over 100 has this problem. On shorter lists the blank is selectable. The
selection is correct as when you check the named list it shows the correct
range. I would welcome any views on solving this if it can be resolved.

Kind regards
Graham Haughs
Turriff
Scotland




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Missing blank in Dynamic range

I'm having no trouble getting the blank selection no matter how many items
are in the list (up to the limit) but I like your idea about putting the
empty cell at the top of the range. That way the user doesn't have to scroll
to the bottom of the drop down to make that selection.

Biff

"Tom Hutchins" wrote in message
...
I tried both the original formula and Biff's variation and the DV dropdown
stopped displaying the extra blank row if the list included more than 148
items. I don't know how this will work with the design of your
spreadsheet,
but I was able to have a blank row in the drop down and display all the
data
(I tested with 1000 rows) if I put the blank row at the TOP of the named
range. This is more convenient for your users who accidentally click the
dropdown and want to leave it blank. I used this formula to craete the
named
range:

=OFFSET(Data!$J$1,0,0,COUNTA(Data!$J:$J)+1,1)

Hope this helps,

Hutch

"Biff" wrote:

Hi!

A DV drop down list can hold up to 32,767 items.

If you're not getting a "blank selection" at the end of the list you
probably need to change the formula for the dynamic range.

Maybe to this:

=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J)+1)

Biff

"Graham Haughs" wrote in message
...
I have a named dynamic range with the source
=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J),1)
Thia is set up as the data validation list in a cell with a drop down
list
It is set so that once the drop down is activated there is the option
of
selecting a blank from the bottom of the list so that if you activate
the
cell in error you don't have to delete any entry you are forced to
make,
you can select the blank and leave the cell blank. This works fine
until
the list gets quite long at which time there is no option of a blank.I
don't know the number in the list where this starts but certainly a
list
over 100 has this problem. On shorter lists the blank is selectable.
The
selection is correct as when you check the named list it shows the
correct
range. I would welcome any views on solving this if it can be resolved.

Kind regards
Graham Haughs
Turriff
Scotland








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Missing blank in Dynamic range

Nice one Hutch, it is useful to have the blank at the top of the list
and although I have headers on the source lists this can be modified to
accomodate this. Glad you managed to replicate the problem, I was
beginning to doubt my sanity. Thanks to all.


Graham

Tom Hutchins wrote:
I tried both the original formula and Biff's variation and the DV dropdown
stopped displaying the extra blank row if the list included more than 148
items. I don't know how this will work with the design of your spreadsheet,
but I was able to have a blank row in the drop down and display all the data
(I tested with 1000 rows) if I put the blank row at the TOP of the named
range. This is more convenient for your users who accidentally click the
dropdown and want to leave it blank. I used this formula to craete the named
range:

=OFFSET(Data!$J$1,0,0,COUNTA(Data!$J:$J)+1,1)

Hope this helps,

Hutch

"Biff" wrote:


Hi!

A DV drop down list can hold up to 32,767 items.

If you're not getting a "blank selection" at the end of the list you
probably need to change the formula for the dynamic range.

Maybe to this:

=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J)+1)

Biff

"Graham Haughs" wrote in message
...

I have a named dynamic range with the source
=OFFSET(Data!$J$2,0,0,COUNTA(Data!$J:$J),1)
Thia is set up as the data validation list in a cell with a drop down list
It is set so that once the drop down is activated there is the option of
selecting a blank from the bottom of the list so that if you activate the
cell in error you don't have to delete any entry you are forced to make,
you can select the blank and leave the cell blank. This works fine until
the list gets quite long at which time there is no option of a blank.I
don't know the number in the list where this starts but certainly a list
over 100 has this problem. On shorter lists the blank is selectable. The
selection is correct as when you check the named list it shows the correct
range. I would welcome any views on solving this if it can be resolved.

Kind regards
Graham Haughs
Turriff
Scotland




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
Indirect and Dynamic Range Graham Haughs Excel Worksheet Functions 16 August 3rd 06 08:33 AM
Dynamic range name - odd results Richard Buttrey Excel Worksheet Functions 5 July 29th 06 06:25 PM
WEEKNUM to dynamic range name additude Excel Worksheet Functions 5 July 23rd 06 08:12 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
repost: plz help- dynamic range with gaps? KR Excel Discussion (Misc queries) 2 August 29th 05 08:57 PM


All times are GMT +1. The time now is 04:02 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"