• 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.

Extract the some characters from a cell

shinajsk

New Member
I want to extract the characters in the cell which comes after 4th "."


Eg. IND.A.4.08.0225 , I should get the value 0225. I cant use other right or left formulas as the number of characters before the 4th "." is not fixed.Can you please help
 
Hi, shinajsk!


I'd recommend you to read the three first green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, well, come back here, tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about your question...

Try this:

=DERECHA(A2;LARGO(A2)-ENCONTRAR(".";A2;ENCONTRAR(".";A2;ENCONTRAR(".";A2;ENCONTRAR(".";A2)+1)+1)+1)) -----> in english: =RIGHT(A,LEN(A2)-FIND(".",A2,FIND(".",A2,FIND(".",A2,FIND(".",A2)+1)+1)+1))


Regards!
 
Hi Shina,


Try this formula


=MID(E11,(FIND(".",E11,FIND(".",E11,FIND(".",E11,FIND(".",E11)+1)+1)+1)+1),255)


E11 cell contains ur data ie., IND.A.4.08.0225


It will find 4 th dot always, and displays the next characters upto 255 characters


Hope this helps !!
 
Hi shinajsk,


This one will also work!


Code:
=RIGHT(SUBSTITUTE(A1,".","_",4),LEN(A1)-(FIND("_",SUBSTITUTE(A1,".","_",4))))


...assuming your value in A1.


Regards,

Faseeh
 
@SirJB7


Check your formula....typo error =RIGHT(A2


=RIGHT(A2,LEN(A2)-FIND(".",A2,FIND(".",A2,FIND(".",A2,FIND(".",A2)+1)+1)+1))


EDIT: Sorry I just noticed in other version it is correct :)
 
@oldchippy

Hi!

Yes, typo error, in the english formula I should have written =RIGHT(A2, instead of RIGHT(A, but I hope the user have guessed that.

Thanks for the correction.

Regards!

PS: I think it's time to pass to production the Formula Translator V1.0 ... maybe next week
 
Back
Top