# I need to add multiple formulas to convert firstname.lastname@email.com into fl@email.com

#### jiuanchoja

##### New Member
Hello all,

I am trying to take an email from one cell, say for example A1 and I want to do a few things, the first one is to take the first initials of the first and last name, written as first.last@email.com.

I want to convert this into fl@email.com

What I have done is to use the following formulas. They work well in different cells, but I can't put them together into the same cell. What my formula can do so far and whats on each cell:

in cell A1: First Last
in cell B1: job title
in cell C1: first.last@email.com
in cell F1: =LEFT(A1)&IF(ISNUMBER(FIND(" ",A1)),MID(A1,FIND(" ",A1)+1,1),"")&IF(ISNUMBER(FIND(" ",A1,FIND(" ",A1)+1)),MID(A1,FIND(" ",A1,FIND(" ",A1)+1)+1,1),"")
in cell G1: =CONCATENATE(F1, "@email.com ")

What I want to do is to put both formulas in F1 and G1 in F1 to return fn@email.com

I have the same problem when I want to convert from first.last@email.com into f.l@email.com using first initials and adding a "." My formula in two cells which work is

in cell A1: First Last
in cell B1: job title
in cell C1: first.last@email.com
in cell D1: =FirstCharacters(A1)
in cell E1: =REPLACE(D1, 4, 1,"@email.com")

I also need a formula to convert from first.last@email.com into firstlast@email.com (taking out the dot ) and viceversa.

### Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

#### FormR

##### MrExcel MVP
Hi, welcome to the forum!

Does this cover all the variations?

#### FormR

##### MrExcel MVP
EDIT: The formula in F1 should be changed to:

=SUBSTITUTE(C1,".","",1)

Replies
0
Views
42
Replies
0
Views
147
Replies
1
Views
370
Replies
0
Views
277
Replies
1
Views
131

1,128,173
Messages
5,629,157
Members
416,368
Latest member
PaoloC

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back