+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Based on Cell %

  1. #1
    Registered User
    Join Date
    05-17-2021
    Location
    USA
    MS-Off Ver
    Newest
    Posts
    2

    Conditional Formatting Based on Cell %

    I am clearly missing something so simply but spent all day googling trying to figure it out and cannot. What I am trying to do is format 3 cells based on the value (%) of another cell. This may include ranges as well. I figured out the first and last one below but its the three with ranges that just dont seem to work right.

    If Cell B39 is > 100% Highlight D34 through G34 Yellow - (I figured this one out easy)

    If Cell B39 is >=90% and <=100% Highlight D35 through G35 Yellow
    If Cell B39 is >=80% and <=89.99% highlight D36 through G36 Yellow
    If Cell B39 is >=70% and <=79.99% highlight D37 through G37 Yellow


    If Cell B39 is <69.99% highlight D38 through G38 Yellow. I figured this one out easy)

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditional Formatting Based on Cell %

    Applies To range is D35:G35
    =AND($B$39>=90%,$B$39<=100%)

    Applies To range is D36:G36
    =AND($B$39>=80%,$B$39<=89.99%) I wrote this just like you said but I would prefer to use <90%

    Applies To range is D37:G37
    =AND($B$39>=70%,$B$39<=79.99%) I wrote this just like you said but I would prefer to use <80%

    If you are still having problems, see the yellow banner at the top of the page and attach a sample file.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-17-2021
    Location
    USA
    MS-Off Ver
    Newest
    Posts
    2

    Re: Conditional Formatting Based on Cell %

    Thanks so much - that worked. I have no idea what I was doing wrong. Thats the idea I was using. Maybe an extra space or something small i missed.

    Thanks again!

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Conditional Formatting Based on Cell %

    If you showed what you tried I would be happy to explain why it didn't work.

+ 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: 2
    Last Post: 09-02-2018, 01:09 PM
  2. Conditional Formatting based on more than one cell.
    By pezz11 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2017, 11:10 AM
  3. Replies: 1
    Last Post: 10-04-2016, 05:17 AM
  4. i want to use conditional formatting based on another cell
    By Elainefish in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 09:41 AM
  5. Conditional Formatting via VBA: Change formatting in range based on value of each cell
    By ralphjmedia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 10:37 AM
  6. Conditional formatting based on cell value using VBA
    By Fullalove in forum Excel General
    Replies: 0
    Last Post: 06-21-2012, 01:53 PM
  7. Replies: 4
    Last Post: 01-06-2012, 05:07 PM

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