{"id":238,"date":"2013-06-09T01:38:36","date_gmt":"2013-06-09T06:38:36","guid":{"rendered":"http:\/\/homepages.uc.edu\/~yaozo\/wordpress\/?p=238"},"modified":"2013-06-09T01:38:36","modified_gmt":"2013-06-09T06:38:36","slug":"return-value-based-on-cell-being-within-numeric-range","status":"publish","type":"post","link":"https:\/\/zhuoyao.net\/index.php\/2013\/06\/09\/return-value-based-on-cell-being-within-numeric-range\/","title":{"rendered":"Return Value Based On Cell Being Within Numeric Range"},"content":{"rendered":"<pre>=INDEX({\"high\",\"medium\",\"low\"},1,MATCH(A1,{500,50,10},-1))<\/pre>\n<p>&nbsp;<\/p>\n<p>This will return;<\/p>\n<p>&#8220;high&#8221; if A1 is between 51 to 500<\/p>\n<p>&#8220;medium&#8221; if A1 is between 11 to 50<\/p>\n<p>&#8220;low&#8221; if A1 is below 10<\/p>\n<p>BTW, why not use a Dynamic Named Range for the chart?<\/p>\n<p>&nbsp;<\/p>\n<p>Excel LOS base on VC ratio<\/p>\n<p>&nbsp;<\/p>\n<pre>=INDEX({\"A\",\"B\",\"C\",\"D\",\"E\",\"F\"},1,MATCH(K2,{0,0.35,0.58,0.75,0.9,1},1))<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=INDEX({&#8220;high&#8221;,&#8221;medium&#8221;,&#8221;low&#8221;},1,MATCH(A1,{500,50,10},-1)) &nbsp; This will return; &#8220;high&#8221; if A1 is between 51 to 500 &#8220;medium&#8221; if A1 is between 11 to 50 &#8220;low&#8221; if A1 is&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-ms-office"],"_links":{"self":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/comments?post=238"}],"version-history":[{"count":0,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/posts\/238\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/media?parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/categories?post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuoyao.net\/index.php\/wp-json\/wp\/v2\/tags?post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}