+ Reply to Thread
Results 1 to 7 of 7

Conditional formatting based on top 10 values in adjacent cells?

  1. #1
    Registered User
    Join Date
    01-14-2008
    Posts
    5

    Conditional formatting based on top 10 values in adjacent cells?

    I have a matrix in excel to show % and $ for multiple columns - set up like this:

    Rows Part 1 Part 2 Part 3
    Criteria 1 % $ % $ % $
    Criteria 2
    Criteria 3

    the $ columns are conditionally formatted to highlight the top 10 values on the matrix. is there a way to have the corresponding % cells also highlighted? The % and $ aren't both top 10, so the % would have to be highlighted based on the $ top 10 cells.

  2. #2
    Registered User
    Join Date
    07-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    38

    Re: Conditional formatting based on top 10 values in adjacent cells?

    Jperlin,

    Is the conditional formatting you have currently based on a formula? What is the rule you have set up?

  3. #3
    Registered User
    Join Date
    01-14-2008
    Posts
    5

    Re: Conditional formatting based on top 10 values in adjacent cells?

    It's just the top 10 rule (format top or bottom ranked values). It applies to every other column since those are the $ columns.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional formatting based on top 10 values in adjacent cells?

    Probably we can use a formula in Conditional formatting rules.

    Can you upload a small sample workbook showing us how your data looks like?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    07-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    38

    Re: Conditional formatting based on top 10 values in adjacent cells?

    You will need to change the formatting rule from a automatic one to one that depends on a formula.

    Such as:
    =IF($B1>LARGE($B$1:$B$50,10),"TRUE","FALSE")

    This assumes that the $ column is column B and your % figure is column A. Simply copy the conditional formatting to both columns. You can apply the same formula to the other %/$ column pairs but you will have to manually change the cell references in the conditional formatting. You should be able to do this just once for each column if you have the all cells in the column selected.

    Good luck...

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Conditional formatting based on top 10 values in adjacent cells?

    Malkier

    No needs the if in CF rules. Something like..

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    should be enough!

  7. #7
    Registered User
    Join Date
    07-01-2011
    Location
    Australia
    MS-Off Ver
    Excel 2011 (Mac)
    Posts
    38

    Re: Conditional formatting based on top 10 values in adjacent cells?

    Nice! Thanks Fotis.

+ 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. Replies: 5
    Last Post: 07-12-2013, 01:15 AM
  2. [SOLVED] Conditional Formatting Based on Adjacent Cells and Values
    By stusic in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-03-2013, 03:59 PM
  3. macro for conditional formatting based on the comparing values from adjacent columns
    By jkmasurkar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-18-2012, 07:18 AM
  4. Conditional formatting based on adjacent cell values
    By dberliner in forum Excel General
    Replies: 4
    Last Post: 07-28-2011, 12:42 PM
  5. [SOLVED] Conditional formatting of adjacent cells based on text in cell
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2006, 07:20 PM

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