Can I derive a name from an email address?
I have a sheet that has a person's name as my primary column and their email address in a contact list column. I have them filling out a form with both pieces of information and people would really only enter one or the other. I need the email address to send notifications and I need the name so they look nice on the calendar on which they are used.
I tried this formula to parse a name from the email, but I get an Invalid Operation error and I can't find where my syntax is incorrect.
=UPPER(LEFT([Email Address]@row, 1)) + MID([Email Address]@row, 2, FIND(".", [Email Address]@row) - 2) + " " + UPPER(MID([Email Address]@row, FIND(".", [Email Address]@row) + 1, 1)) + MID([Email Address]@row, FIND(".", [Email Address]@row) + 2, (FIND("@", [Email Address]@row) - FIND(".", [Email Address]@row)) - 2)
Thanks much!
Andrea
Andrea Zenner
Program Manager | Infrastructure & Operations
Apogee Enterprises
EAP | Mobilizer | Core Product Certified | Superstar
azenner@apog.com
Best Answer
-
Try something like this then...
=UPPER(LEFT([Email Address]@row)) + " " + UPPER(MID([Email Address]@row, 2, 1) + MID([Email Address]@row, 3, FIND("@", [Email Address]@row) - 3)
Answers
-
What is the syntax of the email addresses?
-
@paul Newcome (first initial)(last name)@domain. So mine would be azenner@harmoninc.com.
Thanks!
Andrea Zenner
Program Manager | Infrastructure & Operations
Apogee Enterprises
EAP | Mobilizer | Core Product Certified | Superstar
azenner@apog.com
-
And how exactly would you want the name output based on the email?
"A Zenner"
"A. Zenner"
other?
-
@Paul Newcome A Zenner would be perfect!
Andrea Zenner
Program Manager | Infrastructure & Operations
Apogee Enterprises
EAP | Mobilizer | Core Product Certified | Superstar
azenner@apog.com
-
Try something like this then...
=UPPER(LEFT([Email Address]@row)) + " " + UPPER(MID([Email Address]@row, 2, 1) + MID([Email Address]@row, 3, FIND("@", [Email Address]@row) - 3)
-
@Paul Newcome That works! Thanks so much!
Andrea Zenner
Program Manager | Infrastructure & Operations
Apogee Enterprises
EAP | Mobilizer | Core Product Certified | Superstar
azenner@apog.com
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!