Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How can I sort the columns in my excel file when it exceeds more than
3? Suppose I have a excel file that has 100 columns and several thousand rows. How can I sort the file based on 10 columns? Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
sort the minor columns first
D-E-F then the major columns A-B-C More information on sorting: http://www.mvps.org/dmcritchie/excel/sorting.htm If you have Excel 2003 then you will have to avoid the Ctrl+A problem introduced with that version http://www.mvps.org/dmcritchie/excel...x2k.htm#foobar --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm wrote in message ups.com... How can I sort the columns in my excel file when it exceeds more than 3? Suppose I have a excel file that has 100 columns and several thousand rows. How can I sort the file based on 10 columns? Thanks. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. It breaks the row information. No? For example if I sort them
by column A, B and C. I get a excel file. Then if I sort them by D, E and F then the rows are not correct anymore. Therefore, I get wrong information in a row. Since we are at it, is there possible to generate a sequence? For example I have a excel file and I want to insert a column to the left and fill that column with a sequence, so that each row is numbered form 1 though the highest row number? Thanks again. On Feb 5, 10:52 am, "David McRitchie" wrote: sort the minor columns first D-E-F then the major columns A-B-C More information on sorting: http://www.mvps.org/dmcritchie/excel/sorting.htm If you have Excel 2003 then you will have to avoid the Ctrl+A problem introduced with that version http://www.mvps.org/dmcritchie/excel...x2k.htm#foobar --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm wrote in oglegroups.com... How can I sort the columns in my excel file when it exceeds more than 3? Suppose I have a excel file that has 100 columns and several thousand rows. How can I sort the file based on 10 columns? Thanks.- Hide quoted text - - Show quoted text - |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If I read your second post correctly.
With all sorting you must select all columns then sort on three columns and as David susgested the first sort is to the right columns D-E-F then sort on columns A-B-C. Without selecting all columns sorting on A-B-C will sort only columns A-B-C leaving the rest as is, hence jumbelling the rows. HTH -- Thank you Bob C It cost''''''''s little to carry knowledge with you. " wrote: Thanks. It breaks the row information. No? For example if I sort them by column A, B and C. I get a excel file. Then if I sort them by D, E and F then the rows are not correct anymore. Therefore, I get wrong information in a row. Since we are at it, is there possible to generate a sequence? For example I have a excel file and I want to insert a column to the left and fill that column with a sequence, so that each row is numbered form 1 though the highest row number? Thanks again. On Feb 5, 10:52 am, "David McRitchie" wrote: sort the minor columns first D-E-F then the major columns A-B-C More information on sorting: http://www.mvps.org/dmcritchie/excel/sorting.htm If you have Excel 2003 then you will have to avoid the Ctrl+A problem introduced with that version http://www.mvps.org/dmcritchie/excel...x2k.htm#foobar --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm wrote in oglegroups.com... How can I sort the columns in my excel file when it exceeds more than 3? Suppose I have a excel file that has 100 columns and several thousand rows. How can I sort the file based on 10 columns? Thanks.- Hide quoted text - - Show quoted text - |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks.
Since we are at it, is there possible to generate a sequence? For example I have a excel file and I want to insert a column to the left and fill that column with a sequence, so that each row is numbered form 1 though the highest row number? Thanks again. On Feb 5, 10:52 am, "David McRitchie" wrote: sort the minor columns first D-E-F then the major columns A-B-C More information on sorting: http://www.mvps.org/dmcritchie/excel/sorting.htm If you have Excel 2003 then you will have to avoid the Ctrl+A problem introduced with that version http://www.mvps.org/dmcritchie/excel...x2k.htm#foobar --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm wrote in oglegroups.com... How can I sort the columns in my excel file when it exceeds more than 3? Suppose I have a excel file that has 100 columns and several thousand rows. How can I sort the file based on 10 columns? Thanks.- Hide quoted text - - Show quoted text - |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
For the second part of your question on generating a sequence.
See my page on using the Fill Handle http://www.mvps.org/dmcritchie/excel/fillhand.htm You do not want to fill your sequence down to the bottom of the worksheet because you would make a tremendous change in the size of your worksheet (Used Range Ctrl+End), if that is what you are getting at. If you have a sequence number in a column you can sort the worksheet and use the sequence numbers later to restore the original order. If you want to refer to the current row number you can use =ROW() or if you want the row of data =ROW()-1 to leave out header. If you want to refer to the previous row in a formula as in a bank balance you would use OFFSET see http://www.mvps.org/dmcritchie/excel/offset.htm http://www.mvps.org/dmcritchie/excel/insrtrow.htm which allows you to insert rows and delete rows without messing up your formulas. And Bob is correct you normally want to select all cells on a page before your sort. The only exceptions really are if you don't want to include all columns or just want to sort a smaller rectangular range of data. The expansion of a single cell selection in a sort is never your friend because sooner or later it will result in loss of your data (jumbled mess). The worst feature in Excel and made worse by one order of magnitude when combined with change of Ctrl+A in Excel 2003. You can use the gray button at the intersection of the rows and columns, but unlike the historical Ctrl+A it will change the location of the active cell (and is not a keyboard shortcut). Please try to pick a unique subject that properly describes the question, Outlook Express combined your question as if it were in the same thread as another question which was posted in November. Google Groups is even worse at keeping threads in order when different threads have the same subject name. --- HTH, David McRitchie, Microsoft MVP - Excel My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm wrote in message Since we are at it, is there possible to generate a sequence? For example I have a excel file and I want to insert a column to the left and fill that column with a sequence, so that each row is numbered from 1 though the highest row number? Thanks again. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could have a helper column in which all the data you want to sort are
concatenated. (=A1&B1&C1&D1). But be aware that this is text only so that, for example date that are formatted as dates will sort OK but dates that formatted as text and are in the form 05/02/2007 will not sort properly. They need to be changed to 2007/02/05. Regards. Bill Ridgeway Computer Solutions wrote in message ups.com... How can I sort the columns in my excel file when it exceeds more than 3? Suppose I have a excel file that has 100 columns and several thousand rows. How can I sort the file based on 10 columns? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Accidental Sort | Excel Discussion (Misc queries) | |||
how to sort anything that looks like a number as a number | Excel Discussion (Misc queries) | |||
Select rows and sort based on type | Excel Discussion (Misc queries) | |||
sorting more than 3 keys | Excel Discussion (Misc queries) | |||
HELP! How do you--> Lock a set of rows but also link worksheets to | Excel Discussion (Misc queries) |