+ Reply to Thread
Results 1 to 6 of 6

Copy Data in column B to other columns dependent on Contents of column A

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Copy Data in column B to other columns dependent on Contents of column A

    Hi,

    I have two columns of data Starting in A1 and B1.


    Column A has email addresses and column B has ID numbers.


    At the moment if a person has more than one id their email address appears twice in column A.


    I want to end up with one email address per person and instead of all the id numbers being in column B copy them across into column C, D, E etc. there could be up to 10 Id's.

    If anyone could help I would be grateful.

    Example attached.
    Attached Files Attached Files
    Last edited by timbo1957; 08-07-2013 at 05:52 AM.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Copy Data in column B to other columns dependent on Contents of column B

    Please Login or Register  to view this content.
    That is set-up for your example, you will need to change the ranges and columns as appropriate.

  3. #3
    Registered User
    Join Date
    05-21-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    73

    Re: Copy Data in column B to other columns dependent on Contents of column B

    Hi,

    try the macro in the attached file.
    Attached Files Attached Files
    Thanks
    Babu.S

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Copy Data in column B to other columns dependent on Contents of column B

    Hi timbo1957,

    If you are not opposed to using a formula setup...

    ...or for a macro setup
    Attached Files Attached Files
    Last edited by jeffreybrown; 08-07-2013 at 05:50 AM.
    HTH
    Regards, Jeff

  5. #5
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Re: Copy Data in column B to other columns dependent on Contents of column A

    Thanks eveyone all good solutions.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Copy Data in column B to other columns dependent on Contents of column A

    You're welcome…we are glad you have a workable solution and thanks for the feedback...

+ 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. Replies: 4
    Last Post: 03-21-2012, 08:58 AM
  2. Concatenate data from a Column dependent on another column
    By Skull_Eagle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2011, 08:56 PM
  3. Macro to Copy Many Columns Contents and Combing them in 1 column
    By donnydorko in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-10-2009, 05:29 PM
  4. [SOLVED] How do I sum a column dependent on another columns text value?
    By dj479794 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2006, 03:10 PM
  5. Replies: 3
    Last Post: 02-25-2006, 02:00 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