+ Reply to Thread
Results 1 to 3 of 3

delete duplicate rows with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Chennai,India
    MS-Off Ver
    2007,2003
    Posts
    123

    delete duplicate rows with multiple criteria

    Dear All,

    I have a data set having multiple rows with same date and different time. The data set looks like follows:

    Date Time Spot Price
    5-Jan-11 6:55PM 108.85
    5-Jan-11 10:56AM 111.1
    6-Jan-11 6:56PM 110.8
    6-Jan-11 10:41AM 110.9
    7-Jan-11 10:13PM 108.85
    7-Jan-11 9:07PM 108.85
    7-Jan-11 6:51PM 108.85
    7-Jan-11 10:50AM 111.6


    I have to keep the row with highest value for each date and delete the rest of the data for other value for the same date ( I want to do it for getting lowest value as well). I want to add a vb mesage box asking " Do you want maximum or minimum value for the data set" and then if i want the data set with lowest value, i should get the data with lowest value.

    Expecting your help in this regard.

    With sincere regards,
    Upananda
    Attached Files Attached Files
    Upananda

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Re: delete duplicate rows with multiple criteria

    Hi,
    the "Similar Threads" panel below your post has a number of suggested threads that have the same style of problem. Take a look there for starters and then maybe post your workbook with your attempts at that stage.

    I can recall a few other questions with very similar requirements from other users so looking through the past threads may also help

    Jmac

  3. #3
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Chennai,India
    MS-Off Ver
    2007,2003
    Posts
    123

    Re: delete duplicate rows with multiple criteria

    Hi Jmac,

    I have checked the Similar Threads but sorry to say that none of them matches with my problem.

    Looking forward for any help in this regard
    Upananda

+ 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] How to delete duplicate records using criteria for multiple rows
    By Ardiko in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-31-2013, 04:39 AM
  2. sum multiple sheets and delete duplicate rows
    By Farida in forum Excel General
    Replies: 1
    Last Post: 06-05-2012, 01:14 PM
  3. Delete duplicate rows and keep data based on criteria
    By fdm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-26-2012, 09:38 AM
  4. Replies: 2
    Last Post: 01-13-2009, 01:42 PM
  5. How to use autofilter to delete duplicate rows (2nd criteria) ?
    By Mslady in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2005, 01:36 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