+ Reply to Thread
Results 1 to 4 of 4

adjusting for quantity

  1. #1
    Registered User
    Join Date
    08-09-2013
    Location
    US, United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    adjusting for quantity

    I have a table that lists part numbers in column c, and the quantity of that part number in column b. I would like a way, preferably with a pivot table, to know the total of Part A, and account for the quantity listed in column b. In other words, I don't want to know how many times Part A is listed, I want to know the total number of Part A's that I have in my list.

    Col B Col C
    QTY: Part#
    15 Part A
    30 Part A
    -------------------
    =there are 45 of part A, not 2 in your table.

    How do I arrange my pivot table so it gives me the right count? I keep getting a count of 2...

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: adjusting for quantity

    Hi and welcome to the forum

    2 ways...
    click on the table and select sum instead of count

    skip the PT and use a sumif()
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-09-2013
    Location
    US, United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: adjusting for quantity

    how do I use the sumif() function? I'm not familiar with that one.

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: adjusting for quantity

    =SUMIF(C2:C9,"part A",B2:B9)
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

+ 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. Replies: 4
    Last Post: 10-18-2012, 12:56 PM
  2. Specified quantity of a value then increasing by one
    By chrisn42 in forum Excel General
    Replies: 1
    Last Post: 07-25-2012, 01:04 PM
  3. Merging the quantity
    By mubeenff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2011, 04:26 AM
  4. Divide monthly Quantity into Weekly quantity ...
    By jitendra.mistry in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2010, 01:36 PM
  5. Replies: 5
    Last Post: 11-23-2009, 06:24 PM

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