PC Review


Reply
Thread Tools Rate Thread

Data>Validation>List - Unique Entries

 
 
=?Utf-8?B?UmFzaGVlZCBBaG1lZA==?=
Guest
Posts: n/a
 
      10th Aug 2006
Hello! Friends

I have a list of names containing duplicate names and empty cells.

Using Data > Validation > List

I want get a drop down list of unique entries having no empty cells.

How can do this??? Please help me...
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      10th Aug 2006
Hi Rasheed

Use advanced filter to create a unique list and use that list in Data > Validation > List

http://www.contextures.com/xladvfilter01.html#FilterUR


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Rasheed Ahmed" <Rasheed (E-Mail Removed)> wrote in message
news:1B410BCA-D2DC-4A53-80B8-(E-Mail Removed)...
> Hello! Friends
>
> I have a list of names containing duplicate names and empty cells.
>
> Using Data > Validation > List
>
> I want get a drop down list of unique entries having no empty cells.
>
> How can do this??? Please help me...



 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      10th Aug 2006
"Rasheed Ahmed" wrote:
> I have a list of names containing duplicate names and empty cells.
> Using Data > Validation > List
> I want get a drop down list of unique entries having no empty cells.


Another option to play with could go something like this ..

Assuming names are listed in sheet: X,
from A2 down to a max expected A2000 (say)

Put in B2:
=IF(A2="","",IF(COUNTIF($A$2:A2,A2)>1,"",ROW()))

Put in C2:
=IF(ROW(A1)>COUNT(B:B),"",INDEX(A:A,MATCH(SMALL(B:B,ROW(A1)),B:B,0)))

Select B2:C2, copy down to C2000 to cover the max extent in col A
(Leave B1:C1 empty)

Then click Insert > Name > Define and input:
Names in workbook: Names
Refers to:
=OFFSET(X!$C$2,,,SUMPRODUCT(--(X!$C$2:$C$2000<>"")))
Click OK

We can now create DVs in any sheet via Data > Validation, Allow: List,
Source: =Names, and the DVs will yield the required results, ie dropdowns of
only the unique names from col A in X
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
 
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 02:59 PM
Data validation of unique entries using VB Sinner Microsoft Excel Programming 2 20th Feb 2008 01:11 PM
Create list of unique entries for use in validation =?Utf-8?B?cmFwaGllbDIwNjM=?= Microsoft Excel Worksheet Functions 5 6th Sep 2007 05:49 AM
Need UNIQUE values for Data Validation List jg Microsoft Excel Programming 6 12th Apr 2006 11:42 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 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:25 PM.