#1   Report Post  
Posted to microsoft.public.excel.misc
RKS RKS is offline
external usenet poster
 
Posts: 63
Default sorting

Hi
I have lots of date in two column. Like A & B. In column B some nos are
repeat man times. I want to sort my table. In column B, if nos are repeat
display in one place.
Example
A B
a 11
b 11
C 12
D 13
E 12
I want to sort in this type
A B
a 11
C 12
D 13

Thanks
RKS
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default sorting

One way ..

Assuming data in cols A and B, from row1 down

Put in C1:
=IF(B1="","",IF(COUNTIF($B$1:B1,B1)1,"",ROW()))

Put in D1:
=IF(ROW()COUNT($C:$C),"",INDEX(A:A,SMALL($C:$C,RO W())))
Copy D1 to E1

Select C1:E1, copy down as far as required.
Hide away col C. Cols D and E returns the required results.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"RKS" wrote:
Hi
I have lots of date in two column. Like A & B. In column B some nos are
repeat man times. I want to sort my table. In column B, if nos are repeat
display in one place.
Example
A B
a 11
b 11
C 12
D 13
E 12
I want to sort in this type
A B
a 11
C 12
D 13

Thanks
RKS

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
Sorting Sorting Sorting Skydiver Excel Discussion (Misc queries) 4 June 3rd 06 02:42 PM
Sorting SnobbishJade New Users to Excel 6 April 2nd 06 02:08 AM
Sorting Data in ascending order sharon2006 Excel Discussion (Misc queries) 1 March 14th 06 01:07 AM
sorting number in ascending order Janice Lee via OfficeKB.com Excel Discussion (Misc queries) 2 April 8th 05 10:31 PM
SORTING question Rebecca New Users to Excel 3 February 24th 05 05:35 PM


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