+ Reply to Thread
Results 1 to 5 of 5

Highlight cells containing one of many values

  1. #1
    Registered User
    Join Date
    02-26-2016
    Location
    US
    MS-Off Ver
    2015
    Posts
    3

    Highlight cells containing one of many values

    Hello,

    I have been tearing my hair out trying to figure out this basic formula (or so i thought...)
    I am trying to make an excel sheet that will make managing my craigslist postings easier.

    Column E contains the CL post title which has the stock number at the end of it. I am trying to search and highlight every title that contains a stock number found from column A. I have tried selecting column E and applying conditional formatting based on the formula =sum(A2:A250) but this just highlights every title that contains numbers. I know this is probably a simple formula, but my excel skills are very limited. ANY help would be GREATLY appreciated!!
    excel.png
    Attached Files Attached Files
    Last edited by mmarti91; 02-26-2016 at 09:46 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Highlight cells containing one of many values

    Conditional formatting is the way to go. Please upload a small sample workbook and I can work that out for you.


    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-26-2016
    Location
    US
    MS-Off Ver
    2015
    Posts
    3

    Re: Highlight cells containing one of many values

    When I click on the paperclip, a small blank window shows up and nothing else. Thought it was my browser (firefox) so I tried Chrome and same thing. I uploaded the actual file to the original post. Thanks for your help, I really appreciate it!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Highlight cells containing one of many values

    The conditional formatting formula would be:

    =OR(ISNUMBER(SEARCH(UPPER($A$2:$A$86), UPPER($E2))))

  5. #5
    Registered User
    Join Date
    02-26-2016
    Location
    US
    MS-Off Ver
    2015
    Posts
    3

    Re: Highlight cells containing one of many values

    Can't thank you enough!! Worked like a charm.

+ 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] Highlight cells with particular values
    By mandura in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-20-2015, 03:18 AM
  2. Highlight Cells based on its values
    By VKu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2015, 05:48 AM
  3. Highlight all cells in a column based on values in two different cells
    By lbrasfield in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2014, 06:26 AM
  4. Replies: 1
    Last Post: 12-13-2013, 10:28 PM
  5. [SOLVED] compare values in two cells, highlight when there is no match.
    By frhling in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 01-03-2013, 09:29 AM
  6. Replies: 0
    Last Post: 10-12-2012, 01:08 PM
  7. Highlight rows if cells contain specific values
    By mattmac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-24-2008, 05:53 AM

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