+ Reply to Thread
Results 1 to 3 of 3

Is there anyway of alligning columns based on cell colour ?

  1. #1
    Registered User
    Join Date
    08-30-2017
    Location
    SHEFFIELD,ENGLAND
    MS-Off Ver
    2016
    Posts
    37

    Question Is there anyway of alligning columns based on cell colour ?

    Screen example.PNGHi There !

    I have an excel data table, listed in column D7:D7144 are part numbers. In column E,F,G and H is a COUNTIF formula looking up the corresponding part number in the adjacent column (D) and counting the occurrence of the part number in various data tables. If the part is found, a value is added to the cell. There is a conditional format that highlights the cells orange if a value is there (typically a value of 1-50,000).

    Now here's the tricky bit. I want to align the columns based on the cell colours per row?

    for example: - if part number PB12345 in cell D150 has a value in E150,F150,G150 and H150 therefore the row is orange, I want to be able to sort it in the table so it appears at the top. Basically ALL the rows with a adjacent colours appear at the top sorted descending down in frequency order (all rows with the adjacent cells orange at the top followed by 3 then 2 and so on. (make sense?) see attached screen shot

    Any help with this will be of a massive help !!!


    Thanks Slosh x
    Last edited by sloshpuppy; 08-30-2017 at 07:27 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Is there anyway of alligning columns based on cell colour ?

    Hi Slosh

    You could add an extra column with the formaula

    =COUNTIF(E150:H150,">0")

    And then use this column to sort high to low?

  3. #3
    Registered User
    Join Date
    08-30-2017
    Location
    SHEFFIELD,ENGLAND
    MS-Off Ver
    2016
    Posts
    37

    Re: Is there anyway of alligning columns based on cell colour ?

    Excellent Biscuits !!!! Mucho Gracias.......worked a treat !

    I knew it would be something as simple as this !

    Much appreciated for the helping hand

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to change cell colour, if the colour is based on value from formula?
    By darah237 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2016, 11:40 AM
  2. Replies: 6
    Last Post: 04-11-2016, 09:48 AM
  3. Change the colour of a cell based on text in different columns
    By teejay21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-19-2016, 07:46 AM
  4. [SOLVED] Search cells based on student name, cell background colour and return a tally for colour
    By drof_06 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-26-2016, 04:31 AM
  5. [SOLVED] CF cell highlight based on another columns colour
    By toneNFFC in forum Excel General
    Replies: 3
    Last Post: 07-08-2015, 06:24 AM
  6. Change colour of cells based on another cell's colour (Not value)
    By LTrain89 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2013, 08:44 PM
  7. Colour change column chart based on cell colour
    By Alice21 in forum Excel General
    Replies: 11
    Last Post: 04-05-2011, 10:10 AM

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