Hello all,
Hopefully someone's bigger brain can help with my current challenge.
I'm looking for a way to return a text value under a certain character limit, but I don't want it to chop it off just anywhere, I'd like it to stop at the first space before the character limit.
Example:
Cell C1 contains : Once upon a midnight dreary
Now I have a character limit of 15 characters, which if I use =left(C1,15) returns : Once upon a mid
Instead of that I'd like it to stop at the last space before that 15 character limit, so it doesn't cut a word in half and would return : Once upon a
Any insight or advice would be greatly appreciated.
ETA: Bonus points if you know a way to get it to work within a VLOOKUP, so in this example if the VLOOKUP would return C1 (Once upon a midnight dreary) it would return Once upon a
Hopefully someone's bigger brain can help with my current challenge.
I'm looking for a way to return a text value under a certain character limit, but I don't want it to chop it off just anywhere, I'd like it to stop at the first space before the character limit.
Example:
Cell C1 contains : Once upon a midnight dreary
Now I have a character limit of 15 characters, which if I use =left(C1,15) returns : Once upon a mid
Instead of that I'd like it to stop at the last space before that 15 character limit, so it doesn't cut a word in half and would return : Once upon a
Any insight or advice would be greatly appreciated.
ETA: Bonus points if you know a way to get it to work within a VLOOKUP, so in this example if the VLOOKUP would return C1 (Once upon a midnight dreary) it would return Once upon a