+ Reply to Thread
Results 1 to 3 of 3

Highlighting cells based on them matching another list of values

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Glasgow
    MS-Off Ver
    Excel 2007
    Posts
    77

    Highlighting cells based on them matching another list of values

    Hi,

    I have a list of account numbers in one column, next to this column I have a number of units sold for that customer, this updates automatically and introduces new customers as units are sold.

    I have another list that is a list of account numbers that have been sent marketing information. I want to highlight in red the account numbers that have received the marketing letter while leaving others blank.

    Below is an example of this.


    Account Number Units Sold
    A0010 24
    A0020 69
    A0030 25
    A0040 12




    Marketing Letter Received By

    A0020
    A0030

    I would like to highlight accounts A0020 and A0030 in red....

    Any help would be appreciated

    Thanks

    David

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlighting cells based on them matching another list of values

    UNTESTED

    In conditional formatting rules in range a1:a100, put this formula.

    =COUNTIF($C$1:$C$100,$A1)>0

    c1:c100=Marketing Letter Received By
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Highlighting cells based on them matching another list of values

    Hi David,

    Try using below formula in conditional formatting :

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


    where H column has the accounts which received marketing letter.

    See attached:- conditional formatting.xlsx


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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