Extract data from specific strings column

  • Hello,

    I have a large worksheet that contains detailed data on various column fields, an I only want to extract rows from a specific range strings and concatenate date to another sheet, separated by commas.

    Strings: Person and DECDENT (extract text between)


    I attach an example with 'extract.xlsx' sheet4 and the 'result' sheet as I want to look

    Is there a way to do this via VB script/macro ?

    Thanks

  • When the code runs do you want it to replace any data on the "result" sheet (apart from the header row) or to add new data to any existing data?

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

  • Try this. It will add a new sheet to your workbook, name the new sheet "Extracted Data" and place the extracted data there.

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

    Edited once, last by KjBox ().

  • You're welcome

    We now have a reputation system in place. If my reply helped please "Like" the reply by clicking the "Like" icon at bottom right of my reply.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!