+ Reply to Thread
Results 1 to 3 of 3

vba code to find Duplicate Values and Newest date(Max) date in the Corresponding Column(ce

  1. #1
    Registered User
    Join Date
    09-08-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    2

    vba code to find Duplicate Values and Newest date(Max) date in the Corresponding Column(ce

    Friends i'm Creating Macro for "Locating Duplicate values in a Column n new date(Max date in Corresponding column)....i'm not Getting Logic for that pls Help me in the Coding...

    i Data is like this

    x y Result
    3 8/6/2013 8/6/2013
    3 8/5/2013
    3 8/4/2013
    2 9/3/2013 9/2/2013
    2 9/2/2013
    2 9/1/2013
    1 9/6/2013 9/6/2013
    1 9/3/2013
    1 9/2/2013
    i tried this by sorting..its Working Better for Small Data..but not for Large... Even i Want to Reduce the code Length..
    Here is My code...

    Please Login or Register  to view this content.
    Last edited by Pradu; 09-10-2013 at 05:25 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: vba code to find Duplicate Values and Newest date(Max) date in the Corresponding Colum

    no need for such complicated macro no need for sorting etc
    get uniuq values in x below the data and loop through the uniuq x values and use mim if formula

    see below my macro

    Please Login or Register  to view this content.
    I am not an expert. better solutions may be available
    [email protected]

  3. #3
    Registered User
    Join Date
    09-08-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: vba code to find Duplicate Values and Newest date(Max) date in the Corresponding Colum

    Hi Venkat,
    Thanks for the Solutions, its Working Fine for My data and thanks for Ur Code n Valuable time...

+ 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. Hi Guys
    By xllbenllx in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-16-2013, 08:00 PM
  2. Hi Guys
    By blueorange in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 01-04-2013, 12:04 PM
  3. Hi Guys
    By blueorange in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-28-2012, 12:51 AM
  4. Hi Guys
    By ray_78 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-18-2012, 07:58 PM
  5. Hi Guys,
    By jaganr10 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-18-2012, 07:45 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