JohnClifford
New Member
- Joined
- Jun 15, 2011
- Messages
- 7
Hi there.
I'm looking for a way to isolate all words in a cell so that I can create an ID based on them. I've found formulae for finding the total number of words, and one for finding a finite number of words, but the problem is I don't know ahead of time how many words there will be. I need to return the first four letters from the first word and the first letter of the second if there are two--but the first three letters from the first, the first letter of the second and the first from the third if there are three, and so on.
I'll give some examples as I'm sure that didn't explain what I need very well:
This piggy - needs to return THISP
This little piggy - needs to return THILP
This little piggy went - needs to return THLPW
Does anyone know if there's a way to do this with a formula? Thanks in advance for any help you can give.
I'm looking for a way to isolate all words in a cell so that I can create an ID based on them. I've found formulae for finding the total number of words, and one for finding a finite number of words, but the problem is I don't know ahead of time how many words there will be. I need to return the first four letters from the first word and the first letter of the second if there are two--but the first three letters from the first, the first letter of the second and the first from the third if there are three, and so on.
I'll give some examples as I'm sure that didn't explain what I need very well:
This piggy - needs to return THISP
This little piggy - needs to return THILP
This little piggy went - needs to return THLPW
Does anyone know if there's a way to do this with a formula? Thanks in advance for any help you can give.