+ Reply to Thread
Results 1 to 3 of 3

Compare, Merge, Sum & Delete Duplicates

  1. #1
    Registered User
    Join Date
    12-01-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    18

    Smile Compare, Merge, Sum & Delete Duplicates

    I have the following data in Excel 2003:

    Time Price Vol Type
    8:58:19 2.77 5,000 Buy Up
    8:58:19 2.77 3,000 Buy Up
    9:00:00 2.76 10,000 Sell Down
    9:00:02 2.76 1,000 Sell Down
    9:00:02 2.76 1,000 Sell Down
    9:00:02 2.76 5,000 Sell Down
    9:01:11 2.75 3,000 Sell Down

    I would like to merge rows with same "Time" column AND "Type" column, and then add the "Vol" column values, so that the end result becomes the following:

    Time Price Vol Type
    8:58:19 2.77 8,000 Buy Up
    9:00:00 2.76 10,000 Sell Down
    9:00:02 2.76 7,000 Sell Down
    9:01:11 2.75 3,000 Sell Down

    Appreciate if someone can offer some advice.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Compare, Merge, Sum & Delete Duplicates

    Pl see the attached file.Macro attached.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Compare, Merge, Sum & Delete Duplicates

    hi, chancw, option, press "Start"
    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