+ Reply to Thread
Results 1 to 6 of 6

Color duplicate values in a Column on Worksheet event

  1. #1
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    285

    Color duplicate values in a Column on Worksheet event

    HI, I have in Column "C" invoice# and I can have up to 15 cells with the same invoice#. I want to double click on a specific invoice# get it colored but also I want to color all cells containing the same invoice# in Column "C".

    Can someone help?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Color duplicate values in a Column on Worksheet event

    Perhaps:

    Please Login or Register  to view this content.
    *Assuming that row 1 is the only header row
    Last edited by xladept; 04-17-2020 at 01:42 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor
    Join Date
    05-10-2012
    Location
    Paris, France
    MS-Off Ver
    2016/365
    Posts
    123

    Re: Color duplicate values in a Column on Worksheet event

    Hi,

    A code who use FormatCondition (extremely fast)

    Please Login or Register  to view this content.
    Cordially

  4. #4
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    285

    Re: Color duplicate values in a Column on Worksheet event

    Thank you so much for the help! It worked

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Color duplicate values in a Column on Worksheet event

    You're welcome if you're thanking me

  6. #6
    Forum Contributor
    Join Date
    03-14-2015
    Location
    Mexico
    MS-Off Ver
    365
    Posts
    285

    Re: Color duplicate values in a Column on Worksheet event

    @xladept I am

+ 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. Replies: 1
    Last Post: 10-12-2018, 12:19 PM
  2. Highlight duplicate cell values in a row with different color code
    By picon1983 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-07-2017, 12:05 AM
  3. [SOLVED] Dont trigger code if -1 column of target column has already value Worksheet change event
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2017, 08:41 AM
  4. [SOLVED] Move rows with duplicate values in column J to next worksheet
    By theletterh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2013, 10:38 AM
  5. Cell color is not changing for duplicate values using VBA
    By kvramana82 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2013, 05:35 AM
  6. color with duplicate data in 3 worksheet
    By xtrmhyper in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2005, 03:23 AM
  7. [SOLVED] Worksheet Change event code moved to Worksheet Calculate event... and it's not working
    By KimberlyC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-23-2005, 06:05 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