Formua too remove dot

howard

Well-known Member
Joined
Jun 26, 2006
Messages
5,381
I have the following formula to extract the name and surname from an email address.


I need to amend the formula so that dot (.) does not appear between the name & surname

Code:
 =PROPER(LEFT(B3,FIND("@",B3)-1))
your assistance in resolving this is most appreciated


<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF ;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5 " /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5 ;text-align: center;color: #161120"><th></th><th>A</th><th>B</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">Dave.Costa</td><td style="text-decoration: underline;color: #0563C1;;">dave.costa@ghom.com</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5 ;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF " ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF ;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5 ;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5 ;color: #161120">A3</th><td style="text-align:left">=PROPER(<font color="Blue">LEFT(<font color="Red">B3,FIND(<font color="Green">"@",B3</font>)-1</font>)</font>)</td></tr></tbody></table></td></tr></table><br />
 
Last edited:

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
3,923
Office Version
365, 2019, 2016
Platform
Windows
try substitute the . with space

=SUBSTITUTE(PROPER(LEFT(B3,FIND("@",B3)-1)),"."," ")
 

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
3,923
Office Version
365, 2019, 2016
Platform
Windows
you're welcome
 

Forum statistics

Threads
1,081,545
Messages
5,359,444
Members
400,528
Latest member
Ratish52

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top