+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting for if another cell contains specific text

  1. #1
    Registered User
    Join Date
    10-04-2021
    Location
    Southeast Asia
    MS-Off Ver
    2019
    Posts
    1

    Conditional formatting for if another cell contains specific text

    Hi, everyone!

    I'm trying to set up a sheet where I want A3 to be highlighted if A4 contains "AM".

    Formulas I've tried in the "use a formula..." option:

    =SEARCH("AM",A4)
    =SEARCH("AM",$A4)
    =SEARCH("AM",$A$4)
    =ISNUMBER(SEARCH("AM",A4))

    I've been trying to follow guides, and straight up copy+pasting same formulas, but I'm always getting the "there's a problem with this formula" error.

    Hope someone can help me. Thank you!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Conditional formatting for if another cell contains specific text

    Please see the yellow banner at the top of the page.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Conditional formatting for if another cell contains specific text

    Hi, and welcome to the forum.

    No reason why =ISNUMBER(SEARCH("AM",A4)) won't work.

    Upload the workbook so we can check. without ISNUMBER =SEARCH("AM",A4)>0 will also work.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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: 3
    Last Post: 02-19-2020, 03:34 AM
  2. [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
  3. Replies: 6
    Last Post: 11-19-2018, 09:46 AM
  4. [SOLVED] Conditional Formatting to change text in cell if other cell contains specific letter
    By RichTea88 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 06:47 AM
  5. Replies: 3
    Last Post: 08-02-2013, 12:43 PM
  6. 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
  7. 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

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