Isolate text following a period (".")

T

tommcbrny

Hello...I am trying to create a function that will populate a cell with the
first three text characters that follow a period (".") from a text string in
another cell. Can anyone tell me whether there is a function that will allow
me to do this?

Thanks,
Tom
 
J

JE McGimpsey

One way:

=MID(A1,FIND(".",A1)+1,3)

If A1 might not contain a ".":

=IF(COUNTIF(A1,"*.*"),MID(A1,FIND(".",A1)+1,3),"")
 

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