Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Spiderman
 
Posts: n/a
Default sorting data across multiple columns

I have lets say 10 columns each labeled , A, B, C, through J.
Each column contains 10 random serial numbers
How can I sort the 10 columns in ascending or descending order so that all
numbers in the 10 columns are sorted within the 10 rows in each column,
from this:
A B C D .....
10 23 24 19
2 7 18 21
17 12 11 18 ETC..

to this:
A B C D...
1 6 11 16
2 7 12 17
3 8 13 18
4 9 14 19
5 10 15 20

  #2   Report Post  
Jim Cone
 
Posts: n/a
Default

S...,

My Excel add-in "Special Sort" - rel 1.40, should do what you want.
It adds 12 sort features not found in Excel, including sorting by.. .
color, prefix, suffix or middle (where you specify the length/position)
dates, numbers, length, reverse, random and just added is the
Table sort feature that sorts the selection across rows or down columns.

It resembles and responds somewhat like the built-in Excel utility.
Comes with a 2 page install/use Word file.
It is available - free - upon email request.
Remove XXX from my email address.

Regards,
Jim Cone
San Francisco, USA
XX

"Spiderman"

wrote in message
...
I have lets say 10 columns each labeled , A, B, C, through J.
Each column contains 10 random serial numbers
How can I sort the 10 columns in ascending or descending order so that all
numbers in the 10 columns are sorted within the 10 rows in each column,
from this:
A B C D .....
10 23 24 19
2 7 18 21
17 12 11 18 ETC..

to this:
A B C D...
1 6 11 16
2 7 12 17
3 8 13 18
4 9 14 19
5 10 15 20

  #3   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

Let us say, your data are in the grid A1:J10. In some cell (say L1) [this
would be the top left-hand side cell of the new grid where the sorted numbers
would go], enter the following formula:

=SMALL($A$1:$J$10,(COLUMN()-COLUMN($L$1))*10+ROW()-ROW($L$1)+1)

Fill-in the formula down the next 9 rows and across the next 9 columns.

For sorting the numbers in descending order, change the "SMALL" in the
formula to "LARGE".

Regards,
B. R. Ramachandran




"Spiderman" wrote:

I have lets say 10 columns each labeled , A, B, C, through J.
Each column contains 10 random serial numbers
How can I sort the 10 columns in ascending or descending order so that all
numbers in the 10 columns are sorted within the 10 rows in each column,
from this:
A B C D .....
10 23 24 19
2 7 18 21
17 12 11 18 ETC..

to this:
A B C D...
1 6 11 16
2 7 12 17
3 8 13 18
4 9 14 19
5 10 15 20

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
Convert 1 row of data into Multiple columns Mohoney Excel Discussion (Misc queries) 1 August 25th 05 12:36 PM
Sorting two columns of data Max Excel Worksheet Functions 6 June 13th 05 01:30 AM
How to have multiple columns in pivot table data area? mitch1962 Excel Worksheet Functions 1 February 24th 05 01:22 AM
Filtering Text Data from Multiple columns Brad Excel Worksheet Functions 6 January 1st 05 03:32 PM
Drop-down selection fills data across multiple columns Tom Excel Discussion (Misc queries) 7 December 2nd 04 12:43 AM


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