Hello all! I have read posts and searched on the forum for an answer myself before posting. Unfortunately, I wasn't able to find the solution to the problem I have been having.
I'm doing communications research and wanted to check if particular social media messages contain a metaphor. I took JSON data from a database where I had been storing the messages and imported it into excel and extracted the message body text out of the original string (in my case, it resides in cell C2). It stores this in cell E2.
I have a list of metaphors on Sheet1, in column A1 which are words and phrases separated into rows. And I'm so stuck! I have been able to code extractions of words from the text, logical tests for words in the messages, and matches so far with limited knowledge. I just cannot for the life of me figure out how to check if any of the words in the message body (E2) are on the list on Sheet1. All I need is a simple binary for the result--1 for yes or a 0 for no. (Heck any accurate return would then achieve my undying gratitude).
I can't post a link to the example, but if someone could help (or put me out of my misery) that would be fantastic.
Here's what I have:
C2---------------------------E2--------------------------Metaphor?
Raw twitter JSON----------Extracted Message---------List of metaphors on Sheet1
Is there any use of a metaphor (according to Sheet1) in the string in E2?
I've tried:
Thanks in advance.
Bookmarks