UT_Princess
New Member
- Joined
- Nov 6, 2019
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
I have a field in column A and i want to get the text after PROJ_ but before either ,TR or ",TR. I can get the formula to work if there is not a " but when there is I'm getting an error and formula will not solge
Col A | Col B | Col C | Col D |
Field | Desired Result | Formula | Result |
Base,USD_Reporting,FY24,TI,TD,LOC_CUST,SUB_ABC,Forecast,Load,PROJ_projectnameA,TR | projectnameA | TEXTBEFORE(TEXTAFTER(A2,"PROJ_"),",TR") | projectnameA |
Base,USD_Reporting,FY24,TI,TD,LOC_CUST,SUB_DSS,Forecast,Load,PROJ_projectnameB",TR | projectnameB | if(right(TEXTBEFORE(TEXTAFTER(N2,"PROJ_"),",TR"),1)=""",(TEXTBEFORE(TEXTAFTER(N2,"PROJ_"),"",TR")),(TEXTBEFORE(TEXTAFTER(N2,"PROJ_"),",TR")) | Formula will not process (it highlights the second "PROJ_") |