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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!