Costasenos
New Member
- Joined
- Mar 3, 2011
- Messages
- 5
So, on sheet1, column A, I have strings such as
MIKE 65 UUUU 3434
BEARINGUUUU OK DDFDF8
ENOUGHAAA999
ZZZZZZZZZZZZZZZZZZZZZZ
...
On sheet2, column C, I have the following 3 arguments (I actually more than 3 (9), but for the sake of the example...)
AAA
OK
UUUU
Most of the times, each string of sheet1colA will contain only one of the arguments listed in sheet2colC.
What I want:
For every string of sheet1colA, list on sheet1colB the text that comes after the argument found therein.
I would like Column B of sheet1 to look like this:
3434
OK DDFDF8
999
(not applicable - error value)
...
Thanks for the one who'll find this!
PS: following array formula already allows me to find whether the string contains any of the arguments:
=IF(SUM(NOT(ISERROR(FIND(Sheet2!$C$1:$C$3;A1)))*1)>0;TRUE;FALSE)
MIKE 65 UUUU 3434
BEARINGUUUU OK DDFDF8
ENOUGHAAA999
ZZZZZZZZZZZZZZZZZZZZZZ
...
On sheet2, column C, I have the following 3 arguments (I actually more than 3 (9), but for the sake of the example...)
AAA
OK
UUUU
Most of the times, each string of sheet1colA will contain only one of the arguments listed in sheet2colC.
What I want:
For every string of sheet1colA, list on sheet1colB the text that comes after the argument found therein.
I would like Column B of sheet1 to look like this:
3434
OK DDFDF8
999
(not applicable - error value)
...
Thanks for the one who'll find this!
PS: following array formula already allows me to find whether the string contains any of the arguments:
=IF(SUM(NOT(ISERROR(FIND(Sheet2!$C$1:$C$3;A1)))*1)>0;TRUE;FALSE)