+ Reply to Thread
Results 1 to 2 of 2

Need macro to remove duplicates from excel sheet after adding the contents

  1. #1
    Registered User
    Join Date
    04-09-2014
    Location
    pune
    MS-Off Ver
    Excel 2010
    Posts
    1

    Need macro to remove duplicates from excel sheet after adding the contents

    Hi

    I have excel sheet having duplicate values. I want it to sort it in such order that duplicate rows(oldest one) will get deleted and contents of the column assosciated with it should get added with the latest value.

    For ex: I have below data...

    Week# Incident# Start Date End Date Effort Status
    15 Im-1 4/9/2014 4/10/2014 3 WIP
    15 Im-2 4/9/2014 4/10/2014 4 Closed
    15 Im-3 4/9/2014 4/10/2014 5 Closed
    15 Im-4 4/9/2014 4/10/2014 6 Hold
    16 Im-1 4/14/2014 4/15/2014 6 Closed
    16 Im-4 4/14/2014 4/15/2014 7 Closed
    16 Im-5 4/14/2014 4/15/2014 3 WIP
    16 Im-6 4/14/2014 4/15/2014 2 WIP



    I need macro which shows result as below.

    Week# Incident# Start Date End Date Effort Status
    15 Im-1 4/9/2014 4/10/2014 3 WIP
    15 Im-2 4/9/2014 4/10/2014 4 Closed
    15 Im-3 4/9/2014 4/10/2014 5 Closed
    15 Im-4 4/9/2014 4/10/2014 6 Hold
    16 Im-1 4/14/2014 4/15/2014 6 Closed
    16 Im-4 4/14/2014 4/15/2014 7 Closed
    16 Im-5 4/14/2014 4/15/2014 3 WIP
    16 Im-6 4/14/2014 4/15/2014 2 WIP

    Week# Incident# Start Date End Date Effort Status
    15 Im-2 4/9/2014 4/10/2014 4 Closed
    15 Im-3 4/9/2014 4/10/2014 5 Closed
    16 Im-1 4/14/2014 4/15/2014 9 Closed
    16 Im-4 4/14/2014 4/15/2014 13 Closed
    16 Im-5 4/14/2014 4/15/2014 3 WIP
    16 Im-6 4/14/2014 4/15/2014 2 WIP


    Please help me out.

    Amruta
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-19-2014
    Location
    Melbourne
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Need macro to remove duplicates from excel sheet after adding the contents

    Could you please be more specific as to which column are you checking for duplicate values and which column are you adding the values in. It will be good if you can attach an Excel with input and required output.

+ 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. Automatically daily Adding or remove value from the excel sheet
    By Maher alsabe in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-15-2013, 05:18 AM
  2. Macro that would Copy/Paste to new sheet and remove duplicates
    By dani_n88 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-11-2012, 06:04 PM
  3. Replicate Remove Duplicates icon using a macro in Excel Mac 2011
    By Liesl123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2012, 09:13 AM
  4. Trying to run a macro to sort and remove duplicates from entire sheet
    By sgmiller in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2009, 10:24 AM
  5. Replies: 1
    Last Post: 07-01-2005, 10:57 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