Anandpersad
New Member
- Joined
- Oct 18, 2014
- Messages
- 31
Hi All,
I am looking for a formula for the following:
I have a list of word, (FOV1, FOV2, FOV3, FOV4, FOV5, FOV6, FOV7, FOV8 and FOV9), which I would to find in a range of text in column A and have the searched text (FOV1 or FOV2 or FOV3 or FOV4 orFOV5 or FOV6 or FOV7, FOV8 or FOV9), returned in column B.
Like in “column A” I have the range of text. In column B I would like to put a formula, which will search for the 9 words as mentioned above, and give me which of the FOV are in text in column A. The text which I am looking for in column A, can be anywhere in the text range. There is also not a recurrent word or character which I use to find my texts.
I tried the following formula:
=IF(ISNUMBER(SEARCH("FOV1",A2)),"FOV1",IF(ISNUMBER(SEARCH("FOV2",A2)),"FOV2",IF(ISNUMBER(SEARCH("FOV3",A2)),"FOV3",IF(ISNUMBER(SEARCH("FOV4",A2)),"FOV4",IF(ISNUMBER(SEARCH("FOV5",A2)),"FOV5",IF(ISNUMBER(SEARCH("FOV",A2)),"FOV6","FOV7"))))))
As you this formula is restricted to max 7. By FOV7, I get the error message that more levels of nesting are used than allowed (I have more than 7 FOV).
Can you help me with a formula, if possible?
Thanks and Regards,
Anand
I am looking for a formula for the following:
I have a list of word, (FOV1, FOV2, FOV3, FOV4, FOV5, FOV6, FOV7, FOV8 and FOV9), which I would to find in a range of text in column A and have the searched text (FOV1 or FOV2 or FOV3 or FOV4 orFOV5 or FOV6 or FOV7, FOV8 or FOV9), returned in column B.
Like in “column A” I have the range of text. In column B I would like to put a formula, which will search for the 9 words as mentioned above, and give me which of the FOV are in text in column A. The text which I am looking for in column A, can be anywhere in the text range. There is also not a recurrent word or character which I use to find my texts.
I tried the following formula:
=IF(ISNUMBER(SEARCH("FOV1",A2)),"FOV1",IF(ISNUMBER(SEARCH("FOV2",A2)),"FOV2",IF(ISNUMBER(SEARCH("FOV3",A2)),"FOV3",IF(ISNUMBER(SEARCH("FOV4",A2)),"FOV4",IF(ISNUMBER(SEARCH("FOV5",A2)),"FOV5",IF(ISNUMBER(SEARCH("FOV",A2)),"FOV6","FOV7"))))))
As you this formula is restricted to max 7. By FOV7, I get the error message that more levels of nesting are used than allowed (I have more than 7 FOV).
Can you help me with a formula, if possible?
Thanks and Regards,
Anand