G
Guest
Hi!
I have a question and was hoping someone would be kind enough to help me.
I am trying to select some text within a field separated by tags like: [tag1]
I have tried this formula:
=MID(LEFT(D1,FIND("#", SUBSTITUTE(D1,"[","#",4))-1), FIND("[External",D1)+1,
255)
And it works great, except that some of the text is separated with a
carriage return after [tag1].
i.e.
Instead of [tag1]Blah blah blah
I have:
[tag1]
Blah blah blah
Ultimately, the best way to get this is to pull the text between [tag1] and
[tag2]. How would I go about doing this? If it's not possible, how can I
adapt my equation to accomodate the carriage returns?
Thank you so much for any help!
I have a question and was hoping someone would be kind enough to help me.
I am trying to select some text within a field separated by tags like: [tag1]
I have tried this formula:
=MID(LEFT(D1,FIND("#", SUBSTITUTE(D1,"[","#",4))-1), FIND("[External",D1)+1,
255)
And it works great, except that some of the text is separated with a
carriage return after [tag1].
i.e.
Instead of [tag1]Blah blah blah
I have:
[tag1]
Blah blah blah
Ultimately, the best way to get this is to pull the text between [tag1] and
[tag2]. How would I go about doing this? If it's not possible, how can I
adapt my equation to accomodate the carriage returns?
Thank you so much for any help!