#1   Report Post  
Pam Coleman
 
Posts: n/a
Default sorting

I have a spreadsheet with Row 1 and Row 2 as headers. When I sort, it sorts
the 2nd row header with my information. Is there a way to keep row 2 from
sorting with my infor?
  #2   Report Post  
aristotle
 
Posts: n/a
Default

Hi,

Why do you have two rows? I recommend concatenating the two into one row
only - insert a new row and in A1:

=A2&" "&A3

Copy this formula throughout the length. You can still wrap the text within
the cell. You can then copy row 1 and paste over it again as values (Edit -
Paste Special).

Delete rows 2&3 and re-sort.

Regards,
A

"Pam Coleman" wrote:

I have a spreadsheet with Row 1 and Row 2 as headers. When I sort, it sorts
the 2nd row header with my information. Is there a way to keep row 2 from
sorting with my infor?

  #3   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Pam,

Instead of having Excel guess what range to sort, simply select from row 2 to the end of your data
table, then do the sort. Make sure that you indicate that you have a header row, and Excel will
leave row 2 at the top.

HTH,
Bernie
MS Excel MVP


"Pam Coleman" wrote in message
...
I have a spreadsheet with Row 1 and Row 2 as headers. When I sort, it sorts
the 2nd row header with my information. Is there a way to keep row 2 from
sorting with my infor?



  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Don't select header row 1--just select the last row of the header and the data.

Or just select your data and make sure you choose no header row on that sort
dialog.

(And don't use those A-Z and Z-A buttons. Go through the menu (data|sort).
You'll have much more control.

===
ps. You may want to combine your all your header rows into one row. You can
use alt-enter to force a new line within a cell.

Pam Coleman wrote:

I have a spreadsheet with Row 1 and Row 2 as headers. When I sort, it sorts
the 2nd row header with my information. Is there a way to keep row 2 from
sorting with my infor?


--

Dave Peterson
  #5   Report Post  
Scott buckwalter
 
Posts: n/a
Default

Insert a blank row between Rows 1 & 2. Then hide the row.
-Scott

"Pam Coleman" wrote:

I have a spreadsheet with Row 1 and Row 2 as headers. When I sort, it sorts
the 2nd row header with my information. Is there a way to keep row 2 from
sorting with my infor?

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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Sorting 1, 1A, 2, 2A, 3, 4, 4A, 4B . . . agc1234 Excel Discussion (Misc queries) 6 May 26th 05 08:02 PM
sorting number in ascending order Janice Lee via OfficeKB.com Excel Discussion (Misc queries) 2 April 8th 05 10:31 PM
SORTING question Rebecca New Users to Excel 3 February 24th 05 05:35 PM
Adding a KeyID column for sorting Rebecca New Users to Excel 3 February 20th 05 07:09 PM


All times are GMT +1. The time now is 12:31 PM.

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

About Us

"It's about Microsoft Excel"