I am trying to extract data in an email address.
All the email addresses are formatted as first.last@domain.com
Can someone please help me with a function that will extract the "last" from the email?
Note: the first and last names will always be different lengths of characters, so i think i need something that will say something like extract after the "." and before the "@"
Best Answers
-
Try something like this...
=MID([Email Address]@row, FIND(".", [Email Address]@row) + 1, FIND("@", [Email Address]@row) - (FIND(".", [Email Address]@row) + 1))
-
Yes. Try something like this:
=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))
Answers
-
Try something like this...
=MID([Email Address]@row, FIND(".", [Email Address]@row) + 1, FIND("@", [Email Address]@row) - (FIND(".", [Email Address]@row) + 1))
-
Thanks, this worked!! Do you know if there that I can Capitalize the first letter in the Last name... in conjunction with the function you provided?
-
Yes. Try something like this:
=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))
-
Thank you so much, this has worked wonderfully! I appreciate your assistance!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!