+ Reply to Thread
Results 1 to 7 of 7

Sort data by font colour not working properly

  1. #1
    Registered User
    Join Date
    04-14-2010
    Location
    Ottawa
    MS-Off Ver
    Excel 2007
    Posts
    7

    Sort data by font colour not working properly

    Hi,
    I have a spreadsheet with approx. 200 rows and 15 columns with 3 different colour fonts. I highlight all rows and columns and sort in the follow order:

    1. Column "A" by font colour "automatic" to the top
    2. Column "A" by font colour "green" to the bottom (which I'm assuming would automatically make the 3rd colour in the middle)
    3. Column "A" A-Z

    When I do this the results are very random. For the most part the rows are only sorted A-Z the font colour doesn't seem to be in any specific order.

    Does anyone know what's going on here?

    I will add that I have an alternating colour row cell colour locked, not sure if that matters.


    Thanks!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sort data by font colour not working properly

    You still neeed to put the 3rd condition for the 3rd colour. Excel is not smart enough to figure out your stated assumption.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    10-07-2011
    Location
    Plano, TX USA
    MS-Off Ver
    Excel 2013
    Posts
    141

    Re: Sort data by font colour not working properly

    I believe you can only filter by value or color, not both.

  4. #4
    Registered User
    Join Date
    04-14-2010
    Location
    Ottawa
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Sort data by font colour not working properly

    Thanks for the replies.

    I tried adding in the 3rd colour, it didn't change anything.

    I also tried removing the "Sort A-Z", it sorted more accurately but there are still quite a few in the wrong place.

  5. #5
    Registered User
    Join Date
    04-14-2010
    Location
    Ottawa
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Sort data by font colour not working properly

    Anyone have a solution?

  6. #6
    Registered User
    Join Date
    11-08-2012
    Location
    Stockholm
    MS-Off Ver
    Excel 2013, Word 2013
    Posts
    1

    Re: Sort data by font colour not working properly

    Hi, did you ever find a solution to this problem? I'm having a similar issue, sometimes when I sort by colors, the rows just get redistributed randomly. I'm thinking this might be because my coloring is from a conditional formatting, but I don't understand why this is an issue. Filtering by color works as intended even with colors from a conditional format.

  7. #7
    Registered User
    Join Date
    03-18-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Sort data by font colour not working properly

    Very old post, but adding this just in case someone stumbles across this forum like I did. If the colours come from conditional formatting (as I'm assuming they did) you have to make sure that all of the cells in the sort range have the relevant conditional formatting (as this is tied to the cells and therefore doesn't move when sorted).

    Hope this helps anyone who stumbles across this in the future.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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