+ Reply to Thread
Results 1 to 6 of 6

Highlight Rows in a table with certain condition

  1. #1
    Registered User
    Join Date
    02-28-2007
    Posts
    9

    Highlight Rows in a table with certain condition

    Hi all,

    I am grappling with this for a little while now but have not been able to figure out a solution yet.
    I have a table of values and depending on the highest value in a column, I would want the whole row to be highlighted and similarly smallest value highlight as well.

    Please take a look @ the data below of the table and see if my problem statement makes sense.
    In this table, I would want the specific row to be highlighted in a specific color based on highest Win% value
    and same for lowest Win % also.

    Can you please help?

    Thank you so much

    Pair Proposed Won Lost Win % Lost %
    B & R 4 3 1 75% 25%
    R & S 6 4 2 67% 33%
    B & S 6 2 4 33% 67%
    A & D 8 2 6 25% 75%
    A & R 5 5 0 100% 0%
    B & D 5 1 4 20% 80%
    D & R 2 2 0 100% 0%
    D & S 2 0 2 0% 100%
    A & B 3 2 1 67% 33%
    A & S 1 0 1 0% 100%
    Last edited by super_duper_guy; 06-22-2016 at 10:55 PM. Reason: Subscription

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Highlight Rows in a table with certain condition

    It is hard to make out where your data starts and ends, please upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    02-28-2007
    Posts
    9

    Re: Highlight Rows in a table with certain condition

    Thank you so much sir for the prompt response.
    Please find attached sample spreadsheet with comments inside on the requirement.

    Regards
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-31-2012
    Location
    Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Highlight Rows in a table with certain condition

    A B C D E F G
    2 Pair, Proposed, Won, Lost, Win %, Lost %
    3 B & R 4 3 1 75% 25%
    4 R & S 6 4 2 67% 33%
    5 B & S 6 2 4 33% 67%
    6 A & D 8 2 6 25% 75%
    7 A & R 5 5 0 100% 0%
    8 B & D 5 1 4 20% 80%
    9 D & R 2 2 0 100% 0%
    10 D & S 2 0 2 0% 100%
    11 A & B 3 2 1 67% 33%
    12 A & S 1 0 1 0% 100%

    Conditional formatting rules
    =$F3=MIN($F$3:$F$12)
    =$F3=MAX($F$2:$F$12)

  5. #5
    Registered User
    Join Date
    02-28-2007
    Posts
    9

    Re: Highlight Rows in a table with certain condition

    Thank you Tiger, I added these 2 conditional formats in the spreadsheet after selecting the range of cells in the table but somehow it is not highlighting any row.neither max nor min..Should I be doing something differently?

  6. #6
    Registered User
    Join Date
    10-31-2012
    Location
    Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Highlight Rows in a table with certain condition

    Or here is yours rec'd after other
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-28-2007
    Posts
    9

    Thumbs up Re: Highlight Rows in a table with certain condition

    It works great.Thank you so much Tiger for the help. This is highly appreciated.
    This group rocks

+ 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. highlight pivot table rows under condition
    By Goodstart14 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-26-2015, 12:20 AM
  2. Highlight rows in pivot table when change in dataset cells value
    By kuhin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2014, 10:49 AM
  3. Replies: 3
    Last Post: 04-01-2014, 03:14 PM
  4. Conditional Formatting - Highlight All Rows in Table with Errors in Cells
    By jgray in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2013, 03:34 PM
  5. Replies: 0
    Last Post: 10-15-2012, 01:58 PM
  6. Highlight rows with certain condition in some cells
    By SteveK in forum Excel General
    Replies: 2
    Last Post: 03-09-2006, 08:35 PM
  7. Need pivot table to automatically highlight subtotal rows
    By jim37055 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2005, 05: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