Help Plsss

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have =MID(A1,FIND("<",A1)+1,FIND(">",A1)-FIND("<",A1)-1)
to trim the emal Ids like Madhan <[email protected]>. now I want to add one
thing to that I want to trim the below email types also.
1. (e-mail address removed),[email protected], - > remove the second one or the first one(between the
2 email ids there will chances of comma or / )

2. (e-mail address removed), - > remove the comma(it might be comma or > or < or /)

it would be very helpful if any one could help me out with this (either in
Macro or in Cell formula).

Many Thanx in Advance.
Madhan
 
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(
IF(ISNUMBER(FIND(",",A11)),IF(LEFT(A11,FIND(",",A11)-1)=RIGHT(A11,LEN(A11)-F
IND(",",A11)),LEFT(A11,FIND(",",A11)-1),A11),A11),
"<",""),
">",""),
",","")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Hi Bob,

Thanx a lot man, i dont have words to say. Thanx thanx

Regards
Madhan
 

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

Similar Threads

Macro for Trimming 4
Help - Send mail from Excel 5
Formulas 2
another filtering question 1
Problem with go to 1
Selecting Range of Copied Text 2
VBA and Excell – really need you help 19
Format Cells 2

Back
Top