Results 1 to 1 of 1

VBA loop through table combine like columns and add and concatenate respective cell

Threaded View

dirock VBA loop through table... 08-20-2012, 12:10 PM
  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Cool VBA loop through table combine like columns and add and concatenate respective cell

    Hey guys,

    I need to combine two separate rows that have the same account number (Column A) and sum up the QTY column(G) but the kicker is that I need the Person column(I) to be concatenate if multiple persons exist. I need to loop through a dynamic table ie the table will change in size. See attached as an example.

    Orignal Table:
    acct_no TYPE Description PM maturity_date position_ind Qty comp_sec_type_code Person
    100 Apple Red xx 9/20/2012 L 2453 Pack Jack
    100 Apple Red xx 9/20/2012 L 4534 Pack Jill

    New Table:

    acct_no TYPE Description PM maturity_date position_ind Qty comp_sec_type_code Person
    100 Apple Red xx 9/20/2012 L 6987 Pack Jack, Jill

    Thank you for your help!!!!!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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