I have a formula that I will enter into a cell and drag down to about 6,000 rows. I need get the value in column C of each row, up to a colon, dash, the word "FOR" (upper or lowercase), whichever comes first. Then, I need to remove all of the following words: "Hump YM", "Trim YM", or "NX". Lastly, I use TRIM to remove any extra spaces.
For example, if column C contains:
The formula should return:
The formula I came up with isn't working:
Excel doesn't seem to be recognizing the lists given in {curly braces}, only the first item in each list. Please help!
For example, if column C contains:
Code:
[TABLE="width: 1100"]
<tbody>[TR]
[TD="width: 1100"]Trim YM Remove Block Deny Command Failed -- Invalid Slot Number -- Operator: 2Request: NBUC,[/TD]
[/TR]
</tbody>[/TABLE]
Code:
Remove Block Deny Command Failed
The formula I came up with isn't working:
Code:
=TRIM(SUBSTITUTE(LEFT($C3,SEARCH({":","-","FOR","for"},$C3)-1),{"Hump YM","Trim YM","NX"},""))
Excel doesn't seem to be recognizing the lists given in {curly braces}, only the first item in each list. Please help!