+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting: Hightlight if any cell in a range contains specific text

  1. #1
    Registered User
    Join Date
    02-10-2020
    Location
    Oregon, USA
    MS-Off Ver
    2016
    Posts
    68

    Conditional Formatting: Hightlight if any cell in a range contains specific text

    I'm trying to hightlight M1 if any cell in range of D34:J42 contains "CTR" or "MTL".

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

    Re: Conditional Formatting: Hightlight if any cell in a range contains specific text

    Apply this in Conditional formatting of cell M1:
    Please Login or Register  to view this content.
    Quang PT

  3. #3
    Registered User
    Join Date
    02-10-2020
    Location
    Oregon, USA
    MS-Off Ver
    2016
    Posts
    68

    Re: Conditional Formatting: Hightlight if any cell in a range contains specific text

    Thank you bebo021999, works perfect

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional Formatting: Hightlight if any cell in a range contains specific text

    another way

    select the range you want to apply to (M1)
    go to Home tab -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =COUNTIF(D34:J42,"*CTR*")+COUNTIF(D34:J42,"*MTL*")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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 for Cell Containing Specific TEXT:
    By Grizraz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2019, 08:00 PM
  2. Replies: 6
    Last Post: 11-19-2018, 09:46 AM
  3. [SOLVED] Conditional Formatting if range matches a specific cell
    By liastar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2014, 08:51 AM
  4. Conditional Formatting for another cell containing specific text
    By dropanddrive03 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-27-2013, 03:01 AM
  5. Conditional Formatting on Specific Text within a Cell
    By leonfox1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2012, 01:38 PM
  6. [SOLVED] Hightlight Row That Contatins Specific Text
    By AlanF51MS in forum Excel General
    Replies: 4
    Last Post: 07-27-2012, 09:02 PM
  7. Replies: 2
    Last Post: 10-28-2010, 02:18 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