Forum Discussion
katietrev27
Dec 12, 2023Copper Contributor
Extract Specific Text From Cell
Hello,
I'm trying to extract specific text from cells that have lots of text in them separated by commas.
In the attached example, I want to find the x-styleCode: for each ID, and am hoping I can do this by using a formula in column D that will extract only the x-styleCode values.
Any help would be great,
Thank you,
- flexyourdataIron Contributor
Try this:
=LET( r,$C2, f,"x-StyleCode:", x,MID(r,SEARCH(f,r)+LEN(f),LEN(r)), LEFT(x,FIND(",",x)-1) )
- katietrev27Copper ContributorTHANK YOU!!!!