LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 80
Default return unique data from a list

Thanks, Ryan. Works like a charm. And thanks, also to Roger, as your
explanation worked as well 'cept that my first explanation wasn't as complete
as I intended.

casey

"ryguy7272" wrote:

With letters in A1:A5, and letters/numbers in B1:B5, and ABC in E1, use
either of these functions:
=IF(ROWS(B$1:B1)<=COUNTIF($A$1:$A$20,$E$1),INDEX($ B$1:$B$20,SMALL(IF($A$1:$A$20=$E$1,ROW($A$1:$A$20)-ROW($E$1)+1),ROWS(B$1:B1))),"")

=IF(ROWS($1:1)COUNTIF($A$1:$A$20,$E$1),"",INDEX($ B$1:$B$20,SMALL(IF(($A$1:$A$20=$E$1),ROW($A$1:$A$2 0)),ROWS($1:1))))

Both are CSE entered.

Regards,
Ryan---

PS, I did not create these; found them by reading through this DG over the
past year or so...

--
RyGuy


"casey" wrote:

Thanks, Roger. I do understand how to use the advanced filter but I actually
want to "list" (for auto-updates) the results to a different area, worksheet,
workbook, etc.

"Roger Govier" wrote:

Hi Casey
Insert a header at Row 1 entitled whatever you wish
Highlight column BDataFilterAdvanced FilterUnique values

--
Regards
Roger Govier

"casey" wrote in message
...
I have 2 columns of data, several thousand rows and growing. Column B has
120 unique entries. Column C has 500 unique entries. I am using the
following array formula (very successfully thanks to Biff) to pull out the
unique entries from Column C.

{=IF(ROWS($1:1)<=SUM(1/COUNTIF(A$2:A$20,A$2:A$20)),INDEX(A$2:A$20,SMALL(I F(ROW(A$2:A$20)-MIN(ROW(A$2:A$20))+1=MATCH(A$2:A$20,A$2:A$20,0),RO W(A$2:A$20)-MIN(ROW(A$2:A$20))+1),ROWS($1:1))),"")}

Now i would like to pull the unique entries from Column C that are unique
to
only each unique entry in Column B.

For example:

Col A Col B
ABC 123XYZ
DEF 123XYZ
ABC 456LMN
GHJ 123XYZ
ABC 789STV

I want to list in Cols E and F:

Col E Col F
ABC 123XYZ
ABC 456LMN
ABC 789STV

Thanks,
casey



 
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
Unique Data List (w/ header) [email protected] Excel Discussion (Misc queries) 1 December 4th 07 08:47 PM
Return unique data from a list csong005 Excel Worksheet Functions 9 March 19th 07 08:58 PM
How can I average data from a repeating list into a unique list? Bob Phillips Excel Worksheet Functions 0 March 3rd 06 06:47 PM
How can I average data from a repeating list into a unique list? Duke Carey Excel Worksheet Functions 0 March 3rd 06 06:38 PM
Data Validation using List (But needs unique list in drop down lis Tan New Users to Excel 1 July 8th 05 03:32 PM


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