+ Reply to Thread
Results 1 to 9 of 9

Thread: [SOLVED]Calculate QTY for same products type.

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    [SOLVED]Calculate QTY for same products type.

    Hello, first I would like to apologize if the same issue topic is already in this forum, it's my first time in here.

    I'm trying to find out if I have an easier way to calculate the total quantities of the products for the same type.
    Example:

    Apples x 1
    Apples x 3
    Apples x 1
    Apples x 5
    Oranges x 1
    Oranges x 3
    Oranges x 7
    Bananas x 2
    Bananas x 4
    Bananas x 1
    Berrys x 2
    Berrys x 3
    Berrys x 6

    What I'm trying to find out is calculate the total qty of each fruit and delete the duplicate fruits. I could do auto sum but I have like 200 different products.

    Result:
    Apples 10
    Oranges 11
    Bananas 7
    Berrys 11

    Thank you in advice!
    Last edited by kyoTM; 01-09-2012 at 04:56 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    895

    Re: Calculate QTY for same products type.

    Hi first make the unique list of fruits (e.g. use remove duplicates) then use sumif function
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Registered User
    Join Date
    01-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculate QTY for same products type.

    If I use remove duplicates first, I will not know the range of the qty for each fruit, and I even if I knew the range, I can't because like I said before, I have 200 different products, like 200 different fruits for an example. Thank you anyway

  4. #4
    Valued Forum Contributor
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    895

    Re: Calculate QTY for same products type.

    I do not understand Your problem but maybe You can use pivot table then
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  5. #5
    Registered User
    Join Date
    01-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculate QTY for same products type.

    Sorry, I'm also not good at English too.

    Here is the Work Sheet. Maybe looking at the file, will be much easier to understand what I'm trying to find.

    CalculateQTY.xlsx

    You will see rows with the same product but different qty, I would like to calculate the total of qty for each specific product, removing duplicates rows.

    Thank you
    Last edited by kyoTM; 01-09-2012 at 04:25 PM.

  6. #6
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Calculate QTY for same products type.

    Hi

    Another way to do this is:

    1) Use SUMIF, to find the Quantities/item name

    2) COUNTIF, to find how many times/item name

    3)Auto filter to find any item number, you want.

    Hope to helps you.
    Attached Files Attached Files
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    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.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  7. #7
    Valued Forum Contributor
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    895

    Re: Calculate QTY for same products type.

    Hi
    In attachment your data in pivot table use Google and for sure You will find how to do this in your native language
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  8. #8
    Registered User
    Join Date
    01-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculate QTY for same products type.

    Thank you!! both of you guys, I'm so happy to finally have the right solution, I was so worry about this. Thank you so much!

  9. #9
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Calculate QTY for same products type.

    yOU ARE WELCOME.Glad to helped you.

    So pls, if you found your solution, mark your Thread, as SOLVED!
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    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.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

+ 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.2.0