The portion of your formula that is causing you issues is the FALSE part of the inside IF statement. However, you will need to rearrange your statement somewhat. I'd recommend something like the following -- it is making the assumption that all of your data has the word " Defendant" in it. The thing you were trying to do with the space has the issue of matching any space, not just the one (last one) you were trying to match. (There are ways of doing it however.)
If the above is not suitable, my recommendation is to set up your statement as follows, Encapsulated in a TRIM(). You can fill in the commented sections with the appropriate formulas. Note: it's the last of the three lines I'm recommending as your setup, the first two just show how it's derived.
Please note, in the Formula ribbon, there is a button called Evaluate Formula. This button allows you to view what is being calculated at each step and see where your formula has issues. I find it very useful for diagnosing problems like this.
Turn Data into Information
Turn Information into Knowledge
Turn Knowledge into Direction
Turn Direction into Leadership
Turn Leadership into Results
Stephen Druley
It's not how quickly you think
But how deeply you think
The quality of thinking is measured
by remoteness to conformance
Stephen Druley
Thanks for responses, especially last one. This ultimately worked:
=TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(RIGHT(A1,LEN(A1)-FIND("vs.",A1&"vs.")-3),", et al",""),"Defendant",""),", Et Al","")," ""","")," Jr","")," Jr.",""))
Bookmarks