LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How do I create validation lists which change based on another

I think I would have the choice data on a hidden sheet and apply an
autofilter. As the user makes selections, apply them to the filter on the
appropriate column. then loop through the visible rows and add the
acceptable choices to the next dropdown

Let Excel do the work for you.

--
Regards,
Tom Ogilvy

"Pete" wrote in message
...
My application is data entry in a flat sheet data list based on descending
variables of manufacturer, mode, part no, frequency, etc. The Excel hack
#24 in the O'Rielly book involve using worksheet functions COUNT,

INDIRECT,
MATCH, ADDRESS, AND COUNTIF in each succeeding column but are usable only
thru 2 columns before becoming unwieldy. In addition, entries in later
columns are not cleared if earlier selections are changed.

I know I've seen a more eligant solution, but I can't remember where.

"Tom Ogilvy" wrote:

I am not sure that Excel Hacks is that widely read by knowledgeable

users
since the contents are pretty much standard fare. Perhaps you could
elaborate on the general concept that is not workable.

A VBA solution would largely involve looping through your data and only
adding values that meet your previously established criteria to the

listbox.

However, the primary image I would have of this requirement would be on

a
database that exceeds 10 columns in width. If so, the solution I would
pursue would be an Autofilter. (found under Data=filter=Autofilter).

In
this situation, building dependent dropdowns would be reinventing the

wheel.

--
Regrds,
Tom Ogilvy

"Pete" wrote in message
...
I have tried the example in "Excell Hacks" but it is too complicated

to
extend over more than 2 columns. I would like to extend to 10

columns. A
VBA solution would be OK if necessary.






 
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
Create two Data validation lists that are linked(Both change toget VChaseS Excel Worksheet Functions 2 January 26th 10 12:54 PM
Validation lists that change based on a selection from another lis Ayo Excel Discussion (Misc queries) 2 February 23rd 08 03:36 AM
How to clear validation lists based on other validation lists Ben Excel Discussion (Misc queries) 1 March 12th 07 07:11 PM
How to create Dropdown lists not using Data Validation Catlady Excel Discussion (Misc queries) 3 December 13th 06 05:06 PM
Data Validation - Create dependent lists Little pete Excel Discussion (Misc queries) 1 May 23rd 05 12:04 PM


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