+ Reply to Thread
Results 1 to 5 of 5

Sumif and Delete duplicate Rows (VBA CODE)

  1. #1
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    241

    Sumif and Delete duplicate Rows (VBA CODE)

    Looking for VBA code to sum column E in a sheet named C5972 for matches in column C and delete any duplicate rows.

    See attached sample.


    I appreciate any help.

    Thanks,

    Met
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Sumif and Delete duplicate Rows (VBA CODE)

    Have you considered pivot table?
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    241

    Re: Sumif and Delete duplicate Rows (VBA CODE)

    I my case a pivot table is not viable.

    Thanks,

    Met

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Sumif and Delete duplicate Rows (VBA CODE)

    Try the attached.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-16-2006
    Posts
    241

    Re: Sumif and Delete duplicate Rows (VBA CODE)

    AB33:

    Thanks for the response. I was able to modify your code to better fit my needs and it worked great.

    Thanks,

    Met

+ 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] VBA code to search multiple columns and delete any duplicate cells (not rows)
    By philmurp in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 06-16-2014, 03:27 PM
  2. [SOLVED] Delete rows based on duplicate cell, but leaving first and last duplicate.
    By LadyNicole in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-28-2013, 05:07 AM
  3. VBA helps needed to Sum duplicate values and delete duplicate rows
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2013, 11:40 PM
  4. Replies: 5
    Last Post: 11-12-2012, 08:38 PM
  5. [SOLVED] VBA code to delete duplicate rows based on multiple conditions
    By pjsween in forum Excel General
    Replies: 5
    Last Post: 06-27-2012, 01:15 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