Hi, Hope someone can assist with this one.
I have a spreadsheet with column A containing series of email addresses, in the column B I'd like to assign a value based on email domain in Column A.
I tried the below forumla and it works, but stuck on how to extend it so it will cater for all domain variations.
=IF(ISNUMBER(SEARCH("gmail",A3)),"Segment2","")
Values to assign for domains are
Sample of expected result
Hope it makes sense.
I have a spreadsheet with column A containing series of email addresses, in the column B I'd like to assign a value based on email domain in Column A.
I tried the below forumla and it works, but stuck on how to extend it so it will cater for all domain variations.
=IF(ISNUMBER(SEARCH("gmail",A3)),"Segment2","")
Values to assign for domains are
Assignments | |
Domains | Segment |
hotmail | segment 1 |
gmail | segment 2 |
yop | segment 3 |
yahoo | segment 4 |
Sample of expected result
Email_Address | Segments |
test.test@gmail.com | Segment2 |
test@yop.com | |
tester@yahoo.com | |
testing@hotmail.com |
Hope it makes sense.