Forum Discussion

Kenneth Green's avatar
Kenneth Green
Brass Contributor
Jul 19, 2022
Solved

Excel Forumla to Extract data between first and last occurrance of specific charactersin a cell?

Excel Forumla to Extract data between first and last occurrance of specific character   I need an Excel Forumla that will extract and return the data between first and last occurrance of the _ (und...
  • OliverScheurich's avatar
    Jul 19, 2022

    Kenneth Green 

    =MID(A1,FIND("_",A1)+1,FIND("|",SUBSTITUTE(A1,"_","|",(LEN(A1)-LEN(SUBSTITUTE(A1,"_","")))/LEN("_")))-1-FIND("_",A1))

    Maybe with this formula.

     

Resources