+ Reply to Thread
Results 1 to 4 of 4

Highlighting duplicates based on the date it's under.

  1. #1
    Registered User
    Join Date
    07-29-2016
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    79

    Highlighting duplicates based on the date it's under.

    Hello

    How do we highlight a duplicate based on the date it is under? The file attached has two columns, file number and date. How do we instruct excel to only highlight the 1st instance of the duplicate number within the date it is ranged so even if the same number appears the next day it will not get highlighted.

    So for instance, 982060 appears twice A2 and A3 on Feb. 11 so it get's highlighted once but it will not be highlighted anymore even if it is on A7 because it is under different date.

    Thank you!~
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Highlighting duplicates based on the date it's under.

    dont understand what difference the date part makes
    you only want to highlight 1st duplicate
    =AND(COUNTIF($A$1:A1,A1)=1,COUNTIF($A$1:$A$1000,A1)>1)
    change A1000 to suite your range

    on the sheet you have not shown the result required
    otherwise can you explain the date part
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    07-29-2016
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    79

    Re: Highlighting duplicates based on the date it's under.

    Hello Etaf,

    Thank you for attending to the query. The date part is what I would like to act as the modifier. For instance the number 982060 appears 3 times on the file under cells A2, A3 and A7. Since A2 and A3 are both under the date of 11/02/2019, it will only get highlighted once. A7 will not be highlighted even if it is also the duplicate of 982060 since it falls on a different day. But if let's say A8 is also 982060, one of it will get highlighted since on 12/02/2019 there are also 2 "982606"

    Basically, I'm trying to find out the count of unique file numbers per day, should the same number appear but falls on the next day and has no duplicate within that next day, should not be highlighted.

    I'm sorry I feel that I'm not explaining it very clearly..
    Last edited by mutzie; 02-11-2019 at 12:21 AM.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Highlighting duplicates based on the date it's under.

    i dont think I understand
    can you show various examples of the required output on the sheet and if necessary explain why highlighted

    at the moment , I still dont see what difference the date makes]
    lets say A2, A3, A7 as is - but an A8 of 982060 on the 12th

    so we have 982060 on the sheet 4 times , starting in A2 - A2 gets highlighted
    A2 & A3 are for 11th
    A7 & A8 are for 12th
    A3, A7 & A8 are not highlighted

+ 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. Highlighting row based on the date
    By mamuka12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2013, 02:22 PM
  2. [SOLVED] Highlighting a cell based on formula with a date
    By Dena in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2013, 08:42 PM
  3. [SOLVED] How Do I Write a Macro for Highlighting Rows Based on Date Criteria
    By TMack in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-21-2013, 11:15 AM
  4. Highlighting values based on name and date
    By apex_chio in forum Excel General
    Replies: 2
    Last Post: 02-20-2013, 01:21 AM
  5. Replies: 6
    Last Post: 02-16-2013, 07:29 AM
  6. Highlighting a row based on todays date
    By jez1890 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2012, 05:12 AM
  7. Highlighting duplicates based on how many times they're duplicated
    By aking in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 08-19-2012, 08:41 AM
  8. Highlighting cells based on today's date
    By peteynub in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2008, 10:20 AM

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