+ Reply to Thread
Results 1 to 4 of 4

Total Qty based on ID

  1. #1
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Los Angeles, USA
    MS-Off Ver
    2003, 2010, 365
    Posts
    320

    Total Qty based on ID

    Hi,

    What I'm trying to accomplish is if the ID in column A appears more than once, total its value from column B to be displayed in column C.

    Here is how far I've got but it does not work. I'm just missing how to total its column B value match with ID from column A.

    Please Login or Register  to view this content.

    Attached is my excel file with starting data on Sheet1 and showing the desired result on Sheet2

    Thanks for any help,

    David
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Total Qty based on ID

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Total Qty based on ID

    I think I like John's solution better, but here's what I have:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-31-2012
    Location
    Los Angeles, USA
    MS-Off Ver
    2003, 2010, 365
    Posts
    320

    Re: Total Qty based on ID

    Thanks guys both VBA's are perfect.

+ 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. [SOLVED] Highlight cell based on total quantity value based on repeated order numbers
    By PWilson0727 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2014, 02:02 PM
  2. [SOLVED] avg based on total
    By Allseasons in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2014, 09:22 AM
  3. how to work out rate based on total time and total amount
    By lisaathers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2013, 06:44 AM
  4. [SOLVED] Add total values based on within range based on critera
    By johnny_p in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2013, 06:50 AM
  5. how to total based upon criteria
    By mkmed in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-22-2008, 07:38 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