+ Reply to Thread
Results 1 to 5 of 5

conditional format based on partial text value of another cell in same row

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    46

    conditional format based on partial text value of another cell in same row

    I have tried and can't seem to get this to work. I am trying to conditionally format the cells in columns U & X based on the partial text value of the cell in column B of the same row.

    For example, If B12 contains the text 10/15/15-mc T16, I want to change the fill and text color in U12 & X12 based on the partial text (*T16*) in B12.

    I have searched the forum and have tried a few different formulas that worked for others, but they do not seem to work for this case.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: conditional format based on partial text value of another cell in same row

    Try

    Select U1

    Conditional Formatting
    New Rule
    Use a formula to determine...

    =(ISNUMBER(SEARCH(B12,"T16"))=TRUE)

    Format as required
    Use Format painter (paintbrush icon) to copy to other cells
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: conditional format based on partial text value of another cell in same row

    Use this formula as condition format:

    =ISNUMBER(SEARCH("T16",B12))
    Quang PT

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: conditional format based on partial text value of another cell in same row

    @Special-K
    =(ISNUMBER(SEARCH(B12,"T16"))=TRUE)
    Ha ha, not checked yet for sure. Also "=TRUE" is not needed.

  5. #5
    Registered User
    Join Date
    12-17-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: conditional format based on partial text value of another cell in same row

    Special-K; Thanks much, that got me on the right track.
    bebo021999; Thanks to you as well, the switching of the formula criteria did the trick

    Working great

    Solved

+ 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] Conditional Formatting based on partial/specific text to highlight entire row
    By bizdevdfw in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-18-2016, 04:32 PM
  2. Conditional Format to Add List of Text Based Upon Cell Contents
    By mkedyr1969 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2015, 11:58 AM
  3. [SOLVED] Partial conditional formatting based on the colour of a cell
    By ello2001 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2014, 08:17 AM
  4. Replies: 2
    Last Post: 07-28-2013, 03:28 PM
  5. [SOLVED] Conditional formating based on text in 2 columns (but only partial text!)
    By Icehockey44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-19-2012, 06:26 AM
  6. conditional format based on sum of value assigned to partial text field
    By rshiley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-19-2010, 06:44 PM
  7. Deleting rows based upon partial cell text
    By mjwillyone in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2008, 10:29 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