+ Reply to Thread
Results 1 to 6 of 6

How can I get a sum total of total dulplicates for each item in a row?

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    USA
    Posts
    3

    How can I get a sum total of total dulplicates for each item in a row?

    I have list of items in Column A. Some of the items have duplicates. I know that I can get a unique list of items with duplicates removed by using

    Tools->Filter->Advanced Filter

    Check the "Copy to another location"
    Choose Column A as "List Range"
    Choose Column B as "Copy to"
    Then check "Unique records only"

    This gives me everything in column A minus the duplicates.

    What I need is a sum total of each item.

    For example:

    Item
    9990053651
    9990053651
    9990053654
    9990053654
    9990053654
    9990053654
    9990053654
    9990053654
    9990053654
    9990053659

    I need something like

    Item Total
    9990053651 2
    9990053654 7
    9990053659 1

    Whats the best way to do this?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Pivot Tables
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-14-2008
    Location
    USA
    Posts
    3
    Quote Originally Posted by NBVC View Post
    Pivot Tables
    I just need a list with column a with the item#s and column b with the total of each item#.

    Using a Pivot Table, I need to select each item separately to see the total. Unless I am doing something wrong.

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626

    See the attachment

    I think this is what you need
    Attached Files Attached Files
    I need your support to add reputations if my solution works.


  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by excelworm View Post
    I just need a list with column a with the item#s and column b with the total of each item#.

    Using a Pivot Table, I need to select each item separately to see the total. Unless I am doing something wrong.

    See attached for a simple Pivot Table that does exactly what you need.

    How I did it:

    1. Select Range A1:A11
    2. Go to Data|Pivot Table and Pivot Chart Report
    3. Click Next
    4. Make sure correct range is selected in Where is data field
    5. Click Next
    6. Select where you want the pivot table to go
    7. Click Layout
    8. Drag "Item" to Row area and drag it again to Data area.
    9. Click Ok.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-14-2008
    Location
    USA
    Posts
    3
    Thanks! Thats what I needed

    Now I need to make a macro that does this automatically

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Merging data using unique column identifier?
    By jjinca in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 05-14-2013, 07:55 AM
  2. How to caculate total amount of an item type from a list?
    By MsMiraRaven in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-08-2008, 12:45 PM
  3. dropdown lists
    By szermat in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-16-2007, 05:08 AM
  4. Writing a program with changing variables. . .
    By salex in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2007, 03:32 PM
  5. Replies: 16
    Last Post: 03-27-2007, 02:14 AM

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