ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Finding text between 2 @ signs (https://www.excelbanter.com/excel-worksheet-functions/247095-finding-text-between-2-%40-signs.html)

Micki

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


Glenn

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))

Mike H

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


Teethless mama

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



All times are GMT +1. The time now is 05:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com