+ Reply to Thread
Results 1 to 3 of 3

conditional formatting gray out cells greater than a value

  1. #1
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    conditional formatting gray out cells greater than a value

    I'm looking to gray out specific cells based on an adjacent cell value.

    see attached example, i'll explain below too.

    Column B3 = 6

    I have 2 groups of 24 columns G:AD & AF:BC
    each column has a # (1-24) in row 2

    so i'm looking to gray out the cells that are greater than the # in column B.

    B3 = 6

    would gray out cells M3:AD3 (#'s 7-24) & cells AL3:BC3 (#'s 7-24)

    see image below too. i manually grayed out the cell to what they should look like based on the value in column B

    Capture.PNG
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: conditional formatting gray out cells greater than a value

    hi there. i saw your previous question too and wanted to ask you to illustrate your desired answers. it got answered pretty quickly and i did not reply. you did it though in this eg by manually highlighting.

    select the range you want to apply to (say from G3:AD101)
    go to Home tab -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =AND(G$2>$B3,$B3<>"")
    format a fill

    do the same for the 2nd group

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    Re: conditional formatting gray out cells greater than a value

    Thanks benishiryo! That worked perfect!

    Going forward I'll provide the illustrations.

+ 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: 4
    Last Post: 02-11-2017, 02:15 AM
  2. [SOLVED] Conditional Formatting when difference between 2 cells is greater than 5%
    By ebburtis in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-02-2016, 11:24 AM
  3. [SOLVED] Conditional Formatting - The Greater of 2 Cells = Green
    By ThanksAlot in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-17-2015, 08:05 PM
  4. Replies: 5
    Last Post: 07-13-2013, 04:07 PM
  5. [SOLVED] Conditional formatting: gray out planning bars
    By ExcelStefan in forum Excel General
    Replies: 1
    Last Post: 08-28-2012, 02:12 AM
  6. Conditional Formatting Greater than surrounding Cells
    By tmiller in forum Excel General
    Replies: 1
    Last Post: 03-30-2007, 12:15 PM
  7. Conditional formatting for the greater of 7 cells
    By guest123 in forum Excel General
    Replies: 8
    Last Post: 01-15-2007, 01:39 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