+ Reply to Thread
Results 1 to 4 of 4

Apply conditional formatting to blank cell [based on value of another cell]

  1. #1
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2409
    Posts
    210

    Apply conditional formatting to blank cell [based on value of another cell]

    Hi,
    See attached simple mock up. I have a use case as follows:
    I would like to input either 1,2,3 into cells C2:C4 and it should change cells A2:A4 as follows:
    1 = Red
    2 = Amber
    3 = Green

    I have partly solved it but I have to input values 1,2,3 into cells A2:A4, instead of C2:C4, to apply conditional formatting.
    Is is possible to apply conditional formatting on blank cells.

    Thanks
    Attached Files Attached Files

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

    Re: Apply conditional formatting to blank cell

    You cannot use a three-color scale to format a cell based on the value of another cell. You will have to use three custom rules, one for each color.

    See attached.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Microsoft 365, Excel, Version 2409
    Posts
    210

    Re: Apply conditional formatting to blank cell

    That's clever - thanks for that.
    Today I Learned

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

    Re: Apply conditional formatting to blank cell [based on value of another cell]

    Thank you for marking your thread as "Solved".

    If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon addreputationiconsmall.jpg below their name.

+ 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. How to properly apply conditional formatting to a cell based on content
    By axtryo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2018, 09:10 AM
  2. Replies: 1
    Last Post: 10-04-2016, 05:17 AM
  3. Conditional formatting to apply only on the last non blank cell in a column
    By st_judeu@yahoo.com in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-28-2014, 02:53 AM
  4. Replies: 8
    Last Post: 05-07-2014, 04:57 AM
  5. [SOLVED] Add border & apply conditional formatting to sheets based on cell value
    By amar05 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2013, 11:02 AM
  6. Replies: 3
    Last Post: 04-30-2011, 11:46 PM
  7. Apply conditional formatting to a cell when it is left BLANK
    By researchrach in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2008, 10:59 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