+ Reply to Thread
Results 1 to 3 of 3

Excel Macro - Help need to group serial numbers

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Excel Macro - Help need to group serial numbers

    Hi, does anyone have some code that could do the following? Column A is Invoice, column B is Serial:

    BEFORE

    INVOICE
    SERIAL
    1000 ABC1
    ABC2
    ABC3
    2000 ABC4
    3000 ABC5
    ABC6

    AFTER

    INVOICE
    SERIAL
    1000 ABC1,ABC2,ABC3
    2000 ABC4
    3000 ABC5,ABC6

    In short, group all serial numbers for an invoice on one line in column B beside the invoice, comma separated.

    In the right hands this would be easy, in mine impossible!

    Many thanks in advance.

    Baz

  2. #2
    Valued Forum Contributor
    Join Date
    12-05-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010 & 2013
    Posts
    308

    Re: Excel Macro - Help need to group serial numbers

    Hi Baz

    Try this:
    Please Login or Register  to view this content.
    Cheers, Rob.

  3. #3
    Registered User
    Join Date
    02-14-2012
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Excel Macro - Help need to group serial numbers

    Rob, you are a genius! Your code was spot on.

    I hope wherever you work is paying you a bucketload!

    Baz.

+ Reply to Thread

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