+ Reply to Thread
Results 1 to 11 of 11

Convert indentured parent child table to flat file

Hybrid View

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Convert indentured parent child table to flat file

    I have the following indentured list

    1 part123
    2 part127
    3 part129
    3 part134
    3 part213
    4 part2134

    Need to convert to

    1 part123 2 part127
    2 part127 3 part129
    2 part127 3 part134
    2 part127 3 part213
    3 part213 4 part2134

    This will allow me to import to a drawing tree or org chart in Visio
    If you can point me in the right direction I would be happy happy happy!

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Convert indentured parent child table to flat file

    Hi Liberator,

    Welcome to the forum

    Whether this content is single cell value of 1 part123 double cells like 1 in A1 cell and part123 in B1 cell?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Convert indentured parent child table to flat file

    That was fast.
    Sorry I should have been more clear.

    1 in A1 cell part123 in cell B1

    A1 B1 C1 D1
    1 Part123 2 Part127

  4. #4
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Convert indentured parent child table to flat file

    Indenture number and part number in their own cell.

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Convert indentured parent child table to flat file

    Not sure why 2 part127 is getting repeated???

    1 part123 2 part127
    2 part127 3 part129
    2 part127 3 part134
    2 part127 3 part213
    3 part213 4 part2134

  6. #6
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Convert indentured parent child table to flat file

    That's the catch
    For Visio to import graphically " drawing tree" I have to flatten out the indentured list
    All the "3" parts are children to the 2 part.

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Convert indentured parent child table to flat file

    Please explain the logic how you are duplicating that text alone instead of any other tex?

  8. #8
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Convert indentured parent child table to flat file

    The 2 part goes into the 1 part
    All the 3 parts go into the 2 part
    The 4 part goes into one of the 3 parts

    Bike wheel Wheel hub
    Wheel hub Bearings
    Wheel hub Bearing race
    Wheel hub Axel
    Axel Sleeve

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Convert indentured parent child table to flat file

    Still the logic is un discoverable without the clear sample data

  10. #10
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Convert indentured parent child table to flat file

    starting with this
    BOM Level Part Number Part Desc
    0 921348700 M141 SIMUATED WEAPON ****
    1 921348710 WEAPON KIT ASSY, M141 ***
    2 921348720 TRIGGER HOUSING ASSEMBLY,
    3 921348721 TRIGGER HOUSING, M141 ***
    4 921348721-01 TRIGGER HOUSING, MODIFIED
    5 921348711-05 TRIGGER HOUSING, M141 ***
    4 91732A285 INSERT, HELICAL, #4-40 X
    3 921348718 FLAG, SAFETY, M141 ******
    4 SSH16G20 STEEL SHEET,16 GAUGE,A569



    to this
    Parent Part BOM Level Part Number Part Desc
    921348700 0 921348700 M141 SIMUATED WEAPON ****
    921348700 1 921348710 WEAPON KIT ASSY, M141 ***
    921348710 2 921348720 TRIGGER HOUSING ASSEMBLY,
    921348720 3 921348721 TRIGGER HOUSING, M141 ***
    921348721 4 921348721-01 TRIGGER HOUSING, MODIFIED
    921348721-01 5 921348711-05 TRIGGER HOUSING, M141 ***
    921348721 4 91732A285 INSERT, HELICAL, #4-40 X
    921348720 3 921348718 FLAG, SAFETY, M141 ******
    921348718 4 SSH16G20 STEEL SHEET,16 GAUGE,A569

  11. #11
    Registered User
    Join Date
    02-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Convert indentured parent child table to flat file

    Disregard the descriptions

+ 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