+ Reply to Thread
Results 1 to 8 of 8

Sum Duplicate values then delete duplicate rows

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Sum Duplicate values then delete duplicate rows

    I am working with a data set of over 10,000 rows. Each of the rows contains a store number and each store number has monthly costs and total annual cost for its columns. In the data set, some of the store numbers are repeated more than once and contain different costs. I would like to sum the rows of the duplicate store numbers together and then make it into one row and delete the others. Does anyone know what kind of formula I could input for this? I have been trying all sorts of sumifs/if statements but cannot think of anything. Have been trying to solve this for the last two days so any help at all would be greatly appreciated!

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sum Duplicate values then delete duplicate rows

    Hi Keekdapola,

    I believe a pivot table would be best here... after you are done with the pivot, you can copy paste values if you need to have data summed up without pivot.. upload a sample workbook and I can show you... thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    06-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Sum Duplicate values then delete duplicate rows

    If you could show me that'd be great. I'm not very experienced with pivot tables. Thanks!
    Attached Files Attached Files

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sum Duplicate values then delete duplicate rows

    Hi Keekdapolak,

    See the pivot in column G to J... thanks.

    exc.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  5. #5
    Registered User
    Join Date
    06-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Sum Duplicate values then delete duplicate rows

    Figured it out, Thank you so much dilipandey!!

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sum Duplicate values then delete duplicate rows

    You are welcome. Keekdapolak,

    cheers

    Request you to mark this thread as [SOLVED].. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  7. #7
    Registered User
    Join Date
    09-17-2012
    Location
    South Wales, UK
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: Sum Duplicate values then delete duplicate rows

    This has also helped me with something similar, so massive thanks from me too! Here, have a star!

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Sum Duplicate values then delete duplicate rows

    that's great.. !!

    and you are welcome essee... Cheers

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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