+ Reply to Thread
Results 1 to 7 of 7

Conditional formatting those that match a list.

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-01-2010
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    303

    Conditional formatting those that match a list.

    Thanks for looking at my problem,

    As a quick example i could have a list of all UK towns, and then a sublist of uk towns in the same spreadsheet. I want to be able to identify the sublist by conditional formatting.

    My question is how do i identify these using the conditional formatting by formula. (the list is extensive enough that i would want to select them all at once. I believe this should simply be a task of pointing me in the direction of the correct function.

    Thanks for the help

    Alan

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Conditional formatting those that match a list.

    You could use ISNUMBER(MATCH()) or COUNTIF() for the CF formula.
    Provide more details for more specific solution

  3. #3
    Forum Contributor
    Join Date
    12-01-2010
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    303

    Re: Conditional formatting those that match a list.

    A quick example.
    Attached Files Attached Files

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Conditional formatting those that match a list.

    Select A4:A19
    Open CF and choose the Formula Option for the new rule
    Use this formula: =ISNUMBER(MATCH(A4,D$4:D$7,0)) or =COUNTIF(D$4:D$7,A4)
    Choose your formatting

    Actually you could just use: =MATCH(A4,D$4:D$7,0)
    Last edited by Cutter; 06-06-2012 at 06:45 AM.

  5. #5
    Forum Contributor
    Join Date
    12-01-2010
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    303

    Re: Conditional formatting those that match a list.

    Cheers cutter, ill try one of these.

  6. #6
    Forum Contributor
    Join Date
    12-01-2010
    Location
    Southampton, England
    MS-Off Ver
    Excel 2007
    Posts
    303

    Re: Conditional formatting those that match a list.

    Worked" cheers cutter rep added!

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Conditional formatting those that match a list.

    You're welcome. Thanks for the 'star tap'.

+ 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