Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Finding text between 2 @ signs

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

I want to remove the text between the 2 @ signs. Thank you

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Finding text between 2 @ signs

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))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Finding text between 2 @ signs

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Finding text between 2 @ signs

=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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does my text appear as pound signs Dr. Darrell Excel Discussion (Misc queries) 3 April 21st 23 09:05 PM
Excel 07 - text displays as pound signs mdavison New Users to Excel 8 October 14th 09 09:44 PM
Finding text in a cell and returning a value based on that text [email protected] Excel Discussion (Misc queries) 5 January 10th 07 06:01 PM
Pound (#) signs instead of text mommyo Excel Discussion (Misc queries) 16 September 20th 05 01:45 AM
Why is my text changing to pound signs? SleepyDawn Excel Discussion (Misc queries) 2 February 9th 05 10:52 PM


All times are GMT +1. The time now is 06:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"