Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rabbit
 
Posts: n/a
Default how to protect column headers from sorting.

I am trying to sort data while protecting the header labels from being
sorted. Thank you.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

There is an option in the DataSort dialog to exclude headers.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"rabbit" wrote in message
...
I am trying to sort data while protecting the header labels from being
sorted. Thank you.



  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Don't use the sort ascending/descending buttons.

Select all cells on the sheet and then use
Data, Sort, at the bottom is a checkbox where you indicate
if you data has headers.

http://www.mvps.org/dmcritchie/excel/sorting.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rabbit" wrote in message ...
I am trying to sort data while protecting the header labels from being
sorted. Thank you.



  #4   Report Post  
Bryan Hessey
 
Posts: n/a
Default


I believe the 'Header Row' option in the sort covers only 1 row.

To sort where there are multiple row headers (and also to protect Row
Totals if necessary) select the rows that you require to be sorted
either by click-and-drag the row numbers, or by typing the range into
the name box
(as say 6:65536 for 5 header rows,
or 6:30 for 5 header rows, 26 data rows and total rows at 31 onwards)
and then do your sort leaving the 'Heading row' unticked.
Use the 'ascending/descending' and additions sort keys as required.

Hope this helps


David McRitchie Wrote:
Don't use the sort ascending/descending buttons.

Select all cells on the sheet and then use
Data, Sort, at the bottom is a checkbox where you indicate
if you data has headers.

http://www.mvps.org/dmcritchie/excel/sorting.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rabbit" wrote in message
...
I am trying to sort data while protecting the header labels from

being
sorted. Thank you.



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=395547

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
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
My Excel column headers have changed to numbers, how do I get bac. Monty Excel Discussion (Misc queries) 3 February 18th 05 03:33 PM
Column Headers Cscritch Excel Discussion (Misc queries) 1 February 2nd 05 05:09 PM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"