+ Reply to Thread
Results 1 to 2 of 2

Merging duplicate records in a sheet

  1. #1
    Registered User
    Join Date
    08-21-2006
    Posts
    4

    Merging duplicate records in a sheet

    Hi all,

    I have a stock control spreadsheet, which I am using for a stock take.

    I am importing data from a handheld scanner into excel and using lookups to cross reference, which works great apart from one thing, when the same thing has been scanned more than once, it adds duplicate records. IE:

    Code Desc Q.
    102 Pen 1
    301 Pencil 3
    301 Pencil 4
    543 Ruler 2

    So what im looking for is some form of macro or code to go through the entire book and merge all the duplicates, adding the stock numbers so i would end up with this:

    Code Desc Q.
    102 Pen 1
    301 Pencil 7
    543 Ruler 2

    Is this possible in excel, or would it be easier to run something on the original output file, which is a comma and space seperated text file.

    Many thanks, any help much appreciated.
    Nick

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Nick

    Try this. Puts the output in the same sheet, starting in column E.

    Please Login or Register  to view this content.

    HTH

    rylo

+ 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