extracting string from value in cell

S

solo_razor

hello,

I want to extract a text from text within a cell.
example:

cel a1 contains c:\windows\desktop\new\testing.xls
cel a2 contains this formula:
=MID(a1,FIND("*",SUBSTITUTE(a1,"\","*",LEN(a1)-LEN(SUBSTITUTE(a1,"\",""))))+1,LEN(a1))
Cel a2 has now as value : testing.xls

in cell a3 i want to get the c:\windows\desktop\new\ text


Can anybody help

regards,

Niek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top