+ Reply to Thread
Results 1 to 3 of 3

Highlighting a row that contains text other than one word

  1. #1
    Registered User
    Join Date
    04-25-2017
    Location
    NYC
    MS-Off Ver
    2013
    Posts
    14

    Highlighting a row that contains text other than one word

    Hi everyone, I'm trying to use conditional formatting to highlight (green) a row if a particular cell in that row:
    • contains any text at all

    Also, I'd like the row to highlight a different color (red) if a particular cell in that row:
    • is empty
    OR
    • contains the word "batch"

    Any idea how to do this? I've attached an example.

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Highlighting a row that contains text other than one word

    Your file and thread don't agree; do want blank/batch highlighted or not? and does text mean anything i.e. could be number?

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Highlighting a row that contains text other than one word

    Try this - note the order of the rules and the stop if True.

    The formula for the red condition is: =OR(ISBLANK(E2),ISNUMBER(FIND("BATCH",UPPER(E2))))
    Attached Images Attached Images
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Replies: 2
    Last Post: 06-20-2015, 06:11 AM
  2. Highlighting only certain text
    By tapsmiled in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-31-2014, 10:55 PM
  3. Highlighting a word or phrase
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2013, 11:11 PM
  4. Highlighting multiple words in MS-word and Excel 2007
    By dtk_excelforum in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2013, 08:10 AM
  5. Replies: 2
    Last Post: 02-06-2013, 12:13 AM
  6. Replies: 0
    Last Post: 02-05-2013, 07:51 AM
  7. Turn off highlighting Word for Mac 2011
    By riwiseuse in forum Word Formatting & General
    Replies: 3
    Last Post: 02-26-2012, 05:31 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