To extract all strings beginning with “NCT” into separate columns for each respective row, you can use the following formula in Excel:
Assuming the data is in column A, starting from cell A1, you can use the formula =IFERROR(MID($A1,SEARCH("NCT",$A1),IFERROR(SEARCH("; ",$A1)-SEARCH("NCT",$A1),LEN($A1))),"") in cell B1. Then, drag the formula down to fill the remaining cells in column B.
This formula uses the MID, SEARCH, and IFERROR functions to extract the desired strings. It searches for “NCT” in each cell, then uses the MID function to extract the substring starting from “NCT”. The IFERROR function is used to handle cases where there is no “;” delimiter after the “NCT” substring.
The result will be the extracted strings in a separate column, with empty cells where no “NCT” string is found.