+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting based on a word in a cell

  1. #1
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    Question Conditional formatting based on a word in a cell

    I need to highlight a cell if it contains a key word when the cell contains other words as well.

    For example, the cell may contain "(SPECIFICATION) BLOCK DECK HEIGHT"
    If the word "SPECIFICATION" appears anywhere in the cell, I need to highlight the entire cell a different color.

    Aside from using VBA, is there a way to do this? Thanks.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,440

    Re: Conditional formatting based on a word in a cell

    Hi,

    Use something like this as your formula for conditional formatting

    =ISNUMBER(FIND("SPECIFICATION",A1))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    07-28-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Conditional formatting based on a word in a cell

    Go to Conditional formatting.
    In "Select Rule Type pane" select "Format only cells that contain".
    Then in Edit Rule Description in a drop down menu containing "Cell value" select item "Specific text". In a text field enter desired word, then change format and you should be done.

+ 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. 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
  2. [SOLVED] Need help with conditional formatting if other cell contains a word
    By JackBauer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-29-2012, 01:41 PM
  3. Replies: 1
    Last Post: 08-17-2012, 08:16 PM
  4. Replies: 4
    Last Post: 01-06-2012, 05:07 PM
  5. Conditional Formatting based on value of last cell
    By Bret in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2008, 12:44 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