Closed Thread
Results 1 to 2 of 2

Search and concatenate cells

Hybrid View

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    8

    Red face Search and concatenate cells

    Hi,

    I am looking for help with some formulas as I am new to Excel 2007 / VBA, I am wonderning if someone can help me.

    I have 2 worksheets:

    1. Product; and
    2. Buyers.

    1. In the Products worksheet, every column has data about the books' description like:

    A | B | C | D | E
    Serial | Desc. | Author | Pubd. | year

    Column A contains serial no. of the books, ordered from 1,2,3,4,5,6,7 to .....so on...

    Columns B,C,D and E, have other details of the books.

    2. In the Buyers worksheet, there are two columns;

    A | B
    Serial | Buyer Info
    For Ex.
    1 | Harry - Newcastle
    1 | Peter - Sydney
    1 | Anne - Sydney
    2 | Bryon - Sydney
    3 | Vickey - Perth
    3 | hamish - Perth
    4 | Amish - Brisbane
    4 | Nicole - Darwin
    4 | Steve - Los Angeles
    5 | Ali - Melbourne
    6 | Harry - Newcastle
    6 | Peter - Sydney
    6 | Anne - Sydney
    6 | Brad - Adelaide
    6 | Bryon - Sydney
    7 | Vickey - Perth
    8 | hamish - Perth
    8 | Amish - Brisbane
    9 | Nicole - Darwin
    9 | Steve - Los Angeles
    and so on..........

    These are the details people who bought the particular book order by the serial no. of the book purchased.

    OBJECTIVE

    I want to make a new column in the first worksheet i.e. Product, say F, which I want to read all the buyers' info of that purchase the book with that serial no. and concatenate them together in the same cell separated by a comma.

    Example considering the above examples:

    A | B | C | D | E | F
    Serial | Desc. | Author | Pubd. | year | Buyer Info

    1 | Accounting | Ramsay | ABC Pub. | 2008 | (Harry - Newcastle, Peter - Sydney, Anne - Sydney)

    2 | Physics | Peter R. | ABC Pub. | 2007 | (Brad - Adelaide, Bryon - Sydney)

    3 | Chemistry | Chopra D. | Nimbus | 2002 | (Vickey - Perth, hamish - Perth)

    4 | Maths | Sharma R. | Willey | 2007 | (Amish - Brisbane, Nicole - Darwin, Steve - Los Angeles)

    5 | Computers | Behl P. | PBI | 2010 | (Ali - Melbourne)

    6 | Science | Aman D. | INC | 2008 | ( Harry - Newcastle, Peter - Sydney ,Anne - Sydney, Brad - Adelaide, Bryon - Sydney)

    7 | History | Pande P. | ABC | 2010 | (Vickey - Perth)

    8 | Social S. | Smith J. | Nimbus | 2009 | (hamish - Perth, Amish - Brisbane)

    9 | Astronomy | Jain P. | PBI | 2009 | ( Nicole - Darwin, Steve - Los Angeles)


    The above is what I am trying to do but keep failing...

    Any help shall be highly appreciated.

    Looking forward to all the sugestions.

    Thanks a lot in advance for your time.

    Praney

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Search and concatenate cells

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

Closed 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