I have been trying to genrate a formula to shorten company names:
1- For multi word names, extract the first letter of each word, skipping over short words like "and", "the", etc.
2- For single word names, return the first 7 characters only.
3- No spaces in output
Here is the closest I have gotten so far:
=IF(CONTAINS(" ", Client@row), JOIN(LEFT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(Client@row, " and ", " "), " for ", " "), " the ", " "), " of ", " "), " in ", " "), " at ", " "), " on ", " "), " with ", " "), 1) + IF(FIND(" ", Client@row) > 0, MID(Client@row, FIND(" ", Client@row) + 1, 1), "") + IF(FIND(" ", Client@row, FIND(" ", Client@row) + 1) > 0, MID(Client@row, FIND(" ", Client@row, FIND(" ", Client@row) + 1) + 1, 1), ""), ""), LEFT(Client@row, 7))
However, I am still getting abbreviated shortwords in the output.
Thanks in advance for any advice.