+ Reply to Thread
Results 1 to 3 of 3

Create a one to one relationship

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    portland me
    MS-Off Ver
    Excel 2003
    Posts
    2

    Create a one to one relationship

    I have an entry in col B in the attached spreadsheet. In column C there are multiple rows in a wrapped cell. What I need to do is make a row for each entry in col C that has Col B next to it.

    so if you have, xxx in col B

    and

    aaa
    bbb
    ccc
    ddd
    eee

    in col C

    I would want the following on a new sheet:

    xxx aaa
    xxx bbb
    xxx ccc
    xxx ddd
    xxx eee

    Is there a way to write a macro to do it?
    Attached Files Attached Files
    Last edited by austenr; 01-17-2013 at 02:34 PM.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Create a one to one relationship

    this code should do the trick
    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    01-17-2013
    Location
    portland me
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Create a one to one relationship

    Thanks. that got it. Solved.

+ Reply to 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