Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default help with making a function to filter lists

hello. i am trying to sort through a list of data by displaying only one
occurance of a name from one column that has many repeating names into a new
column.

ex:

A B C
1 apple
apple
apple
pear
pear
apple
pear
orange
orange
orange
banana
banana

is it possible to show in column "B" only one "apple", one "pear", one
"orange", one "banana", etc? thanks in advance for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default help with making a function to filter lists

The easiest way is to use the Advanced filter.

Assuming A1 is your column header and the data is in the range A2:A13...

Select the range A1:A13.
Goto DataFilterAdvanced filter
Select: Copy to another location
Copy to: enter the first cell where you want the data to appear, like, say,
B1.
Select: Unique records only
OK

--
Biff
Microsoft Excel MVP


"monkeytrader" wrote in message
...
hello. i am trying to sort through a list of data by displaying only one
occurance of a name from one column that has many repeating names into a
new
column.

ex:

A B C
1 apple
apple
apple
pear
pear
apple
pear
orange
orange
orange
banana
banana

is it possible to show in column "B" only one "apple", one "pear", one
"orange", one "banana", etc? thanks in advance for your help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default help with making a function to filter lists

Here's one quick n simple formulas play which can drill out a dynamic uniques
listing ..

Assuming source names running in A1 down

In B1:
=IF(A1="","",IF(COUNTIF($A$1:A1,A1)1,"",ROW()))

In C1:
=IF(ROW()COUNT(B:B),"",INDEX(A:A,SMALL(B:B,ROW()) ))
Select B1:C1, copy down to cover the max expected extent of source data in
col A. Hide away col B. Col C returns the desired list of uniques from col A,
all neatly bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"monkeytrader" wrote:
hello. i am trying to sort through a list of data by displaying only one
occurance of a name from one column that has many repeating names into a new
column.

ex:

A B C
1 apple
apple
apple
pear
pear
apple
pear
orange
orange
orange
banana
banana

is it possible to show in column "B" only one "apple", one "pear", one
"orange", one "banana", etc? thanks in advance for your help.

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
Making wider drop down List for Filter [email protected] Excel Worksheet Functions 0 October 1st 07 02:32 PM
Filter lists JRTB Excel Discussion (Misc queries) 2 May 7th 07 10:38 AM
Making multiple selections from Excel drop down lists Andyroo Excel Worksheet Functions 7 August 17th 06 03:16 AM
Filter arrows on drop down lists HRman Excel Discussion (Misc queries) 0 April 5th 06 10:01 AM
Making individualized word lists from a SS Rod ElEd Excel Discussion (Misc queries) 2 March 22nd 06 10:52 PM


All times are GMT +1. The time now is 09:36 AM.

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"