ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Function to convert to email address? (https://www.excelbanter.com/excel-worksheet-functions/165771-function-convert-email-address.html)

[email protected]

Function to convert to email address?
 
Given a column of cells each with text in the format:

LAST NAME, FIRST NAME

..... like "Jones, Bob" and "Johnson, David", is there a quick excel
function/method that will convert and then write them to a different
column such that:

(first initial)(last

.... so "Jones, Bob" becomes " and "Johnson, David"
becomes "?

TIA


Nick Hodge[_2_]

Function to convert to email address?
 
Charlie

Technically you may need this

=HYPERLINK("mailto:"&LOWER((MID(A1,FIND(",",A1,1)+ ",LOWER((MID(A1,FIND(",",A1,1)+2,1))& ")

You could drop the lower if the case is not important and the repeating part
if you can put up with rather than

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk

UK Excel User Conference In Cambridge
November 28th - December 1st 2007
Register Now @ http://www.exceluserconference.com/UKEUC.html



wrote in message
oups.com...
Given a column of cells each with text in the format:

LAST NAME, FIRST NAME

.... like "Jones, Bob" and "Johnson, David", is there a quick excel
function/method that will convert and then write them to a different
column such that:

(first initial)(last

... so "Jones, Bob" becomes " and "Johnson, David"
becomes "?

TIA


Niek Otten

Function to convert to email address?
 
=MID(A1,FIND(" ",A1)+1,1)&LEFT(A1,FIND(" "

I don't know how to get rid of the underlines, sorry!

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


wrote in message oups.com...
| Given a column of cells each with text in the format:
|
| LAST NAME, FIRST NAME
|
| .... like "Jones, Bob" and "Johnson, David", is there a quick excel
| function/method that will convert and then write them to a different
| column such that:
|
| (first initial)(last
|
| ... so "Jones, Bob" becomes " and "Johnson, David"
| becomes "?
|
| TIA
|



[email protected]

Function to convert to email address?
 
On Nov 12, 12:26 pm, "Nick Hodge" wrote:
Charlie

Technically you may need this

=HYPERLINK("mailto:"&LOWER((MID(A1,FIND(",",A1,1)+ ",LOWER((MID(A1,FIND(",",A1,1)+2,1))& ")

You could drop the lower if the case is not important and the repeating part
if you can put up with rather than

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

web:www.nickhodge.co.uk

UK Excel User Conference In Cambridge
November 28th - December 1st 2007
Register Now @http://www.exceluserconference.com/UKEUC.html

wrote in message

oups.com...

Given a column of cells each with text in the format:


LAST NAME, FIRST NAME


.... like "Jones, Bob" and "Johnson, David", is there a quick excel
function/method that will convert and then write them to a different
column such that:


(first initial)(last


... so "Jones, Bob" becomes " and "Johnson, David"
becomes "?


TIA


Awesome, awesome, awesome. Thank you very much, it works like a charm.

-CW


Nick Hodge[_2_]

Function to convert to email address?
 
Charlie

Glad it worked.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk

UK Excel User Conference In Cambridge
November 28th - December 1st 2007
Register Now @ http://www.exceluserconference.com/UKEUC.html



wrote in message
ups.com...
On Nov 12, 12:26 pm, "Nick Hodge" wrote:
Charlie

Technically you may need this

=HYPERLINK("mailto:"&LOWER((MID(A1,FIND(",",A1,1)+ ",LOWER((MID(A1,FIND(",",A1,1)+2,1))& ")

You could drop the lower if the case is not important and the repeating
part
if you can put up with rather than

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

web:www.nickhodge.co.uk

UK Excel User Conference In Cambridge
November 28th - December 1st 2007
Register Now @http://www.exceluserconference.com/UKEUC.html

wrote in message

oups.com...

Given a column of cells each with text in the format:


LAST NAME, FIRST NAME


.... like "Jones, Bob" and "Johnson, David", is there a quick excel
function/method that will convert and then write them to a different
column such that:


(first initial)(last


... so "Jones, Bob" becomes " and "Johnson, David"
becomes "?


TIA


Awesome, awesome, awesome. Thank you very much, it works like a charm.

-CW



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

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