What's a quick way to do this?
because the LLC/LTD is at the end of the name you cannot make use of indexing
Having said that it should not take more than a few minutes to identify them with a criteria
not like "*LTC" or not like "*LTD"
alternative, use the strreverse function to populate another indexed field and then look for "CTL*" or "DTL*"
to get the initials you do need a udf - something like
Code:
function initials(fullname as string) as string
dim sArr() as string
sArr-split(fullname," ")
initials=left(sarr(1),1) & left(sarr(0),1)
end function
you have provided very little with regard the range of possible options, the above code is basic without any error checking (e.g. it assumes there is a space between first name and last name and the order is last name, first name, initial (if any)) So you may have to adapt it in some way. Clearly it will not identify Ajete in row 23