I have several cell entries in column B. They look similar to this:
1050670||Target Optical 4226||6132||7132
1051752||Wal-Mart Vision Ctr 305095||6132||7132
10
You may also use the below formula if you wish to. It does not use the Indirect function.
=MID(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2),1,IF(ISNUMBER(VALUE(MID(SUBSTITUTE(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2)," ","¶",LEN(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2))-LEN(SUBSTITUTE(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2)," ",""))),FIND("¶",SUBSTITUTE(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2)," ","¶",LEN(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2))-LEN(SUBSTITUTE(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2)," ",""))))+1,50)))=TRUE,FIND("¶",SUBSTITUTE(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2)," ","¶",LEN(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2))-LEN(SUBSTITUTE(MID(A1,FIND("||",A1,1)+2,FIND("||",A1,FIND("||",A1,1)+2)-FIND("||",A1,1)-2)," ",""))))-1,50))