• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

What is the Simple Way to find Slash in Given Example

Hi Solvers,


I Have file name as D:DataPersonalsramasamdesktopExceldata.xls

Want to find the 4th Slash() what is simple way


Find Function looks big !!


Thanks
 
Code:
=FIND("",A1,FIND("",A1,FIND("",A1,FIND("",A1)+1)+1)+1)


or


=SEARCH("",A1,FIND("",A1,FIND("",A1,FIND("",A1)+1)+1)+1)
 
@senthilkumar_rm,


Besides this will also work:
Code:
=(LARGE(((MID($A1,ROW(INDIRECT("1:"&1024)),1))="")*ROW(INDIRECT("1:"&1024)),2))


Regards,

Faseeh
 
and a simpler

Code:
=FIND(CHAR(135),SUBSTITUTE(G5,"",CHAR(135),4))


Isn't it amazing how many different ways you can skin a cat.
 
Yes Hui, Its is correct, similar formula so many combination. I adopted this formula from a recent thread that asked to split text into parts. Things are simpler untill we are not taking into account 'n' no. of slashes. Otherwise it would have been a bit difficult I think.


Only things that limits is how one used these functions. :)
 
Back
Top