#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default sort numbers

I have a list of numbers, each entry containing four numbers. I would like
to sort them by finding 3 common numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sort numbers

Give an example of before and after, so that we might understand your
requirements better.

Pete

On Sep 16, 4:05*pm, Free Rider <Free
wrote:
I have a list of numbers, each entry containing four numbers. *I would like
to sort them by finding 3 common numbers.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sort numbers

ok, example:
a list of entries, four random digits, such as 1234, 2347, 8134, 8247, 5743,
etc.
how could i arrange them so that all entries that have for example the
numbers 347 in it (in any order) would be grouped.
Does this help?
Thanks

"Pete_UK" wrote:

Give an example of before and after, so that we might understand your
requirements better.

Pete

On Sep 16, 4:05 pm, Free Rider <Free
wrote:
I have a list of numbers, each entry containing four numbers. I would like
to sort them by finding 3 common numbers.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sort numbers

Well, I still don't know what you want to end up with, but if you put
those numbers in, say, A1:A5 and put 347 in D1, then you can put this
formula in B1:

=SUMPRODUCT(--(ISNUMBER(SEARCH(MID(A1,ROW(A$1:A$4),1),""&D$1))))

and copy it down to B5 and you will have this:

1234 2 347
2347 3
8134 2
8247 2
5743 3

Then I suppose you could sort A1:B5 using column B in descending order
and column A in ascending order to get this:

2347 3
5743 3
1234 2
8134 2
8247 2

Is that what you had in mind?

Hope this helps.

Pete



On Sep 16, 8:36*pm, Free Rider
wrote:
ok, example:
a list of entries, four random digits, such as 1234, 2347, 8134, 8247, 5743,
etc.
how could i arrange them so that all entries that have for example the
numbers 347 in it *(in any order) would be grouped.
Does this help?
Thanks



"Pete_UK" wrote:
Give an example of before and after, so that we might understand your
requirements better.


Pete


On Sep 16, 4:05 pm, Free Rider <Free
wrote:
I have a list of numbers, each entry containing four numbers. *I would like
to sort them by finding 3 common numbers.- Hide quoted text -


- Show quoted text -


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
Sort "text" numbers with and without leading zeros as numbers T.K. Excel Discussion (Misc queries) 1 February 10th 08 04:19 PM
Sort by last two numbers Tony Excel Discussion (Misc queries) 2 December 3rd 07 07:12 PM
All numbers won't sort Barb Excel Discussion (Misc queries) 2 March 5th 07 10:00 PM
Sort numbers JTH Excel Discussion (Misc queries) 5 September 29th 05 12:47 AM
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 11:26 PM.

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"