+ Reply to Thread
Results 1 to 2 of 2

Change text color of selected cells based on a text value of another cell

  1. #1
    Registered User
    Join Date
    08-17-2013
    Location
    South Carolina
    MS-Off Ver
    Excel 2016
    Posts
    19

    Change text color of selected cells based on a text value of another cell

    How can I change format (specifically the text color) of selected cells based on a text value of another cell.

    For example, below are a few cells. If it equal none then I want everything below it grayed out because it doesn't need to be displayed.

    NONE
    Hole : -
    Up : 0 ''
    Structure: -

    Any Ideas? I know how to gray out the "NONE" using conditional formatting but I can't seem to figure out how to execute the above.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Change text color of selected cells based on a text value of another cell

    Hi, welcome to the dorum

    You can do this with Conditional Formatting

    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter ="None" format text GREY
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Macro to change cell text color based on darkness of cell fill color
    By cincyshirm61 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2014, 12:11 PM
  2. [SOLVED] Change Tab color based on text in a cell
    By Gcorn38055 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-08-2013, 11:22 AM
  3. VBA to change font color of range of cells based on text not in another cell
    By tk31271 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2013, 09:36 AM
  4. change text color based on adjacent cell text color
    By matthewst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2005, 03:49 PM
  5. [SOLVED] How to code so cells or text automatically change color based on .
    By lisamariehewson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2005, 07:06 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