+ Reply to Thread
Results 1 to 5 of 5

Find Duplicates and add columns while shifting the cells up

  1. #1
    Forum Contributor
    Join Date
    08-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    163

    Question Find Duplicates and add columns while shifting the cells up

    I have a list of 3 columns with the following headings

    ID Quantity Info

    there is a long list of items
    I want the code to find any duplicate items based off the ID column.
    I then want the quantities to be added for the duplicate items from the quantity column.
    I want to then get rid of the duplicate lines so there is only one line for that item. the info column will be the same for the same item.

    a Pivot table will not work for this because i have many other codes acting on this data this is just one step in the process.

    any help with this would be awesome

    To simplify the code it doesnt have to delete the duplicate rows after adding the quantities. I'm sorting them after this so just deleting the contents of the cells will be enough. after i sort it, it will go to the bottom.

    thanks
    JD

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

    Re: Find Duplicates and add columns while shifting the cells up

    JD,
    Please attach a sample.

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Find Duplicates and add columns while shifting the cells up

    a sample file with also desired result would be appreciated
    If solved remember to mark Thread as solved

  4. #4
    Forum Contributor
    Join Date
    08-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Find Duplicates and add columns while shifting the cells up

    Attached is an example file with a small amount of data with the desired results also
    Attached Files Attached Files

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

    Re: Find Duplicates and add columns while shifting the cells up

    Output in new sheet
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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