You'll have to do it one row at at time...
Or use a macro to do it for you.
If you want to try a macro:
Option Explicit
Sub testme()
Dim iRow As Long
Dim FirstRow As Long
Dim LastRow As Long
With Worksheets("sheet1")
FirstRow = 2
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
For iRow = FirstRow To LastRow
With .Cells(iRow, "A").Resize(1, 6)
.Sort Key1:=.Columns(1), Order1:=xlAscending, _
Header:=xlNo, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlLeftToRight
End With
Next iRow
End With
End Sub
If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
binar wrote:
>
> Fellow Forum Members,
> I have like 1400 rows of lotto winning history (small sample below). My
> objective is to sort in ascending order each row. The problem is that
> Excel 2003 is behaving oddly. I'm using Data-> Sort -> Options -> Sort
> Left to Right command. And I have highlighted the data in several ways
> with no success. Excel only sorts one row even though I have 1400 rows
> selected. Can someone help me with a macro that will sort the numbers
> row by row in ascending order? Any help will be greatly appreciated.
> Thanks.
>
> 37 36 26 42 10 23
> 2 48 3 1 13 28
> 13 28 4 46 3 35
> 11 6 31 2 34 14
> 27 17 13 42 47 40
> 4 38 42 23 3 10
> 48 15 44 20 13 17
> 3 19 7 5 13 20
> 36 12 19 13 20 48
> 15 40 8 47 25 22
> 18 15 23 19 11 22
> 30 44 17 49 42 15
>
> --
> binar
> ------------------------------------------------------------------------
> binar's Profile: http://www.excelforum.com/member.php...o&userid=37140
> View this thread: http://www.excelforum.com/showthread...hreadid=568673
--
Dave Peterson
Bookmarks