Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How to sort out all numbers without duplication?

There is a list under column A
30, 45, 25, 30, 46, 45, 25, 99, 1, 1, 88, 99
I would like to sort out all numbers without duplication.
The number will be return under column B in ascending order
1, 25, 30, 45, 46, 88, 99
Does anyone have any suggestions?
Thank for any suggestions
Eric

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to sort out all numbers without duplication?

Try this:

Enter this formula in B1:

=MIN(A:A)

Enter this formula in B2 and copy down until you get blanks:

=IF(ROWS($1:2)<=COUNT(1/FREQUENCY(A:A,A:A)),SMALL(A:A,SUMPRODUCT(COUNTIF(A :A,C$1:C1))+1),"")

--
Biff
Microsoft Excel MVP


"Eric" wrote in message
...
There is a list under column A
30, 45, 25, 30, 46, 45, 25, 99, 1, 1, 88, 99
I would like to sort out all numbers without duplication.
The number will be return under column B in ascending order
1, 25, 30, 45, 46, 88, 99
Does anyone have any suggestions?
Thank for any suggestions
Eric



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Thank everyone very much for suggestions

Thank everyone very much for suggestions
Eric

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 663
Default How to sort out all numbers without duplication?

Hi,

Filter for unique records

1. Select the column or click a cell in the range or list you want to filter.
2. On the Data menu, point to Filter, and then click Advanced Filter.
3. Do one of the following.
To filter the range or list in place, similar to using AutoFilter, click
Filter the list, in-place.
To copy the results of the filter to another location, click Copy to
another location. Then, in the Copy To box, enter a cell reference.

To select a cell, click Collapse Dialog to temporarily hide the dialog box.
Select the cell on the worksheet, and then press Expand Dialog .

4. Select the Unique records only check box.

Note Once you filter for unique values, you can copy them to another
worksheet and then archive or delete the original worksheet.

Challa Prabhu

"Eric" wrote:

There is a list under column A
30, 45, 25, 30, 46, 45, 25, 99, 1, 1, 88, 99
I would like to sort out all numbers without duplication.
The number will be return under column B in ascending order
1, 25, 30, 45, 46, 88, 99
Does anyone have any suggestions?
Thank for any suggestions
Eric

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How to sort out all numbers without duplication?

Another play to get it up ..

With source numbers running in A1 down

Put in B1:
=IF(A1="","",IF(COUNTIF(A$1:A1,A1)1,"",A1))

Put in C1:
=IF(ROWS($1:1)COUNT(B:B),"",SMALL(B:B,ROWS($1:1)) )

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 required results, all neatly
bunched at the top.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Eric" wrote:
There is a list under column A
30, 45, 25, 30, 46, 45, 25, 99, 1, 1, 88, 99
I would like to sort out all numbers without duplication.
The number will be return under column B in ascending order
1, 25, 30, 45, 46, 88, 99
Does anyone have any suggestions?
Thank for any suggestions
Eric



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 806
Default How to sort out all numbers without duplication?

Hello Eric,

You can use my UDF lfreq:
http://www.sulprobil.com/html/listfreq.html

Regards,
Bernd

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 sort out a list of numbers without duplication? Eric Excel Discussion (Misc queries) 5 June 1st 07 02:37 PM
All numbers won't sort Barb Excel Discussion (Misc queries) 2 March 5th 07 10:00 PM
Duplication Welthey Excel Discussion (Misc queries) 2 January 15th 07 09:48 PM
How do I prevent duplication of numbers in a column waldo Excel Discussion (Misc queries) 2 March 5th 06 06:36 PM
sort + & - numbers together Rasoul Khoshravan Azar Excel Worksheet Functions 1 December 18th 04 11:11 PM


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