+ Reply to Thread
Results 1 to 2 of 2

Highlight duplicates different colors based on how many times the duplicate appears

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Highlight duplicates different colors based on how many times the duplicate appears

    I have a column with dates in it, the A column.

    I would like to create a script that will highlight all dates duplicated in the row, but shade them a different color based on how many times they appear.

    For example if a date is not duplicated, it would have "no fill"

    If a date is duplicated once, it would have interior color RGB(0, 255, 0) for all of it's duplicates

    If a date appears three times, it would have interior color RGB(0, 200, 0) for all of it's duplicates

    If a date appears four times it would have interior color RGB(0, 180, 0) for all of it's duplicates

    If a date appears five times or more times it would have interior color RGB(0, 150, 0) for all of it's duplicates

    (I'm not actually using those colors, but just inserted them for the example, I will change them later. Basically I need four different tiers of colors depending on how frequently a date is duplicated)

    Thanks!

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Highlight duplicates different colors based on how many times the duplicate appears

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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 Duplicates with different colors
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2014, 07:46 AM
  2. finding how many times a duplicate appears across multiple worksheets
    By hmm321 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-09-2014, 02:00 AM
  3. [SOLVED] highlight when specific text appears multiple times in a range of cells - excel 2013
    By Onefynebarraza in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 10-14-2013, 09:06 AM
  4. Using different colors to highlight duplicate values
    By mbonin in forum Excel General
    Replies: 3
    Last Post: 09-17-2013, 03:01 PM
  5. [SOLVED] Highlight duplicate numbers with different colors in two columns
    By 17_types in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-28-2013, 04:05 AM
  6. [SOLVED] How to highlight (not count) a word that appears in an Excel Worksheet multiple times
    By rmason in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-01-2012, 08:43 AM
  7. Highlight Duplicate Cells in Different Colors
    By dbla921 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-11-2008, 04:43 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