How do I combine two If Statements? (adding + or a comma didn't work!)
I have a column Called "Client Executive" that I am trying to turn into an email address. The PROBLEM is that it's crossing from our database 2 different Ways. (1. FirstName LastName and then 2. LastName,FirstName). I have the formula for each way to convert it to an email, I just don't know how to write it to do both. If it has a comma, I want it to use that one....If it has a space, then I want it to use that one!
These are the two separate formulas- how do I combine them?
Angela Wright =IF([Client Executive]@row <> "", LEFT([Client Executive]@row, FIND(" ", [Client Executive]@row) - 1) + "." + RIGHT([Client Executive]@row, LEN([Client Executive]@row) - FIND(" ", [Client Executive]@row)) + "@sodexo.com", "")
Wright,Angela =IF([Client Executive]@row <> ",", RIGHT([Client Executive]@row, LEN([Client Executive]@row) - FIND(",", [Client Executive]@row)) + "." + LEFT([Client Executive]@row, FIND(",", [Client Executive]@row) - 1) + "@sodexo.com", "")