Underlandtongue
New Member
- Joined
- Mar 15, 2018
- Messages
- 5
Hello! I am doing a research project on twitter content from politicians and need some assistance. I've been able to use various functions to either extract or check content within the cells.
But what I am trying to do now is to check the contents of a cell (extracted from an original twitter JSON) against a list on another sheet.
I have the raw Twitter data starting in column C, cell 2. (C2) I have the extracted text only in column E, cell 2. (E2). My data is in Sheet1, in A column (there are spaces in between some of the words/phrases in the data in column A).
I can return a value that states that the entire contents of E2 matching the list in Sheet1 Column A is false. Even if I place the value in the string in E2 or C2 to test them. I'm specifically looking for use of metaphors in the tweets, and I have a list of metaphors I'm looking to return a binary yes/no value.
Here are the formulas I've been trying, that keep giving me the FALSE value (even though the words were in the cell as part of a string).
If anyone could help me in the right direction, I'd appreciate it!
Thanks.
But what I am trying to do now is to check the contents of a cell (extracted from an original twitter JSON) against a list on another sheet.
I have the raw Twitter data starting in column C, cell 2. (C2) I have the extracted text only in column E, cell 2. (E2). My data is in Sheet1, in A column (there are spaces in between some of the words/phrases in the data in column A).
I can return a value that states that the entire contents of E2 matching the list in Sheet1 Column A is false. Even if I place the value in the string in E2 or C2 to test them. I'm specifically looking for use of metaphors in the tweets, and I have a list of metaphors I'm looking to return a binary yes/no value.
Here are the formulas I've been trying, that keep giving me the FALSE value (even though the words were in the cell as part of a string).
Code:
=IFERROR(IF(e2=VLOOKUP(Sheet1!$A:$A,1,FALSE),TRUE,FALSE),FALSE)
Code:
=COUNTIF(Sheet1!A:A, E2)>0
Code:
=ISNUMBER(MATCH(E2,Sheet1!A:A,0))
Code:
=IF(COUNTIF(e2,Sheet1!A:A)>0,"Yes","No")
Code:
=IF(MAX(IFERROR(SEARCH(OFFSET(Sheet1!$A$1,1,0,MATCH(TRUE,INDEX(ISBLANK(Sheet1!$A:$A),0,0),0)-2),$e2),0))>0,"yes","no")
If anyone could help me in the right direction, I'd appreciate it!
Thanks.