sort numbers in columns

cds

Board Regular
Joined
Mar 25, 2012
Messages
84
Hi, I am using excel 2003, I want to know how sort data in various columns in ascending or descending order. My data is like this :

a b c d e f
1 12 4 11 27 35 20
2 9 17 4 23 29 35
3 3 8 23 17 29 26

After sorting I want result like this :-


1 4 11 12 20 27 35
2 4 9 17 23 29 35
3 3 8 17 23 26 29

Thanks in advance


cds
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
In the Sort dialog click Options and check 'Sort left to right'. To get the result you want you will need to sort one row at a time.
 
Upvote 0
You can use a formula in say H1 (or wherever you want) and filled right/down as needed
=SMALL($A1:$F1,COLUMNS($A1:A1))

Once you have the result, you can copy the formula cells, and paste special / values over the top of the original.

Excel Workbook
ABCDEFGHIJKLM
11241127352041112202735
291742329354917232935
338231729263817232629
Sheet1
 
Upvote 0

Forum statistics

Threads
1,215,460
Messages
6,124,949
Members
449,198
Latest member
MhammadishaqKhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top