By: Shamima Sultana

In reply to hussain.

Hello Hussain,

You can use Excel’s TEXTSPLIT or Power Query to achieve this dynamically without relying on fixed lengths. Here’s how:

Using TEXTSPLIT (Excel 365 & 2021):
If you have Excel 365 or 2021, use the TEXTSPLIT function to split the data dynamically:
=TEXTSPLIT(A1, ” “, , TRUE)
This will break the text into separate columns. You can then identify “polyester” and use formulas to extract data accordingly.

Using Power Query (For All Excel Versions):
1. Select your data and go to Data > Get & Transform > From Table/Range.
2. Use Split Column > By Delimiter (“polyester”)
This will split into two columns:
First Column: Includes everything up to “polyester.”
Second Column: Contains the remaining text.

Load the cleaned data back into Excel.
This method works for variable-length data without relying on SUBSTITUTE or LEFT functions.

Regards
ExcelDemy