chilly_bang
Board Regular
- Joined
- Jun 17, 2016
- Messages
- 57
I have one column with words, and another one with sentences. I want get into knowledge, which sentences from the second column contain words from the first column, putting into the third column something like "contains / not contains". Case insensitive could it be.
Example:
Tried it with
, but no luck...
Example:
Code:
+-------------+----------------------------------------------------+---------------+
| Salta | Kabul,Kabul,Afghanistan | don't contain |
+-------------+----------------------------------------------------+---------------+
| united | Luanda,Luanda Province,Angola | don't contain |
+-------------+----------------------------------------------------+---------------+
| test | The Valley,Anguilla | don't contain |
+-------------+----------------------------------------------------+---------------+
| Argentina | Abu Dhabi,Abu Dhabi,United Arab Emirates | contains |
+-------------+----------------------------------------------------+---------------+
| anotherTest | Ajman,Ajman,United Arab Emirates | don't contain |
+-------------+----------------------------------------------------+---------------+
| End | Al Ain,Abu Dhabi,United Arab Emirates | don't contain |
+-------------+----------------------------------------------------+---------------+
| Of | Dubai,Dubai,United Arab Emirates | don't contain |
+-------------+----------------------------------------------------+---------------+
| Test | Ras Al-Khaimah,Ras al Khaimah,United Arab Emirates | don't contain |
+-------------+----------------------------------------------------+---------------+
| Yes | Salta,Salta Province,Argentina | contains |
+-------------+----------------------------------------------------+---------------+
Tried it with
Code:
=IF(ISERROR(VLOOKUP(A1,$B$1:$B$9, 1, FALSE)),"Not Exist","Exist" )
Last edited: