KyleKnight
New Member
- Joined
- Jul 19, 2011
- Messages
- 10
Hey guys,
I found parts of the forumla on a thread on this forum. The problem is i need it to be modified slightly to skip a word which i will explain in a sec. Here is my formula:
<code>=UPPER(LEFT(A40153,1)&IF(ISERROR(FIND(" ",A40153)),"",LEFT(MID(A40153,FIND(" ",A40153)+1,LEN(A40153)),1))&IF(ISERROR(FIND(" ",MID(A40153,FIND(" ",A40153)+1,LEN(A40153)))+FIND(" ",A40153)),"",LEFT(MID(A40153,FIND(" ",MID(A40153,FIND(" ",A40153)+1,LEN(A40153)))+FIND(" ",A40153)+1,1)))&"-"&D40153&"-"&H40153&"-"&G40153
So what this formula does is take the letter from each word from a three word sentence e.g. Please help me, becomes PHM. Now I have a four word sentence and I need it to skip a word in there e.g. Fruit of the Loom needs to be FOL and not FOT. This document i am working in has 58000 records.
Let me know if this makes sense?
</code>
I found parts of the forumla on a thread on this forum. The problem is i need it to be modified slightly to skip a word which i will explain in a sec. Here is my formula:
<code>=UPPER(LEFT(A40153,1)&IF(ISERROR(FIND(" ",A40153)),"",LEFT(MID(A40153,FIND(" ",A40153)+1,LEN(A40153)),1))&IF(ISERROR(FIND(" ",MID(A40153,FIND(" ",A40153)+1,LEN(A40153)))+FIND(" ",A40153)),"",LEFT(MID(A40153,FIND(" ",MID(A40153,FIND(" ",A40153)+1,LEN(A40153)))+FIND(" ",A40153)+1,1)))&"-"&D40153&"-"&H40153&"-"&G40153
So what this formula does is take the letter from each word from a three word sentence e.g. Please help me, becomes PHM. Now I have a four word sentence and I need it to skip a word in there e.g. Fruit of the Loom needs to be FOL and not FOT. This document i am working in has 58000 records.
Let me know if this makes sense?
</code>
Last edited: