+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting - Highlight the Top 2 values

  1. #1
    Registered User
    Join Date
    01-02-2012
    Location
    Dorset, England
    MS-Off Ver
    Excel 2007
    Posts
    24

    Conditional Formatting - Highlight the Top 2 values

    Hi all,

    If anyone can help me I would very much appreciate it.

    All I want is for the top 2 values in a range to be highlighted in different colours. I can make it so the top 2 are highlighted, but only in the same colour.

    See this attachment for an example, If anyone can make my attachment work I would hail you as a king amongst mere men.

    ConditionalFormatting.xlsx

    Many thanks,

    Adam
    Last edited by HeebieGeebie; 01-17-2012 at 08:06 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Conditional Formatting - Highlight the Top 2 values

    Adam

    Highlight the range D3:D10, then conditional formatting, new Rule, Use formula, =D3=LARGE($D$3:$D$10,2), then bring in the green fill, new rule, use formula, =D3=LARGE($D$3:$D$10,1), and apply / keep.

    If you remove the pattern from D9 and D10, you should find that the conditional formatting applies.

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    01-02-2012
    Location
    Dorset, England
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: Conditional Formatting - Highlight the Top 2 values

    rylo you're incredible. Works like a dream. Many thanks.

    Adam

+ 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