I need to search a column for 5-9 digit ID's that follow the term ^v_cusip=
and are separated by commas. From first glance it seemed that the ID's were followed by ^v_sort_order
so I tried:
=MID(A2,FIND("^v_cusip=",A2)+9,(FIND("^v_sort_order=",A2)-(FIND("^v_cusip=",A2)+9)))
However, what follows ^v_cusip=
varies. Is there another formula or a VBA code I can use to search the rows? I cannot repeatedly use MID/FIND as there are thousands of rows with numerous variations of what can follow ^v_cusip=
.
Thanks!