I have been trying to extract the data from the cell and have created a below formula but its not working. I have attached a sample sheet for better understanding any help will be much appreciated.
If a cell has this word "COMPLETED"
then formula will load just Completed other wise those strings which has ?.
=ArrayFormula(LEFT(A3,FIND("...DONE=>",A3)-1))
=TRIM(MID(A3,SEARCH($D$2,A3)+LEN($D$2),255))
https://docs.google.com/spreadsheets/d/1WjpvEfpndRJ-tTOF99mSF9knMyF5Sq_FVpxnnvbgHHg/edit?usp=sharing