PC Review


Reply
Thread Tools Rate Thread

Data Validation Unique List & Alphabetized

 
 
=?Utf-8?B?Q2FzZXk=?=
Guest
Posts: n/a
 
      18th Jun 2007
Hi,
I'm using a column on a worksheet as the source for data validation for
another worksheet. The column used often contains double entries and the
worksheet it is in is always sorted using criteria in a separate column. The
result is that my Data Validation list is not sorted and contains duplicates.
Is there a method for extracting the list for Data Validation and having it
sorted A-Z using VBA? I should mention that the list is constantly being
modified.

Excel 97 on XP
--
Casey


 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      18th Jun 2007
There is no built in support for this (no checkboxes for unique values,
sorted).

You would need to construct a unique sorted list in another location and
make that the source for your data validation.


You could adapt this code from John Walkenbach's site to create the list:

http://www.j-walk.com/ss/excel/tips/tip47.htm


--
Regards,
Tom Ogilvy


"Casey" wrote:

> Hi,
> I'm using a column on a worksheet as the source for data validation for
> another worksheet. The column used often contains double entries and the
> worksheet it is in is always sorted using criteria in a separate column. The
> result is that my Data Validation list is not sorted and contains duplicates.
> Is there a method for extracting the list for Data Validation and having it
> sorted A-Z using VBA? I should mention that the list is constantly being
> modified.
>
> Excel 97 on XP
> --
> Casey
>
>

 
Reply With Quote
 
=?Utf-8?B?Q2FzZXk=?=
Guest
Posts: n/a
 
      18th Jun 2007
Thanks Tom.
--
Casey




"Tom Ogilvy" wrote:

> There is no built in support for this (no checkboxes for unique values,
> sorted).
>
> You would need to construct a unique sorted list in another location and
> make that the source for your data validation.
>
>
> You could adapt this code from John Walkenbach's site to create the list:
>
> http://www.j-walk.com/ss/excel/tips/tip47.htm
>
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Casey" wrote:
>
> > Hi,
> > I'm using a column on a worksheet as the source for data validation for
> > another worksheet. The column used often contains double entries and the
> > worksheet it is in is always sorted using criteria in a separate column. The
> > result is that my Data Validation list is not sorted and contains duplicates.
> > Is there a method for extracting the list for Data Validation and having it
> > sorted A-Z using VBA? I should mention that the list is constantly being
> > modified.
> >
> > Excel 97 on XP
> > --
> > Casey
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation - List of unique values Oscar Microsoft Excel Misc 2 17th Feb 2010 01:59 PM
Data>Validation>List - Unique Entries =?Utf-8?B?UmFzaGVlZCBBaG1lZA==?= Microsoft Excel New Users 2 10th Aug 2006 11:54 AM
Need UNIQUE values for Data Validation List jg Microsoft Excel Programming 6 12th Apr 2006 10:42 PM
Unique numbers from data validation list nick_thomson Microsoft Excel Worksheet Functions 4 4th Apr 2006 02:19 PM
Data Validation using List (But needs unique list in drop down lis =?Utf-8?B?VGFu?= Microsoft Excel New Users 1 8th Jul 2005 03:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:38 AM.