• Extract from cells to rows

    Author
    Topic
    #482012

    Hi
    This is my first post and i need some help.

    I have certain content in cell a1 which needs to be extracted and put on to adjacent rows. something like text to column functionality in excel. The problem however is that the criteria to extract information is basis certain ‘headers’ (which are always in bold) in the cell. This i need to do for the whole list . The content beside each ‘header’ has to fall under respective column heads.
    please refer to attachment to get an idea.

    Title: XXX*Designation: XX*JOB: 1969**XOB: Sheykhan Ville, Tkkwti Area, Tygun District**Good quality a.k.a.: Naela Del Jaoba**Bow quality a.k.a.: na**Nationality: na*Passport no.: na**Iationa identification no.: na**Address: na**Visted on: 4 Nov. 2011***Other information: Downunder is frequent and is attached to cells

    Thanks

    Viewing 1 reply thread
    Author
    Replies
    • #1323500

      Hi swingy

      Welcome to the lounge.
      Your problem can be solved using formulas and VBA.
      see attached file.
      I have defined a set of formulas in row1 which are copied to the relevant data record rows.
      The formulas are then converted to ‘values’.
      Click the button to see it work.

      To make this work I had to ‘fix’ some discrepancies in your ‘header’ cells.
      The ones I changed are in pink.
      These were changed to EXACTLY correspond to the bold entries in column A.

      You can hide row 1 for ‘tidyness’.

      zeddy

    • #1323609

      Hi Zeddy ,

      thanks a lot for this amazing solution !!! works like a charm ! it is a learning for me .. Thank You ..thank you thank you ! 😀

    Viewing 1 reply thread
    Reply To: Extract from cells to rows

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: