• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Combining a string of text - TEXTJOIN

IanG

New Member
Hi

I have attached a spreadsheet.

Currently I am using =TEXTJOIN(",",TRUE,$A_:$A_) to combine the data in column A and inserting the data into row of Column B and C where the terms "configurable and grouped" appear in column A

I click on B152 and enter the formula =TEXTJOIN(",",TRUE,$A2:$A151) into B152, this gave me the correct result, I then copied the same result into C153

I scrolled down until I saw

31B12_configurable
31B12_grouped

in Column A (row 284 + 285) and pasted my copied formula into B284:C285 and changed the formula search to =TEXTJOIN(",",TRUE,$A154:$A283)

I repeat these steps above very time I see the term "configurable and grouped" in Column A

Because I need all the data between grouped and configurable (and not including) i was hoping there would be a formula where i could say start after configurable and finish before grouped I could use? The number of rows between each set varies.

The way I am doing is very time consuming and I have 7 spreadeagled with a total of 120,000 rows to do.

Thanks Ian
 

Attachments

  • Textjoin.xlsx
    325.7 KB · Views: 14
Sounds like a job for Power Query (Data ribbon - Get & Transform), which you have with Office 365.
 
Back
Top