+ Reply to Thread
Results 1 to 5 of 5

Tallying up a quantity based on a part number

  1. #1
    Registered User
    Join Date
    07-27-2007
    Posts
    19

    Tallying up a quantity based on a part number

    I have 2 pages on my spreadsheet. The first is a "Totals" page and the other page is the breakdown of all the parts, prices, quantities, etc. I would like for a cell on the first page to be able to calculate the quantities of parts from the second page.

    So it might look like this:

    Column A Column B

    ABC123 58
    ABC234 64
    ABC234 69
    ABC123 102

    So, I want it to lookup all the "ABC123" parts in Column A and add the quantities listed in Column B associated with that part #. Any suggestions?
    Last edited by halvy52; 08-16-2011 at 04:41 PM.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Tallying up a quantity based on a part number

    Your formula will look like the following:

    Please Login or Register  to view this content.
    Of course, modify the range to meet your data. And you can also search for data as a cell reference. For example, if ABC123 is entered in Cell D3, your formula can look like:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-27-2007
    Posts
    19

    Re: Tallying up a quantity based on a part number

    Will this formula also add the quantities from Column B?

    So it sees 2 cells listed as "ABC123" so it needs to add up the 2 quantities associated with them in Column B.

  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127

    Re: Tallying up a quantity based on a part number

    Wait, I apologize. I gave you the wrong formula. It should have read the following:

    Please Login or Register  to view this content.
    This adds up each quantity in column B where the value in column A is "ABC123"

    Let me know if this helps

  5. #5
    Registered User
    Join Date
    07-27-2007
    Posts
    19

    Re: Tallying up a quantity based on a part number

    Actually both formulas helped me. Thanks a lot. Appreciate it.

+ 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