{"id":2889,"date":"2021-01-01T10:46:22","date_gmt":"2021-01-01T18:46:22","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=2889"},"modified":"2021-01-01T10:46:24","modified_gmt":"2021-01-01T18:46:24","slug":"how-to-use-conditional-formatting-in-excel","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=2889","title":{"rendered":"How to Use Conditional Formatting in Excel"},"content":{"rendered":"\n<p><strong>Conditional formatting<\/strong>\u00a0in\u00a0<strong>Excel<\/strong>\u00a0enables you to highlight cells with a certain color, depending on the cell&#8217;s value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Highlight Cells Rules<\/h3>\n\n\n\n<p>To highlight cells that are greater than a value, execute the following steps.<\/p>\n\n\n\n<p>1. Select the range A1:A10.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/conditional-formatting-example.png\" alt=\"Conditional Formatting Example\" title=\"Conditional Formatting Example\"\/><\/figure>\n\n\n\n<p>2. On the Home tab, in the Styles group, click Conditional Formatting.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/click-conditional-formatting.png\" alt=\"Click Conditional Formatting\" title=\"Click Conditional Formatting\"\/><\/figure>\n\n\n\n<p>3. Click Highlight Cells Rules, Greater Than.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/highlight-cells-rules.png\" alt=\"Highlight Cells Rules\" title=\"Highlight Cells Rules\"\/><\/figure>\n\n\n\n<p>4. Enter the value 80 and select a formatting style.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/greater-than.png\" alt=\"Greater Than\" title=\"Greater Than\"\/><\/figure>\n\n\n\n<p>5. Click OK.<\/p>\n\n\n\n<p>Result. Excel highlights the cells that are greater than 80.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/greater-than-result.png\" alt=\"Greater Than Result\" title=\"Greater Than Result\"\/><\/figure>\n\n\n\n<p>6. Change the value of cell A1 to 81.<\/p>\n\n\n\n<p>Result. Excel changes the format of cell A1 automatically.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/conditional-formatting-result.png\" alt=\"Conditional Formatting in Excel\" title=\"Conditional Formatting in Excel\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Clear Rules<\/h3>\n\n\n\n<p>To clear a&nbsp;<strong>conditional formatting rule<\/strong>, execute the following steps.<\/p>\n\n\n\n<p>1. Select the range A1:A10.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/select-cells.png\" alt=\"Select Cells\" title=\"Select Cells\"\/><\/figure>\n\n\n\n<p>2. On the Home tab, in the Styles group, click Conditional Formatting.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/click-conditional-formatting.png\" alt=\"Click Conditional Formatting\" title=\"Click Conditional Formatting\"\/><\/figure>\n\n\n\n<p>3. Click Clear Rules, Clear Rules from Selected Cells.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/clear-rules.png\" alt=\"Clear Rules\" title=\"Clear Rules\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Top\/Bottom Rules<\/h3>\n\n\n\n<p>To highlight cells that are above average, execute the following steps.<\/p>\n\n\n\n<p>1. Select the range A1:A10.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/top-bottom-rules-example.png\" alt=\"Top\/Bottom Rules Example\" title=\"Top\/Bottom Rules Example\"\/><\/figure>\n\n\n\n<p>2. On the Home tab, in the Styles group, click Conditional Formatting.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/click-conditional-formatting.png\" alt=\"Click Conditional Formatting\" title=\"Click Conditional Formatting\"\/><\/figure>\n\n\n\n<p>3. Click Top\/Bottom Rules, Above Average.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/top-bottom-rules.png\" alt=\"Top\/Bottom Rules\" title=\"Top\/Bottom Rules\"\/><\/figure>\n\n\n\n<p>4. Select a formatting style.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/above-average.png\" alt=\"Above Average\" title=\"Above Average\"\/><\/figure>\n\n\n\n<p>5. Click OK.<\/p>\n\n\n\n<p>Result. Excel calculates the average (42.5) and formats the cells that are above this average.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/above-average-result.png\" alt=\"Above Average Result\" title=\"Above Average Result\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Conditional Formatting with Formulas<\/h3>\n\n\n\n<p>Take your Excel skills to the next level and use a formula to determine which cells to format. Formulas that apply conditional formatting must evaluate to TRUE or FALSE.<\/p>\n\n\n\n<p>1. Select the range A1:E5.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/cells-to-format.png\" alt=\"Cells to Format\" title=\"Cells to Format\"\/><\/figure>\n\n\n\n<p>2. On the Home tab, in the Styles group, click Conditional Formatting.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/click-conditional-formatting.png\" alt=\"Click Conditional Formatting\" title=\"Click Conditional Formatting\"\/><\/figure>\n\n\n\n<p>3. Click New Rule.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/click-new-rule.png\" alt=\"Click New Rule\" title=\"Click New Rule\"\/><\/figure>\n\n\n\n<p>4. Select &#8216;Use a formula to determine which cells to format&#8217;.<\/p>\n\n\n\n<p>5. Enter the formula =ISODD(A1)<\/p>\n\n\n\n<p>6. Select a formatting style and click OK.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/use-a-formula-to-determine-which-cells-to-format.png\" alt=\"Use a formula to determine which cells to format\" title=\"Use a formula to determine which cells to format\"\/><\/figure>\n\n\n\n<p>Result. Excel highlights all odd numbers.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/odd-numbers.png\" alt=\"Odd Numbers\" title=\"Odd Numbers\"\/><\/figure>\n\n\n\n<p>Explanation: always write the formula for the upper-left cell in the selected range. Excel automatically copies the formula to the other cells. Thus, cell A2 contains the formula =ISODD(A2), cell A3 contains the formula =ISODD(A3), etc.<\/p>\n\n\n\n<p>Here&#8217;s another example.<\/p>\n\n\n\n<p>7. Select the range A2:D7.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/select-range.png\" alt=\"Select Range\" title=\"Select Range\"\/><\/figure>\n\n\n\n<p>8. Repeat steps 2-4 above.<\/p>\n\n\n\n<p>9. Enter the formula =$C2=&#8221;USA&#8221;<\/p>\n\n\n\n<p>10. Select a formatting style and click OK.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/format-values-where-this-formula-is-true.png\" alt=\"Format values where this formula is true\" title=\"Format values where this formula is true\"\/><\/figure>\n\n\n\n<p>Result. Excel highlights all USA orders.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.excel-easy.com\/data-analysis\/images\/conditional-formatting\/conditional-formatting-with-a-formula.png\" alt=\"Conditional Formatting with a Formula\" title=\"Conditional Formatting with a Formula\"\/><\/figure>\n\n\n\n<p>Explanation: we fixed the\u00a0reference\u00a0to column C by placing a $ symbol in front of the column letter ($C2). As a result, cell B2, C2 and cell D2 also contain the formula =$C2=&#8221;USA&#8221;, cell A3, B3, C3 and D3 contain the formula =$C3=&#8221;USA&#8221;, etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Conditional formatting\u00a0in\u00a0Excel\u00a0enables you to highlight cells with a certain color, depending on the cell&#8217;s value. Highlight Cells Rules To highlight cells that are greater than a value, execute the following steps. 1. Select the range A1:A10. 2. On the Home tab, in the Styles group, click Conditional Formatting. 3. Click Highlight Cells Rules, Greater Than. <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=2889\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,18],"tags":[541,540],"class_list":["post-2889","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office","tag-conditional-format","tag-conditional-formatting"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/2889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2889"}],"version-history":[{"count":1,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/2889\/revisions"}],"predecessor-version":[{"id":2890,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/2889\/revisions\/2890"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}