Sort Rows Ignoring Headers

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?
 
P

Peo Sjoblom

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
 
G

Guest

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.
 
G

Guest

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.
 
D

Dick

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
 
D

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top