I'm using Excel 2002 and have a workbook with 3 identical worksheets in it.
I have frozen the top 5 rows, using them for headers.
On one sheet, when I want to sort the data starting in cell A6, I go to that
cell and then to Data & Sort. The window that opens, opens properly - with
the "No header row" button selected.
The window that opens for the other sheets has the "Header row" button
selected and the data doesn't sort the first row.
Why the discrepancy? And how do I get the "No header row" button to be the
default?
JP - 19 Mar 2008 00:54 GMT
Can you post a sample of the top 6 rows?
Thx,
JP
> I'm using Excel 2002 and have a workbook with 3 identical worksheets in it.
> I have frozen the top 5 rows, using them for headers.
[quoted text clipped - 5 lines]
> Why the discrepancy? And how do I get the "No header row" button to be the
> default?
JP - 19 Mar 2008 14:06 GMT
Hey, I got your sample by email. If you want to select a single
cell in a range and have Excel "know" how to sort it, it has to be
surrounded by whitespace -- at least one blank row/column around the
data. (Obviously if your header is in row 1, this doesn't apply.)
Plus, the header row has to be immediately above the data,
completely filled in (i.e. no blank cells in the header row) and it
must be offset somehow by using Bold, Italics, Fill coloring, etc, so
Excel can automatically identify it as the header row. And It can't be
two rows.
Your data doesn't have a header row immediately above the data,
and there is no blank row above the header that is there, and the
header spans two rows, so Excel is confused. Even if you highlighted
the data you want to sort, Excel wouldn't know what to do because
there is a blank row between the data and the headers.
HTH,
JP
> I'm using Excel 2002 and have a workbook with 3 identical worksheets in it.
> I have frozen the top 5 rows, using them for headers.
[quoted text clipped - 5 lines]
> Why the discrepancy? And how do I get the "No header row" button to be the
> default?