+ Reply to Thread
Results 1 to 7 of 7

In conditional formatting, how do I highlight cells that with some specific symbols?

  1. #1
    Registered User
    Join Date
    06-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    In conditional formatting, how do I highlight cells that with some specific symbols?

    Hi,

    For some special customer, we will put a symbol in front of the customer name for some meanings. Usually it is # and $.
    1.jpg

    May I know how can I let the Excel highlight the cells that contain "#" and "$"? I tried to go to "Text than contains", but cannot enter 2 symbols; and tried to used formula but still could not find the correct formula to be used.
    2.jpg

    Thank you.

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

    Re: In conditional formatting, how do I highlight cells that with some specific symbols?

    Select cell A1

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

    =(OR(LEFT(A1="#",A1="$")))

    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
    Registered User
    Join Date
    02-10-2015
    Location
    United Kingdom
    MS-Off Ver
    2010
    Posts
    25

    Re: In conditional formatting, how do I highlight cells that with some specific symbols?

    HI,

    You have to create 2 rules in condition formating. See picture.
    Attached Images Attached Images

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: In conditional formatting, how do I highlight cells that with some specific symbols?

    Use this.
    Add COUNTIF for other symbols.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Opposite than Special-K solution this will find symbols in any part of the text. Not only first.

  5. #5
    Registered User
    Join Date
    06-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    Re: In conditional formatting, how do I highlight cells that with some specific symbols?

    Quote Originally Posted by Special-K View Post
    Select cell A1

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

    =(OR(LEFT(A1="#",A1="$")))

    Format as required
    Use Format painter (paintbrush icon) to copy to other cells
    Hi Special-K,
    I tried to use this on A1, however not sure why it did not highlight the cell
    3.jpg

  6. #6
    Registered User
    Join Date
    06-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    Re: In conditional formatting, how do I highlight cells that with some specific symbols?

    Quote Originally Posted by stylemonk View Post
    HI,

    You have to create 2 rules in condition formating. See picture.
    Hi stylemonk,
    Now I just learnt that I can create 2 rules for the same range. Thank you.

  7. #7
    Registered User
    Join Date
    06-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    Re: In conditional formatting, how do I highlight cells that with some specific symbols?

    Quote Originally Posted by zbor View Post
    Use this.
    Add COUNTIF for other symbols.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Opposite than Special-K solution this will find symbols in any part of the text. Not only first.
    Hi zbor,
    Hmm. It works, though I dunno the function of countif. I will go and check more

+ 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 Formatting from a different sheet to highlight specific ranges
    By Bengymivec in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-24-2015, 11:29 AM
  3. Replies: 3
    Last Post: 02-26-2014, 12:10 AM
  4. Replies: 3
    Last Post: 08-02-2013, 12:43 PM
  5. [SOLVED] Conditional formatting, highlight multiple of a specific number
    By Mihail-Cosmin in forum Excel General
    Replies: 11
    Last Post: 03-21-2012, 12:16 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