Forum Discussion

syazaaoa95's avatar
syazaaoa95
Brass Contributor
May 15, 2023
Solved

Can't I make the formula so that it will read in order?

Hi, I have another problem. which my problem is about, I want it to read on my first argument on the front, and after that it will read the arguments after that if the argument on the front ...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    May 16, 2023

    syazaaoa95 Perhaps not too complex after all.

     

    Begin by listing of all possible delimiters and create a named range of it. In the example I called it "delim".  Then the following formulas will create the LEFT and RIGHT segments.

     

    =TRIM(IFERROR(LEFT([@DESCRIPTION],MIN(IFERROR(FIND(delim,[@DESCRIPTION])-1,999999))),[@DESCRIPTION]))

     

    =TRIM(IFERROR(RIGHT([@DESCRIPTION],LEN([@DESCRIPTION])-MIN(IFERROR(FIND(delim,[@DESCRIPTION])-1,999999))),""))

     

    See attached.

     

Resources