Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default data validation: variable drop down

How do I make a drop down box of a list in a way that would remove all blank
fields or at the very least move the blank fields to the bottom of the list.
I have a list of names that become visible in the defined list after certain
conditions are met. As the conditions change different names become visable
and others become blank. I want the drop down box for this list to exclude
the blank names.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default data validation: variable drop down

You have to remove the blanks from the source of the list. Is the source of
the list generated by formulas?

Need all the details.

Biff

"CDMAN" wrote in message
...
How do I make a drop down box of a list in a way that would remove all
blank
fields or at the very least move the blank fields to the bottom of the
list.
I have a list of names that become visible in the defined list after
certain
conditions are met. As the conditions change different names become
visable
and others become blank. I want the drop down box for this list to
exclude
the blank names.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default data validation: variable drop down

After much too long trying to figure this out, I got it.
I set up another column that simply listed the row number of the names that
were true, and left blanks for the names that were false. Then I created a
new names list using an array that also moved the blanks to the bottom of the
list.

{=IF(ROW(A2:A11)-ROW(A1)COUNT(C2:C11),"",INDEX(A:A,SMALL(C2:C11,RO W(INDIRECT("1:"&ROWS(A2:A11))))))}

a2:a11 being the full name list
c2:c11 being the list of rows for true, blanks for false

Now, I added to it's ability by defining the list and adding in the
following to the define.

=OFFSET(Sheet1!$D$2:$D$11,0,0,COUNTA(Sheet1!$D$2:$ D$11)-COUNTBLANK(Sheet1!$D$2:$D$11),1)

where d2:d11 is the prior mentioned array

Finish off with a data validation for the defined list and bingo, A changing
drop down with no blanks.



"T. Valko" wrote:

You have to remove the blanks from the source of the list. Is the source of
the list generated by formulas?

Need all the details.

Biff

"CDMAN" wrote in message
...
How do I make a drop down box of a list in a way that would remove all
blank
fields or at the very least move the blank fields to the bottom of the
list.
I have a list of names that become visible in the defined list after
certain
conditions are met. As the conditions change different names become
visable
and others become blank. I want the drop down box for this list to
exclude
the blank names.




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 Drop Down List - Always Show Louise Excel Discussion (Misc queries) 1 September 18th 06 12:26 PM
how to restore disappeared drop list of data validation? ping Excel Discussion (Misc queries) 2 August 23rd 06 05:38 PM
Data Validation in Excel - drop down list font size Mikeytj Excel Discussion (Misc queries) 3 March 9th 06 08:35 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Automatic Data Validation drop down creation Buddhapenguin Excel Discussion (Misc queries) 1 May 12th 05 08:41 PM


All times are GMT +1. The time now is 04:47 AM.

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"