up vote 2 down vote favorite
1
share [g+] share [fb]

I have a spreadsheet which uses 2 rows for header information. Filtering implicitly is assuming only 1 row of header information. Sorting has a header row checkbox but that only toggles treating the first row as a header.

Is there a way to make excel treat the first two rows as headers?

link|improve this question

73% accept rate
feedback

3 Answers

up vote 2 down vote accepted

No. Omit the first row from your range when you auto filter. This way the auto filter buttons appear only on your bottom header row and the data gets filtered. I expect that right now your second header row is getting pulled into your 'data'.

You can't select a single cell and have excel figure this out. You have to select the range of cells you want excel to include.

link|improve this answer
It is. I didn't realize I could select a specific cell to start the filtering at, as opposed to doing a column select. – Dan Neely Nov 12 '09 at 14:45
feedback

Excel 2007 can smartly detect if you have multi-row headers. I made a simple experiment just now before writing this.

Before making your first sort, position the cursor right below the header. That's it! Sorting is fine, filtering is fine. Excel ignored the 1st row of my headers. It just processes the 2nd row as the real header.

link|improve this answer
Nope, this doesn't work. It's true that Excel 07 can autodetect multi-row headers in some cases, but it's based on cell contents, not on which cell you click. For example, if the first two rows are text and everything below is numeric, then Excel will assume the first 2 rows are both headers. – Josh Mar 23 '10 at 16:30
feedback

Or you could just merge the two header rows.

link|improve this answer
1  
That's not an option when a row one header covers multiple row 2 sub-headers. – Dan Neely Nov 12 '09 at 14:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.