{"id":516,"date":"2021-09-03T20:01:45","date_gmt":"2021-09-03T20:01:45","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/office-check-text-string-for-range-of-text-entries-11621-html"},"modified":"2021-09-03T20:01:45","modified_gmt":"2021-09-03T20:01:45","slug":"office-check-text-string-for-range-of-text-entries-11621-html","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/office\/check-text-string-for-range-of-text-entries\/11621.html","title":{"rendered":"Check text string for range of text entries"},"content":{"rendered":"<p><td>Hello &#8211; here is what I&#8217;m trying to do:<\/p>\n<p>&#8211; Cell A1 on sheet 1 contains a text string (ie. &#8220;I need help with an excel function&#8221;)<\/p>\n<p>Range A1:B10 on sheet 2 looks like:<br \/>    A            B<br \/>1  The    10<br \/>2  Car    20<br \/>3  Help   30<br \/>4  Dog   40<\/p>\n<p>etc &#8230;.<\/p>\n<p>I need a formula in sheet 1 that looks at the string in A1 and compares it to the range in Sheet 2. If one of the words in Sheet 2 are contained in the Sheet 1 text string, return the numerical value to the right of the matching word in Sheet 2.<\/p>\n<p>So, in my example above, the formula would return &#8220;30&#8221;.<\/p>\n<p>Alternatively, if this is not possible, I could work with the formula returning the matching word only (ie. &#8220;help&#8221; in the example above)<\/p>\n<p>Thanks!<\/p>\n<\/td>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","meta":{"inline_featured_image":false,"iawp_total_views":17},"question-category":[],"question_tags":[],"class_list":["post-516","question","type-question","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=516"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=516"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}