+ Reply to Thread
Results 1 to 4 of 4

Conditional format for duplicate values based on criteria in a different cell

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    Long Beach
    MS-Off Ver
    Excel 2007
    Posts
    14

    Conditional format for duplicate values based on criteria in a different cell

    I would like to highlight all the duplicate cells under Invoice column only if the Track column has a highlighted red cell because of the "Retro" description. I have attached a sample. I'm sure it's a formula to use under conditional formatting, but I do not know how to write out a formula based on this criteria.
    Attached Files Attached Files
    Last edited by excelheaven; 10-04-2012 at 11:35 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Conditional format for duplicate values based on criteria in a different cell

    Hi

    Highlight the range C2:C15, conditional formatting, new rule, with formula
    =ISNUMBER(MATCH(C2,IF(ISNUMBER(SEARCH("RETRO",$G$2:$G$15)),$C$2:$C$15,""),0))

    Select your format and save.

    HTH

    rylo

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,136

    Re: Conditional format for duplicate values based on criteria in a different cell

    hi excelheaven, highlight C2:C15 & go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =AND(COUNTIF($C$2:$C$15,$C2)>1,ISNUMBER(SEARCH("retro",$G2)))

    is that what you want?

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    Long Beach
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Conditional format for duplicate values based on criteria in a different cell

    That did it rylo! Thanks so much... you made me an office hero

+ 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