+ Reply to Thread
Results 1 to 3 of 3

Count and Report on Duplicates

  1. #1
    Registered User
    Join Date
    02-09-2012
    Location
    NY USA
    MS-Off Ver
    Excel 2002 and Excel 2010
    Posts
    4

    Count and Report on Duplicates

    Hi,
    I have a spreadsheet with 2 columns in it. One contains a UPC code the other contains a qty, ex:

    UPC Qty
    093524100011 1

    I need to count and sum the number of duplicates in the UPC Column, ex:

    UPC QTY
    093524100011 1
    093524100011 1
    093524100011 1
    093524100011 1
    093524100023 6
    093524100023 1
    093524100023 1
    093524100023 1

    So I have:
    UPC Qty
    093524100011 4
    093524100023 9


    I actually found a macro in a post in here that works great but in the report it returns it strips out the leading 0 in the upc code:

    http://www.excelforum.com/excel-prog...o-formula.html

    Please Login or Register  to view this content.
    This works great because I need the report returned in another sheet because I then run a script to append data from one sheet to another. Is there anyway to modify this script to leave the leading 0 alone ion the report? I have to go in and format the UPC column to text before I scan data into it and that takes care of it there but the report still strips off the leading Zero's

    Thanks for any help!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Count and Report on Duplicates

    Try this amendment.

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    02-09-2012
    Location
    NY USA
    MS-Off Ver
    Excel 2002 and Excel 2010
    Posts
    4

    Re: Count and Report on Duplicates

    Thank you so very much. That seems to work perfectly!

    Thanks again. I really appreciate you taking time to help me.

+ 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