+ Reply to Thread
Results 1 to 6 of 6

How to remove duplicates & add up the quantity?

  1. #1
    Registered User
    Join Date
    05-29-2013
    Location
    NJ,USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    How to remove duplicates & add up the quantity?

    Hi all,
    New here need some help for my job please.

    Just need to remove all the duplicates in the column "Title".
    All quantity is = to 1.

    I would like to remove the duplicates from Title, and add up the quantity to another column if possible.
    any help would be great!!

    i am using excel 2010 by the way
    Attached Files Attached Files
    Last edited by musicF; 05-29-2013 at 12:04 PM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to remove duplicates & add up the quantity?

    Use Pivot Table

  3. #3
    Registered User
    Join Date
    05-29-2013
    Location
    NJ,USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to remove duplicates & add up the quantity?

    Quote Originally Posted by AB33 View Post
    Use Pivot Table
    no idea what that is.
    can you provide a link to download?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to remove duplicates & add up the quantity?

    A pivot table is one of Excel's built in capabilities. Try this;

    Select a cell within your table, i.e. A1
    On the ribbon, Insert Tab> Pivot Table (will be on the left)
    Excel will automatically determine your range. and will put the pivot table in a new sheet. Just hit "OK"

    From "Pivot Table Field List" grab "Title" and move it down to "Row Labels"
    Grab "Quantity" and move it down to SUM Values
    Close the Field list.
    Voila, you have a pivot table.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to remove duplicates & add up the quantity?

    Another way is using this formula in another column(let's say E). So in E2 and copy down.

    =LOOKUP(REPT("Z",5),CHOOSE({1\2},"",INDEX(A$2:A$2741,MATCH(TRUE,INDEX(ISNA(MATCH(A$2:A$2741,E$1:E1,0)),0),0),1)))

    Then in your other column use a SUMIF function to add the numbers

    =SUMIF($A$2:$A$3000;E2;$B$2:$B$3000) copy down.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    05-29-2013
    Location
    NJ,USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to remove duplicates & add up the quantity?

    Quote Originally Posted by ChemistB View Post
    A pivot table is one of Excel's built in capabilities. Try this;

    Select a cell within your table, i.e. A1
    On the ribbon, Insert Tab> Pivot Table (will be on the left)
    Excel will automatically determine your range. and will put the pivot table in a new sheet. Just hit "OK"

    From "Pivot Table Field List" grab "Title" and move it down to "Row Labels"
    Grab "Quantity" and move it down to SUM Values
    Close the Field list.
    Voila, you have a pivot table.
    Does that work for you?
    this worked perfectly.
    thanks!

+ 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