Sort Rows Ignoring Headers

  • Thread starter Thread starter Dick
  • Start date Start date
D

Dick

I have several pages of data in rows. Each page has the same column
headers for use when printing out just that page. I want to be able
to sort all the rows on all the pages as a single sort without getting
the headers involved. How do I lock out the headers from the sort?
 
When you do the sort make sure you check "My data range has Header row"
before you sort, that is only necessary when sorting text, if you sort
numbers headers will default to that

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon
 
I assume you mean "worksheets", rather than pages. You cannot sort multiple
worksheets in one sort action, as the sort process requires a column for the
sort criterion. You will need a macro to join all the separate sorts
together. Do the first sort while recording a macro, then copy the sort
process within the macro procedure for each worksheet, modifying each one for
the respective sheet.

Use Peo's advice for ignoring headers.
 
Hi

If you mean that your single sheet has lots of pages of data, just set the
heading line once at the top. You can then use File/Page Setup/Sheet tab and
set the 'Rows to repeat at top' to $1:$1. When you print any individual
pages, it will still include the first row of headings.

Andy.
 
Thanks Andy. I will try that. I really didn't want to get involved
with macros. It's just a simple data base with no calculations that
several people need to be able to sort as needed.

Dick
 
Andy -

Thanks a lot. That was exactly what I needed, and very simple too!
Although I set the pages to repeat as A1:A4 as there were four rows
that needed to be repeated. I didn't try the $1:$1.

Dick
 
Back
Top