+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting of 5 cells

  1. #1
    Registered User
    Join Date
    02-25-2005
    Posts
    10

    Conditional formatting of 5 cells

    Is it possible to use conditional formatting to highlight cells 5,6,7,8,9 and 10 out of, say 20 cells?
    I am using
    =D5>=LARGE($D5:$W5,10)
    for highliting when 10 cells are filled but I want to get highliting on the 5th cell to be filled to the 10th.
    There is not enough conditional formatting entries available to do all this, can it be done by changing the formula above?
    Thanks
    Jeff

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following...

    =(D5>=LARGE($D5:$W5,10))*(D5<=LARGE($D5:$W5,5))

    Hope this helps!

    Quote Originally Posted by Jeff Manning
    Is it possible to use conditional formatting to highlight cells 5,6,7,8,9 and 10 out of, say 20 cells?
    I am using
    =D5>=LARGE($D5:$W5,10)
    for highliting when 10 cells are filled but I want to get highliting on the 5th cell to be filled to the 10th.
    There is not enough conditional formatting entries available to do all this, can it be done by changing the formula above?
    Thanks
    Jeff

  3. #3
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Try the following instead...

    1) Select your data

    2) Format > Conditional Formatting > Formula Is

    3) Enter the following formula:

    =(D5<>"")*(COUNT($D5:$W5)>=5)*(D5>=LARGE($D5:$W5,MIN(10,COUNT($D5:$W5))))

    4) Choose your formatting

    5) Click OK

    Hope this helps!

    Quote Originally Posted by Domenic
    Try the following...

    =(D5>=LARGE($D5:$W5,10))*(D5<=LARGE($D5:$W5,5))

    Hope this helps!

  4. #4
    Registered User
    Join Date
    02-25-2005
    Posts
    10
    That formula worked just great Domenic, thanks for your help with these problems I have been having - you have saved me a lot of head scratching time (I still would not have got there by myself though, but I am learning as I go along)!
    Best regards
    Jeff

+ 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