{"id":471,"date":"2021-09-03T20:01:12","date_gmt":"2021-09-03T20:01:12","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/office-if-a-range-contains-specific-text-return-adjacent-cell-valu-20794-html"},"modified":"2021-09-03T20:01:12","modified_gmt":"2021-09-03T20:01:12","slug":"office-if-a-range-contains-specific-text-return-adjacent-cell-valu-20794-html","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/office\/if-a-range-contains-specific-text-return-adjacent-cell-valu\/20794.html","title":{"rendered":"Solved If a range contains specific text, return adjacent cell valu"},"content":{"rendered":"<p><td>If a column of text has a specific value &#8220;New Deal&#8221; how to I get it to return the cell next to it that contains the dollar amount? I am wanting Excel to quickly sort and enter the data from the left three columns into the middle section to separate everything out. All of the equals signs below are what I need a formula for. It&#8217;s not keeping my  formatting, but each entity will have its own column and I&#8217;m needing excel to sort through this list and put in the corresponding values into the correct columns. So for example I need the left 3 columns searched for &#8220;New Deal&#8221; if the range contains it I need it to return the amount beside it to the &#8220;New Deal&#8221; Column<\/p>\n<p>  Date\tEntity\t\t  Amount                    New Deal\t         Gale Valley         Freeway Dr<br \/>1\/4\/2012\tNew Deal\t\t $(3,500.00)\t\t=$(3500)<br \/>1\/4\/2012\tGale Valley\t $3,583.34 \t\t\t                =$3583.34<br \/>1\/6\/2012\tFreeway Dr\t $2,074.50 \t\t\t                                      =$2074.50<br \/>1\/6\/2012\tNew Deal\t\t $276.66 \t\t        = $276.66 \t<\/p>\n<p align=\"right\"><font size=\"1\"><i>message edited by mel1012003<\/i><\/font><\/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":45},"question-category":[],"question_tags":[],"class_list":["post-471","question","type-question","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/471","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=471"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=471"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=471"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}