This can be done with formulas.
Take this in two parts -
[tab]A) How many times does "(" appear?
[tab]B) How many characters to the right of the final "("?
[tab][green]=LEN(A1)-LEN(SUBSTITUTE(A1, "(", ""))[/green]
will tell you how many "("s you have.
Now replace the final "(" with a character that will never appear in your dataset. Double pipes should be safe. Notice that we use the above formula to determine which "(" is replaced:
[tab]=SUBSTITUTE(A1, "(","||", [green]=LEN(A1)-LEN(SUBSTITUTE(A1, "(", ""))[/green])
will return:
[tab]Last1, First1 (UK) (Scotstoun) [red]||[/red]first1.last1@domain.com)
[tab]Last2, Last2 (Secretary to First3 Last3) (UK) [red]||[/red]First2.Last2@domain.com)
[tab]Freedman, Elise (UK) [red]||[/red]first.last@domain.com)
Now throw all of that into a MID statement to extract everything to the right of the last parenthesis except for one character (the close paren.) and you get:
[tab][COLOR=blue white]=MID(A1, FIND("||", SUBSTITUTE(A1, "(", "||", LEN(A1) - LEN(SUBSTITUTE(A1, "(", "")))) + 1, LEN(A1) - FIND("||", SUBSTITUTE(A1, "(", "||", LEN(A1) - LEN(SUBSTITUTE(A1, "(", "")))) - 1)[/color]
I'm sure there's an array formula that is shorter - I'll tinker with it and post back if no one else beats me to it....
[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]
Help us help you. Please read
FAQ 181-2886 before posting.