Results 1 to 5 of 5

Thread: Sort Data disabled in Microsoft Excel 2007

  1. #1
    Join Date
    Jan 2012
    Posts
    23

    Sort Data disabled in Microsoft Excel 2007

    I have two columns that I want to sort. Unfortunately, stupid Excel 2007 has "Sort & Filter" on the "Home" ribbon, and everything on the "Data" ribbon disabled. Why can't I sort? And why on earth did Microsoft move everything around. Nothing works like it used to. It's so very frustrating!

  2. #2
    Join Date
    Aug 2011
    Posts
    580

    Re: Sort Data disabled in Microsoft Excel 2007

    Check if you have more than one worksheet selected. If so, click on the tab of an unselected sheet or if all selected, click on any tab. (Multiple sheets are selected by holding Ctrl key and clicking on another sheet.)

  3. #3
    Join Date
    Aug 2011
    Posts
    564

    Re: Sort Data disabled in Microsoft Excel 2007

    I found out the problem: Excel had the label "[Group]" in the header. I looked that up on this forum and found that I had to right click the sheet tab and select "Ungroup". Talk about this new Office being so totally unintuitive! I've used Excel for more than a decade, I'm a computer programmer, and yet this new Office from Microsoft has all of this hidden little quirks that are incredibly frustrating.

  4. #4
    Join Date
    Aug 2011
    Posts
    460

    Re: Sort Data disabled in Microsoft Excel 2007

    I'm here at work just a very stupid problem with Excel. I have just one price table. These will now be sorted so that top of the table the lowest in the table below are the highest values. The table is divided as follows:
    • Column A - AY = ZIP
    • Line 6-65 = weight

    In between are just the individual prices for the desired code and the corresponding weight. Now partly come about results that we say are cheaper than 150kg 100kg. The backdrops are unimportant first. The point is that in each column is now the lowest price above the highest price is given below. Normally it works via Data -> Sort -> Ascending, too easily just not in this case. Some sort Excel columns correctly, while others again not or only partially. I would now like to know what the reason could well lie. I can not do absolutely no sense of it. The awards themselves are all formatted as numbers, because it is not likely to fail. There are only numbers entered in the cells.

  5. #5
    Join Date
    Jul 2011
    Posts
    434

    Re: Sort Data disabled in Microsoft Excel 2007

    It is quite possible with a VBA macro.
    • The table you want to sort, you name it "news"
    • the cell under the first sort column named "col1"
    • the cell under the second sort column is called "col2"
    • the cell under the third sort column is called "col3"

    All these names are examples used in the macro of course. You have to this macro in the sheet in question and whenever a cell changes value table is sorted.
    Code:
    Private Sub Worksheet_Change (ByVal adrcel As Range) 
    Range ("Information"). Sort Key1: = Range ("col1"), Order1: = xlAscending, _ 
    Key2: = Range ("col2") ORDER2: = xlAscending, _ 
    Key3: = Range ("col3") ORDER3: = xlAscending, _ 
    Header: = xlYes, OrderCustom: = 1, MatchCase: = False, _ 
    Orientation: = xlTopToBottom 
    End Sub
    It is obvious that this is a working example but it can be improved by ensuring that the modified cell is actually part of the table for example.

Similar Threads

  1. How to remove or sort the data order in Excel sheet
    By Ramanujan in forum MS Office Support
    Replies: 2
    Last Post: 15-02-2012, 08:12 PM
  2. Replies: 2
    Last Post: 24-01-2012, 04:58 PM
  3. Replies: 2
    Last Post: 24-01-2012, 02:07 PM
  4. Why does Data Ribbon disabled in Excel
    By Rao's in forum Windows Software
    Replies: 2
    Last Post: 06-01-2012, 07:37 PM
  5. Replies: 3
    Last Post: 04-01-2011, 01:25 AM

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
  •  
Page generated in 1,714,194,500.70396 seconds with 16 queries