Extrat server address Email
Hello,
I cannot extract the server address from an email address. Can you help me ?
Ex : xxxx.xxxx@grdf-txt.com
I want to extract "grdf-txt"
My formula : =UPPER(MID(LEFT(Email@row; FIND("."; Email@row) - 1); FIND("@"; Email@row) + 1; LEN(Email@row)))
This formula works but only for the following format xxxxxx@grdf-txt.com
Thank you
Cordialy,
azerty64
Best Answer
-
Here's another version which deals with both .com and .org email addresses in case someone has a .org email address:
=IFERROR(MID(email@row, FIND("@", email@row) + 1, FIND(".com", email@row) - FIND("@", email@row) - 1), MID(email@row, FIND("@", email@row) + 1, FIND(".org", email@row) - FIND("@", email@row) - 1))
Answers
-
=MID(email@row, FIND("@", email@row) + 1, FIND(".com", email@row) - FIND("@", email@row) - 1)
-
Here's another version which deals with both .com and .org email addresses in case someone has a .org email address:
=IFERROR(MID(email@row, FIND("@", email@row) + 1, FIND(".com", email@row) - FIND("@", email@row) - 1), MID(email@row, FIND("@", email@row) + 1, FIND(".org", email@row) - FIND("@", email@row) - 1))
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 430 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!