BiggusDoggus
Board Regular
- Joined
- Jul 7, 2014
- Messages
- 91
- Office Version
- 365
- Platform
- Windows
Hi,
I have a substantial (and dynamic) list of names that I'm needing to transform into email addresses.
For names like Bob Smith, and even those with hyphens (Sarah-Jane Brown), it's no issue:
=LOWER(CONCAT(SUBSTITUTE(SUBSTITUTE(C16342," ","."),"-",""),"@abc.com"))
End result = bob.smith@abc.com, sarahjane.brown@abc.com
However, I also have names such as Stephen Ray Jones. I need this name to be stephenray.jones@abc.com.
How would I do this please? Essentially, remove the first space, and make the second space a ".".
I have a substantial (and dynamic) list of names that I'm needing to transform into email addresses.
For names like Bob Smith, and even those with hyphens (Sarah-Jane Brown), it's no issue:
=LOWER(CONCAT(SUBSTITUTE(SUBSTITUTE(C16342," ","."),"-",""),"@abc.com"))
End result = bob.smith@abc.com, sarahjane.brown@abc.com
However, I also have names such as Stephen Ray Jones. I need this name to be stephenray.jones@abc.com.
How would I do this please? Essentially, remove the first space, and make the second space a ".".