#1   Report Post  
ceemo
 
Posts: n/a
Default sorting data


hi i have the following which sorts my data but would like it to only
include unique records. can and how would i do this?

INDEX($A$1:$A$6,MATCH(SMALL(IF($A$1:$A$6="","",COU NTIF($A$1:$A$6,"<"&$A$1:$
A$6)),ROW(A1)),IF($A$1:$A$6="","",COUNTIF($A$1:$A$ 6,"<"&$A$1:$A$6)),0))


--
ceemo
------------------------------------------------------------------------
ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650
View this thread: http://www.excelforum.com/showthread...hreadid=392116

  #3   Report Post  
Domenic
 
Posts: n/a
Default


Try...

B1, copied down:

=INDEX($A$1:$A$6,MATCH(SMALL(IF(($A$1:$A$6<"")*(C OUNTIF(OFFSET($A$1,0,0,ROW($A$1:$A$6)-ROW($A$1)+1),$A$1:$A$6)=1),COUNTIF($A$1:$A$6,"<"&$ A$1:$A$6)),ROWS($B$1:B1)),COUNTIF($A$1:$A$6,"<"&$A $1:$A$6),0))

...confirmed with CONTROL+SHIFT+ENTER.

Hope this heps!

ceemo Wrote:
hi i have the following which sorts my data but would like it to only
include unique records. can and how would i do this?

INDEX($A$1:$A$6,MATCH(SMALL(IF($A$1:$A$6="","",COU NTIF($A$1:$A$6,"<"&$A$1:$
A$6)),ROW(A1)),IF($A$1:$A$6="","",COUNTIF($A$1:$A$ 6,"<"&$A$1:$A$6)),0))



--
Domenic
------------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...o&userid=10785
View this thread: http://www.excelforum.com/showthread...hreadid=392116

  #4   Report Post  
ivano
 
Posts: n/a
Default


"ceemo" ha scritto nel
messaggio ...

hi i have the following which sorts my data but would like it to only
include unique records. can and how would i do this?


INDEX($A$1:$A$6,MATCH(SMALL(IF($A$1:$A$6="","",COU NTIF($A$1:$A$6,"<"&$A$1:$
A$6)),ROW(A1)),IF($A$1:$A$6="","",COUNTIF($A$1:$A$ 6,"<"&$A$1:$A$6)),0))

hy,
try to:
=INDEX(text,MATCH(SMALL(IF(MATCH(text,text,)=ROW(t ext),1)*COUNTIF(text,"<="&
text),ROW(text)+ROWS(text)-SUM(1/COUNTIF(text,text))),COUNTIF(text,"<="&text
),))

text is your range
you must enter this formula as array fomrulas in a range.

ivano


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
How to maintain hyperlink when sorting data? KJ Excel Discussion (Misc queries) 2 October 16th 05 12:01 PM
Sorting Data from 2 sheets, one sheet which is already sorted M. S. Excel Worksheet Functions 0 July 15th 05 06:42 PM
how do you prevent data from changing values when sorting linked . Cassie Excel Discussion (Misc queries) 0 March 4th 05 10:45 AM
data sorting problem Pong Excel Worksheet Functions 0 February 18th 05 05:39 PM
Help in Sorting Data Please! Dawn Boot-Bunston Excel Worksheet Functions 2 November 24th 04 07:43 PM


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