+ Reply to Thread
Results 1 to 4 of 4

Assign a duplicated cell to multiple other cells

  1. #1
    Registered User
    Join Date
    06-05-2014
    Posts
    7

    Assign a duplicated cell to multiple other cells

    Hi guys,

    I have a spreadsheet with repeated email contacts for various clients.

    For Example:

    Column A Column B
    Institution email
    Bank1 [email protected]
    Bank2 [email protected]
    Bank3 [email protected]
    Bank4 [email protected]
    Bank5 [email protected]
    Bank6 [email protected]
    Bank7 [email protected]
    Bank8 [email protected]
    Bank9 [email protected]
    Bank10 [email protected]
    Bank11 [email protected]
    Bank12 [email protected]

    and I would like to convert it to:

    email Institutions
    [email protected] Bank 1, Bank3, Bank5, Bank7, Bank8,
    [email protected] Bank2, Bank4, Bank6, Bank9, Bank11
    [email protected] Bank10, Bank12

    Pivot Table does not help in this case as it only gives the count of institutions.

    Any ideas and help ?

    Thanks and Regards

    Nick

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Assign a duplicated cell to multiple other cells

    Try this:-
    Results start "D1"
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    06-05-2014
    Posts
    7

    Re: Assign a duplicated cell to multiple other cells

    Hi Mick,

    Thanks for getting back to me.

    As my Excel understanding is very basic I don't know where and how to input the script you have written.

    Can you please enlighten me ?

    Thanks and Regards

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Assign a duplicated cell to multiple other cells

    Try this:-
    To Save and Run Code:-
    Copy code from Thread
    In Your Data sheet , Click "Alt+F11",:- Vb Window appears.
    From the VBWindow toolbar, Click "Insert" ,"Module":- New VBwindow appears .
    Paste Code into this window.
    Close Vbwindow.

    On sheet Click "Developer tab", Click "Macro". Macro dialog box appears.
    Select Macro (with same name) from List.
    On the right of Dialog box Click "Run"
    The Sheet should now be updated.
    Regrds Mick

+ 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. highlit duplicated cells and display the row number and cell value in msgbox
    By kmakjop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-07-2013, 04:26 PM
  2. [SOLVED] Macro that would loop through duplicated project name and assign consecutive ID
    By Jackkk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2012, 10:32 AM
  3. Replies: 2
    Last Post: 10-07-2012, 08:56 PM
  4. Replies: 11
    Last Post: 08-22-2011, 12:40 PM
  5. Assign multiple cell's values to a variable
    By mikeburg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2006, 01:50 PM

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