![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 67
|
I have several spreadsheets which contain similar data/format. However, when I was sorting the spreadsheet by clicking the sort button. Some of the spreadsheets don't sort the headers, but some include the headers when sort.
How can I make them sort the same way? Is there some kind of hidden format that does this kind of trick? Please help |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
What format is your data in, numbers, text? What format are the headers in?
|
|
|
|
|
|
#3 |
|
MrExcel MVP, Administrator
Join Date: Feb 2002
Location: The act or process of locating.
Posts: 13,679
|
Select what you want to sort.
Go to the menu bar and select Data/Sort. You can select whether or not to have a header row. Hope this helps! |
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi Allen
It is no dout because some of your headings are Bolded and/or some are different formats to the data. Excel will detect bolded first row as headings by default. _________________ Kind Regards Dave Hawley OzGrid Business Applications Microsoft Excel/VBA Training ![]() [ This Message was edited by: Dave Hawley on 2002-03-15 08:12 ] |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Mar 2002
Posts: 67
|
The format of my data have both number/text
eg. Name Weight Bob 40 Lisa 30 I have changed the headers ,Name/Weight, to bold However, they still become part of the data when sort The only way I could get the header not included in the sorting is to insert an empty row between data and header. However, it makes the sheet very ugly Are there any other solution to this problem? Please help Thanks in advance |
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Mar 2002
Posts: 67
|
The format of my data have both number/text
eg. Name Weight Bob 40 Lisa 30 I have changed the headers ,Name/Weight, to bold However, they still become part of the data when sort The only way I could get the header not included in the sorting is to insert an empty row between data and header. However, it makes the sheet very ugly Are there any other solution to this problem? Please help Thanks in advance |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
I can't duplicate your problem. Did you try Von Pookie's solution? If not, try copying the data and pasting only the values into a new workbook.
Hope this helps. Kind regards, Al. |
|
|
|
|
|
#8 |
|
Board Regular
Join Date: Mar 2002
Posts: 67
|
I have noticed that the spreadsheet which can separate the headers when sort has assigned the column name
eg. In Data->Sort, the drop down box shows the headers that I typed in However, for the spreadsheets that can't separate the headers when sort the drop down box display Column1, Column2, Column3.... and not the header names So, is there a way to let the header names show on the drop down box? Thanks in advance |
|
|
|
|
|
#9 |
|
MrExcel MVP, Administrator
Join Date: Feb 2002
Location: The act or process of locating.
Posts: 13,679
|
Stupid question, but I'll ask it anyway.
Do you have both the text and numbers in the same cell? For example, in A1, you have "Bob 40"? |
|
|
|
|
|
#10 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
For the spreadsheets that are having problems, under Data|Sort|"My list has" is "Header Row" clicked?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|