+ Reply to Thread
Results 1 to 6 of 6

Remove duplicates and display only cell values which are equal or morethan today's date

  1. #1
    Registered User
    Join Date
    12-19-2015
    Location
    Hyderabad, India
    MS-Off Ver
    2007
    Posts
    16

    Remove duplicates and display only cell values which are equal or morethan today's date

    Hi

    I have a macro which removes duplicates (please see below)

    Please Login or Register  to view this content.
    However, after removing duplicates, macro to should identify and display only values(dates) which are equal or greater than today and sort the values(dates).
    For more clarity please look at the below example.



    Example.

    Lets say, we have following values(dates) in Column-A
    12/1/2015
    12/5/2015
    12/21/2015
    12/23/2015
    12/5/2015
    12/3/2015
    12/10/2015
    12/1/2015
    12/10/2015
    12/6/2015

    Say, today's date is 12/6/2015

    after running the macro, the result should be displayed in B-Column like shown below
    12/6/2015
    12/10/2015
    12/21/2015
    12/23/2015


    Any help is appreciated.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Remove duplicates and display only cell values which are equal or morethan today's dat

    See if this will work
    Please Login or Register  to view this content.
    Last edited by JLGWhiz; 12-27-2015 at 10:38 AM.

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Remove duplicates and display only cell values which are equal or morethan today's dat

    you can try Advance filter too..

    2015-12-27_20-12-36.png
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Registered User
    Join Date
    12-19-2015
    Location
    Hyderabad, India
    MS-Off Ver
    2007
    Posts
    16

    Re: Remove duplicates and display only cell values which are equal or morethan today's dat

    Quote Originally Posted by JLGWhiz View Post
    See if this will work
    Please Login or Register  to view this content.
    Thank you JLGWhiz.

  5. #5
    Registered User
    Join Date
    12-19-2015
    Location
    Hyderabad, India
    MS-Off Ver
    2007
    Posts
    16

    Re: Remove duplicates and display only cell values which are equal or morethan today's dat

    Quote Originally Posted by Debraj Roy View Post
    you can try Advance filter too..

    Attachment 437249
    Thank you Roy

  6. #6
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Remove duplicates and display only cell values which are equal or morethan today's dat

    Quote Originally Posted by Madhut View Post
    Thank you JLGWhiz.
    You are welcome,
    Regards, JLG

+ 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] Unlock only if column date is equal to today's date +/- 2 days
    By Cobelatte in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-22-2015, 01:30 PM
  2. Replies: 2
    Last Post: 05-26-2015, 10:36 AM
  3. Looking to display data in a cell, only if today's date is 7 days past a cell's date
    By mbenderpetassure in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2015, 01:57 PM
  4. [SOLVED] Can I make a cell display something if any date in a row is before today?
    By Deathwing in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-10-2014, 04:46 PM
  5. how to remove duplicates if two rows and two columns are equal
    By amethystfeb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2014, 06:30 AM
  6. condit. format: If date in cell = today, display "Today"
    By ratkins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2013, 01:33 PM
  7. Remove Dates less than or equal to 30 days from Today’s Date
    By EJensen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-16-2009, 05:55 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