TechOnTip Weblog

Run book for Technocrats

Pick a word from excel cell after/before a character

Posted by Brajesh Panda on May 29, 2015

Pick word(s) from excel after/before a character. Assuming b.panda@abc.com is in A1 cell.

Pick the domain name after @

abc.com =MID(A1,FIND(“@”,A1)+1,256)

Pick the user ID before @

b.panda =LEFT(A1,(FIND(“@”,A1,1)-1))

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: