teddybrosevelt
New Member
- Joined
- Nov 28, 2016
- Messages
- 3
Hey All, long time lurker on this excellent forum because of it being such a great resource over the years when I've needed help, however this time I seem to be stumped. Searching has been difficult just because of info I'm needing so I figured it's time to post!
So I have to do a few simple automations using formulas in a list of names and turn it into email addresses. I've made some good progress however I've hit a small obstacle which could be just my misunderstanding.
So in column "A", I have a list of users First and Last names. I've used a formula to take the names in Column A and formulate them to be "first.last@emailaddress.com" into Column B (=LEFT(A1,SEARCH(" ",A1))&"."&MID(A1,SEARCH(" ",A1)+1,99)&"@emailaddress.com". For the most part, it's working fine however I'm trying to come up with some "if" statements for a select few names in the list that go by an abbreviated first name in their email address. Being that it's only a couple, I don't mind manually doing a statement for each unique name, but for example:
<tbody>
</tbody>
Jane Doe's email address is Jane.Doe@emailaddress.com, so there's no need to change, however there are a select few in the list of names who's full name, for example, could be "Jonathan" or "Joseph" but their email address is "Jon" and "Joe."
I've currently got the formula working great to just take the cell containing the First and Last names and turning it into the format of "first.last@emailaddress.com." What I'm wondering, is if I can create some IF statements, even if I have to just take the resulting info from Column B and formulate it into a new Column C that can look through the info in A or B, whichever, and check against the list using multiple IF statements in 1 cell that would say something like "In Column A, IF "Jonathan Doe" then "Jon Doe" or IF "Joseph Doe" then "Joe Doe", if that makes sense. I apologize if there's an official term for what I'm trying to describe. Like I said as well, if it's easier for me to look into doing something with the output in Column B, then that's fine as well. Thank you in advance, any help is very much appreciated!
So I have to do a few simple automations using formulas in a list of names and turn it into email addresses. I've made some good progress however I've hit a small obstacle which could be just my misunderstanding.
So in column "A", I have a list of users First and Last names. I've used a formula to take the names in Column A and formulate them to be "first.last@emailaddress.com" into Column B (=LEFT(A1,SEARCH(" ",A1))&"."&MID(A1,SEARCH(" ",A1)+1,99)&"@emailaddress.com". For the most part, it's working fine however I'm trying to come up with some "if" statements for a select few names in the list that go by an abbreviated first name in their email address. Being that it's only a couple, I don't mind manually doing a statement for each unique name, but for example:
Jane Doe | Jane.Doe@emailaddress.com |
Jonathan Doe | Jon.Doe@emailaddress.com |
Joseph Doe | Joe.Doe@emailaddress.com |
<tbody>
</tbody>
Jane Doe's email address is Jane.Doe@emailaddress.com, so there's no need to change, however there are a select few in the list of names who's full name, for example, could be "Jonathan" or "Joseph" but their email address is "Jon" and "Joe."
I've currently got the formula working great to just take the cell containing the First and Last names and turning it into the format of "first.last@emailaddress.com." What I'm wondering, is if I can create some IF statements, even if I have to just take the resulting info from Column B and formulate it into a new Column C that can look through the info in A or B, whichever, and check against the list using multiple IF statements in 1 cell that would say something like "In Column A, IF "Jonathan Doe" then "Jon Doe" or IF "Joseph Doe" then "Joe Doe", if that makes sense. I apologize if there's an official term for what I'm trying to describe. Like I said as well, if it's easier for me to look into doing something with the output in Column B, then that's fine as well. Thank you in advance, any help is very much appreciated!