+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Custom sort not sorting completely

  1. #1
    Registered User
    Join Date
    07-07-2009
    Location
    Guildford
    MS-Off Ver
    Excel 2007
    Posts
    8

    Custom sort not sorting completely

    I have a table that has three columns, each getting its data from a COUNTIF function. The three columns are Totals, Positive and Negative. I also have conditional formatting that formats the row depending on the totals.

    I am trying to sort these based on the totals or the conditional formatting (Fill colour) but each time I try the sort leaves 3 or 4 cells above the marker (i.e. there should be 4 blue rows on the top and 6 white rows beneath after sorting, but it seems to ignore some of the cells, with 3-4 white cells on top of the blue cells and more white cells below. I thought it was a pretty simple thing and have tried sorting it by both the cell colour and the totals amount seperately to no avail.

    Please help!!!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Custom sort not sorting completely

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-07-2009
    Location
    Guildford
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Custom sort not sorting completely

    I have attached an example sheet with the tables in question.

    Hope someone can help!!
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Custom sort not sorting completely

    Yes, sorting the items with formulas and relatively referenced cells causes issues... try changing the formula in B3 to:

    =COUNTIF(TopicDetails!$B$2:$B$59,INDEX(TopicAreaSummary!A:A,ROW()))

    and copy down...

    Then sort per usual.

+ 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