{"id":3616,"date":"2021-03-26T10:49:01","date_gmt":"2021-03-26T02:49:01","guid":{"rendered":"https:\/\/owa.sodexo-cn.com\/blog\/?p=3616"},"modified":"2021-03-26T10:49:01","modified_gmt":"2021-03-26T02:49:01","slug":"excel-condition-judgment-is-simple-i","status":"publish","type":"post","link":"https:\/\/owa.sodexo-cn.com\/blog\/?p=3616","title":{"rendered":"Excel condition judgment is simple I"},"content":{"rendered":"\n<p>Today, let&#8217;s share a set of Excel conditional judgment related formulas, hope to improve work efficiency.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">IF<\/h4>\n\n\n\n<p>The syntax is as below:<br>=IF (Determine the condition, return this value IF the condition is True, return this value IF the condition is False)<br>As shown in the figure below, the salesman&#8217;s level should be judged according to the sales in column C. Those greater than or equal to 5 million yuan are considered &#8220;good&#8221;, otherwise they are considered &#8220;bad&#8221;.<br>The formula in D2 is: =IF (C2>=500,&#8221;good&#8221;,&#8221;bad&#8221;)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"247\" src=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/173.jpg\" alt=\"\" class=\"wp-image-3608\" srcset=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/173.jpg 554w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/173-300x134.jpg 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">IFS<\/h4>\n\n\n\n<p>IFS can complete the judgment of multiple conditions.<br>The syntax is as below:<br>=IFS (condition 1, result 1, condition 2, result 2\u2026\u2026TRUE, return this value if all conditions are False)<br>As shown in the figure below, the corresponding grade should be given according to the sales in column D.<br>The rule is: Above 50,000 is level A, above 30,000 is level B, and all other are level C.<br>The formula in E2 is: =IFS (D2>50000,&#8221;A&#8221;,D2>30000,&#8221;B&#8221;,TRUE,&#8221;C&#8221;)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"245\" src=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/174.jpg\" alt=\"\" class=\"wp-image-3609\" srcset=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/174.jpg 553w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/174-300x133.jpg 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">SUMIF<\/h4>\n\n\n\n<p>The syntax is as below:<br>=SumIf (conditional region, summation condition, summation region)<br>As shown in the figure below, the total sales of this department should be calculated according to the departments in column E.<br>The formula in F2 is: =SUMIF(B:B,E2,C:C)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"323\" src=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/175.jpg\" alt=\"\" class=\"wp-image-3610\" srcset=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/175.jpg 553w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/175-300x175.jpg 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<p>If we use the following syntax, we are summing over the conditional region:<br>= sumIf (conditional region, specified summation condition)<br>As shown in the figure below, the total sales of a single amount of more than 500 (ten thousand Yuan) shall be counted.<br>Formula in E2 is: =SUMIF (C:C,\u201d>500\u201d)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"553\" height=\"312\" src=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/176.jpg\" alt=\"\" class=\"wp-image-3611\" srcset=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/176.jpg 553w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/176-300x169.jpg 300w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/176-525x295.jpg 525w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/176-480x270.jpg 480w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">SUMIFS<\/h4>\n\n\n\n<p>The syntax is as below:<br>=SUMIFS (summation region, condition region 1, condition 1, condition region 2, condition 2\u2026)<br>Pay attention, the summation region should be written at the very beginning.<br>As shown in the figure below, it need to count the total sales in No.1 sales department with a single amount of more than 500 (ten thousand yuan).<br>The formula in F2 is: =SUMIFS(C:C,B:B,E2,C:C,\u201d>500\u201d)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"211\" src=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/177.jpg\" alt=\"\" class=\"wp-image-3612\" srcset=\"https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/177.jpg 554w, https:\/\/owa.sodexo-cn.com\/blog\/wp-content\/uploads\/2021\/03\/177-300x114.jpg 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<p>Well, that&#8217;s all for today. See you next time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, let&#8217;s share a set of Excel conditional jud &#8230; <a title=\"Excel condition judgment is simple I\" class=\"read-more\" href=\"https:\/\/owa.sodexo-cn.com\/blog\/?p=3616\" aria-label=\"\u9605\u8bfb Excel condition judgment is simple I\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3616","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"views":2162,"_links":{"self":[{"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3616"}],"version-history":[{"count":1,"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3616\/revisions"}],"predecessor-version":[{"id":3617,"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3616\/revisions\/3617"}],"wp:attachment":[{"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/owa.sodexo-cn.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}