I have a column that includes first and last name (lets say column A) and a column that identifies if they should be included with a yes or no (Lets say column B).
i'm trying to determine how to make a new column (C) only display the last name from column A if Column B equals Yes.
I've pieced together some formulas, this one gives me just the last name:
=RIGHT(D11,LEN(D11)-FIND("*",SUBSTITUTE(D11," ","*",LEN(D11)-LEN(SUBSTITUTE(D11," ","")))))
But when i add this to a IF logic test it doesnt work, help please...
=IF(E5="YES",[RIGHT(D5,LEN(D5)-FIND("*",SUBSTITUTE(D5," ","*",LEN(D5)-LEN(SUBSTITUTE(D5," ","")))))], [""])
Solved by Z. H. in 11 mins