WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Finding text between 2 @ signs

 
   Home -> Office -> Worksheet Functions RSS
Next:  How do I separate numbers in combined docs  
Author Message
Micki

External


Since: Aug 20, 2006
Posts: 19



(Msg. 1) Posted: Fri Oct 30, 2009 11:56 am
Post subject: Finding text between 2 @ signs
Archived from groups: microsoft>public>excel>worksheet>functions (more info?)

I have the folling in a cell:
SD09071707444004362@Micki Caldwell@20090716115600

I want to remove the text between the 2 @ signs. Thank you
Back to top
Login to vote
Mike H

External


Since: May 24, 2006
Posts: 3984



(Msg. 2) Posted: Fri Oct 30, 2009 12:30 pm
Post subject: RE: Finding text between 2 @ signs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

Try this with your string in a1

=MID(A1,FIND(CHAR(7),SUBSTITUTE(A1,"@",CHAR(7),1))+1,FIND(CHAR(7),SUBSTITUTE(A1,"@",CHAR(7),2))-FIND(CHAR(7),SUBSTITUTE(A1,"@",CHAR(7),1))-1)

Mike

"Micki" wrote:

> I have the folling in a cell:
> SD09071707444004362@Micki Caldwell@20090716115600
>
> I want to remove the text between the 2 @ signs. Thank you
>
Back to top
Login to vote
Teethless mama

External


Since: Sep 17, 2006
Posts: 1441



(Msg. 3) Posted: Fri Oct 30, 2009 12:38 pm
Post subject: RE: Finding text between 2 @ signs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

=TRIM(MID(SUBSTITUTE(A1,"@",REPT(" ",99)),99,99))


"Micki" wrote:

> I have the folling in a cell:
> SD09071707444004362@Micki Caldwell@20090716115600
>
> I want to remove the text between the 2 @ signs. Thank you
>
Back to top
Login to vote
Glenn

External


Since: Jun 26, 2008
Posts: 340



(Msg. 4) Posted: Fri Oct 30, 2009 2:29 pm
Post subject: Re: Finding text between 2 @ signs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Micki wrote:
> I have the folling in a cell:
> SD09071707444004362@Micki Caldwell@20090716115600
>
> I want to remove the text between the 2 @ signs. Thank you
>


=LEFT(A1,FIND("@",A1)-1)&
MID(A1,FIND("@",A1,FIND("@",A1)+1)+1,LEN(A1))
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Worksheet Functions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support