LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Filtering Duplicates

Good to hear you got it work for you (because I'm not sure how much more help
I could have offered you).


"Shu of AZ" wrote:

Thanks tons JMB, I got it to work perfectly and just had it display where I
wanted it to. Thanks again, you're always a great help.

"JMB" wrote:

Probably a better way, but my mind is struggling a bit tonight to find
something shorter, so.....

If your data is in A1:E3 enter this *array* formula is entered in H1 (using
Cntrl+Shift+Enter), then copy across until you get #NUM error.

=SMALL(IF(FREQUENCY(SMALL($A$1:$E$3,ROW(INDIRECT(" 1:15"))),SMALL($A$1:$E$3,ROW(INDIRECT("1:15"))))0 ,SMALL($A$1:$E$3,ROW(INDIRECT("1:15"))),""),COLUMN ()-COLUMN($H1)+1)

change range and cell references where needed. If the size of your range
varies (ie has more or less than 15 cells), change INDIRECT("1:15") to
INDIRECT("1:"&COUNT($A$1:$E$1)).

If you'd rather the cells be "" instead of #NUM then try:

=IF(COLUMNS($H1:H1)<=SUMPRODUCT(($A$1:$E$3<"")/COUNTIF($A$1:$E$3,$A$1:$E$3&"")),SMALL(IF(FREQUENC Y(SMALL($A$1:$E$3,ROW(INDIRECT("1:15"))),SMALL($A$ 1:$E$3,ROW(INDIRECT("1:15"))))0,SMALL($A$1:$E$3,R OW(INDIRECT("1:15"))),""),COLUMN()-COLUMN($H$1)+1),"")


If your data can have blank cells in it, then try:
=IF(COLUMNS($H1:H1)<=SUMPRODUCT(($A$1:$E$3<"")/COUNTIF($A$1:$E$3,$A$1:$E$3&"")),SMALL(IF(FREQUENC Y(SMALL($A$1:$E$3,ROW(INDIRECT("1:"&COUNT($A$1:$E$ 3)))),SMALL($A$1:$E$3,ROW(INDIRECT("1:"&COUNT($A$1 :$E$3)))))0,SMALL($A$1:$E$3,ROW(INDIRECT("1:"&COU NT($A$1:$E$3)))),""),COLUMN()-COLUMN($H$1)+1),"")



"Shu of AZ" wrote:

These are numbers in cells 5 columns wide and 3 rows down

7 4 2 11 3
7 4 6 11 3
4 7 9 3 11

In another row of cells, I would like to display the smallest to the largest
numbers in the entire range, i.e. without showing the duplicates

2 3 4 6 7 11

Is there a way to filter this?
Thanks

 
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
Help: Sorting 2 columns according to matching cells, and fishing for duplicates [email protected] Excel Discussion (Misc queries) 1 December 21st 06 03:02 PM
Excel appending to Access - no duplicates zeyneddine Excel Discussion (Misc queries) 3 December 4th 06 03:08 PM
Excel 2003; spreadsheet with filtering; deleting rows MHcoTech Excel Worksheet Functions 0 September 6th 06 01:33 AM
Filtering a list with duplicates sharpie Excel Worksheet Functions 3 October 6th 05 01:32 AM
Finding Duplicates nospaminlich Excel Worksheet Functions 4 February 5th 05 11:57 PM


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

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"