Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cactus
 
Posts: n/a
Default sort data in cells in a row

I have copied and pasted data in cells in a particular row amongst other rows
not in any order. I would like to know if there is a method other than manual
sorting to place the individual cells in this row in ascending or descending
order, without disturbing the cells in the rest of the rows. And then to skip
to the next row and do the same thing over again. Treating each row
seperately on the same worksheet.

Many thanks
Cactus
  #2   Report Post  
CLR
 
Posts: n/a
Default

Highlight the row you want to sort, then Data Sort choose Continue with
the current selection fromt the pop-up then Options Normal check Sort
left to right OK OK

Vaya con Dios,
Chuck,
CABGx3


"Cactus" wrote in message
...
I have copied and pasted data in cells in a particular row amongst other

rows
not in any order. I would like to know if there is a method other than

manual
sorting to place the individual cells in this row in ascending or

descending
order, without disturbing the cells in the rest of the rows. And then to

skip
to the next row and do the same thing over again. Treating each row
seperately on the same worksheet.

Many thanks
Cactus



  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 5 Jun 2005 17:55:30 -0700, Cactus
wrote:

I have copied and pasted data in cells in a particular row amongst other rows
not in any order. I would like to know if there is a method other than manual
sorting to place the individual cells in this row in ascending or descending
order, without disturbing the cells in the rest of the rows. And then to skip
to the next row and do the same thing over again. Treating each row
seperately on the same worksheet.

Many thanks
Cactus


Select the cells you wish to sort; only one row.

Data/Sort
Continue with the current selection
Sort
Options
Orientation: Sort Left to Right
<OK
<OK

Then select your next row and continue the process.

--ron
  #4   Report Post  
Max
 
Posts: n/a
Default

Here's a play to try ..
(Link to a sample file is provided below)

Assume source data is in Sheet1, in A1:E5
(Source data is assumed all numbers)

In Sheet1

Put in G1: =A1+COLUMNS($A$1:A1)/10^10
Copy across 5 cols to K1, fill down to K5

This creates a horizontal arbitrary tie-breaker ref table for an *ascending*
sort in say, Sheet2

Similarly,

Put in M1: =A1-COLUMNS($A$1:A1)/10^10
Copy across 5 cols to Q1, fill down to Q5

This creates a horizontal arbitrary tie-breaker ref table for a *descending*
sort in say, Sheet3

In Sheet2

Put in A1:

=INDEX(Sheet1!$A1:$E1,MATCH(SMALL(Sheet1!$G1:$K1,C OLUMNS($A$1:A1)),Sheet1!$G
1:$K1,0))

Copy across to E1, fill down to E5 to populate a range of the same size as
the source data in Sheet1

Sheet2 will return a corresponding auto-horizontal ascending sort of each
row in the source data. The sorting is from left to right, row by row,
independently.

In Sheet3

Put in A1:

=INDEX(Sheet1!$A1:$E1,MATCH(LARGE(Sheet1!$G1:$K1,C OLUMNS($A$1:A1)),Sheet1!$G
1:$K1,0))

Copy across to E1, fill down to E5 to populate a range of the same size as
the source data in Sheet1

Sheet3 will return a corresponding auto-horizontal descending sort of each
row in the source data. The sorting is from left to right, row by row,
independently

Here's a sample file with the implemented construct:
http://flypicture.com/p.cfm?id=59191
(Right-click on the link: "Download File"
at the top in the page, just above the ads)
File: Cactus_wksht_2.xls
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Cactus" wrote in message
...
I have copied and pasted data in cells in a particular row amongst other

rows
not in any order. I would like to know if there is a method other than

manual
sorting to place the individual cells in this row in ascending or

descending
order, without disturbing the cells in the rest of the rows. And then to

skip
to the next row and do the same thing over again. Treating each row
seperately on the same worksheet.

Many thanks
Cactus



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 pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
Help making a chart that doesn't graph cells without data? Filtration Guy Excel Discussion (Misc queries) 0 March 22nd 05 09:21 PM
sort data without formulas in other cells changing? Vicky Excel Discussion (Misc queries) 2 March 15th 05 01:17 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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