+ Reply to Thread
Results 1 to 4 of 4

how do I format a column to change color when another column has a specific word in it?

  1. #1
    Registered User
    Join Date
    10-23-2014
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    5

    how do I format a column to change color when another column has a specific word in it?

    I am not an Excel person, but I do have to use it a little for work. . Is there a way for me to format a column to be a highlighted color if another column of cells has a specific word entered into it? For example, I want any cell in column C to turn yellow if the word "high" is entered into any cell in column A.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: how do I format a column to change color when another column has a specific word in it

    Highlight column C by clicking on the column identifier at the top of the column, then click on Conditional Formatting | New Rule | Use a formula ..., and then enter this formula in in the dialogue box that pops up:

    =ISNUMBER(SEARCH("high",$A2))

    Click on the Format button, then the Fill tab and select yellow, then OK your way out. Excel will automatically adjust the cell references to suit the cells that you had highlighted, and turn cells in column C yellow if the corresponding cell in column A contains "high".

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-23-2014
    Location
    Colorado
    MS-Off Ver
    2010
    Posts
    5

    Re: how do I format a column to change color when another column has a specific word in it

    Thank you so much. This has been driving me mad.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: how do I format a column to change color when another column has a specific word in it

    Glad to be of help.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. [SOLVED] Find specific phrase in a column and change the row color and its border
    By kundterra in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-27-2014, 05:13 PM
  2. [SOLVED] Color Row If Cell In Column Contains Specific Word
    By awagenhurst in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2013, 09:45 AM
  3. Replies: 0
    Last Post: 05-16-2012, 03:03 AM
  4. [SOLVED] If change in one column using specific word, then copy row to another tab, repeat.
    By mastro78 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-18-2012, 12:16 PM
  5. Replies: 3
    Last Post: 03-05-2012, 11:03 AM

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