+ Reply to Thread
Results 1 to 3 of 3

Putting Row 1 in the header

  1. #1
    Registered User
    Join Date
    01-10-2011
    Location
    Garden Grove, CA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Putting Row 1 in the header

    Hello. We work with a typical excel spreadsheet. Rows 1,2,3 have all of our "header" information, and the rest of the rows are data.

    The problem is, we sort the data on a daily basis, and when we do this, our "header" rows (rows 1,2,3) are always moved to the bottom of the spreadsheet. Even if I freeze rows 1,2,3, the rows are STILL put at the bottom of the spreadsheet when I do the sort.

    I know that one way to avoid this is to simply highlight only the data that I want sorted and then do the sort... But I want to avoid this if at all possible.

    Is there any command on excel that will automatically exclude the header rows from being sorted?

    Thanks!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Putting Row 1 in the header

    Put a blank row in row 3 and squeeze it down really thin height-wise if you wish, so the data table really only has a one row header, which is standard.

    Now you can sort your table and use the [x] Has Headers option in the sort window.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Valued Forum Contributor
    Join Date
    10-17-2010
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013, 2016, 2019, 365
    Posts
    294

    Re: Putting Row 1 in the header

    The problem here is that there are more than one header rows. If you only had one, life would be much simpler. So one option is to put a blank row in before the last header row, then hide that blank row.

    You can then select any cell in the block of data and Data > Filter > Autofilter. You'll get drop-down arrows at the top of each column that you can use to sort as well as filter.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1