Hi Everyone
I really need help about this case:
Capture1.PNG
as image above, how to return the number of line that contain word "Dimension". in this case the line number is 6.
open for VBA but if can please with a formula.
Regards
Hi Everyone
I really need help about this case:
Capture1.PNG
as image above, how to return the number of line that contain word "Dimension". in this case the line number is 6.
open for VBA but if can please with a formula.
Regards
Try
=SEARCH("dimension",A2)-SEARCH("dimension",SUBSTITUTE(A2,CHAR(10),""))+1
=LEN(MID(A1,1,FIND("dimension",A1)-1))-LEN(SUBSTITUTE(MID(A1,1,FIND("dimension",A1)-1),CHAR(10),""))+1
=(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.
you all are ROCKS guys!!!
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks