=(LEN(LEFT(A1,SEARCH(B1,A1)-1))-LEN(SUBSTITUTE(LEFT(A1,SEARCH(B1,A1)-1),CHAR(10),"")))+1
where A1 is original string
and B1 is search sttrng
=(LEN(LEFT(A1,SEARCH(B1,A1)-1))-LEN(SUBSTITUTE(LEFT(A1,SEARCH(B1,A1)-1),CHAR(10),"")))+1
where A1 is original string
and B1 is search sttrng
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks