{"id":8343,"date":"2021-11-02T14:46:53","date_gmt":"2021-11-02T14:46:53","guid":{"rendered":"https:\/\/officetuts.net\/excel\/?p=8343"},"modified":"2024-03-28T10:44:50","modified_gmt":"2024-03-28T10:44:50","slug":"use-average-with-conditional-formatting","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/","title":{"rendered":"Use Average with Conditional Formatting in Excel"},"content":{"rendered":"\n
Use-Average-with-Conditional-Formatting<\/a>Download File<\/a><\/div>\n\n\n\n

We have already shown the usefulness of conditional formatting and the various occasions on which it can be used.<\/p>\n\n\n\n

In the example below, we will show how to use conditional formatting<\/strong> with the average formula<\/strong>.<\/p>\n\n\n\n

Combining Average and Conditional Formatting<\/h2>\n\n\n\n

We will show above stated with the table of the best NBA scorers in the season 2021\/2022 so far:<\/p>\n\n\n\n

\"Table\n\nDescription<\/figure>\n\n\n\n

Now we want to highlight only those players in column A<\/strong> that have more points than the average of all the players in the table.<\/p>\n\n\n\n

We can do this in two ways- we can directly input the formula in Conditional Formatting<\/strong> or place the formula in the sheet and then use Conditional Formatting<\/strong>:<\/p>\n\n\n\n

    \n
  1. Formula directly in Conditional Formatting:<\/strong><\/li>\n<\/ol>\n\n\n\n

    To do this, we will select range A2:A21<\/strong> and then go to Home >> Conditional Formatting >> New Rule:<\/strong><\/p>\n\n\n\n

    \"Graphical<\/figure>\n\n\n\n

    On a pop-up window that appears we will choose the last option- Use a formula to determine which cells to format<\/strong>, and we will input the following formula beneath the line: Format value where this formula is true:<\/strong><\/p>\n\n\n\n

    =B2>AVERAGE($B$2:$B$21)<\/code><\/pre>\n\n\n\n

    We will format all of these cells in column<\/strong><\/a> A<\/strong> with green color. The pop-up window will look like this:<\/p>\n\n\n\n

    \"Graphical<\/figure>\n\n\n\n

    Once we click OK<\/strong>, our table will look like this:<\/p>\n\n\n\n

    \"A<\/figure>\n\n\n\n
      \n
    1. The formula in the sheet directly<\/strong><\/li>\n<\/ol>\n\n\n\n

      We can also combine the IF and AVERAGE formulas<\/strong> on our sheet directly and then use the results that we get to highlight the players.<\/p>\n\n\n\n

      We will put the formula in column C<\/strong>, and it will be like this:<\/p>\n\n\n\n

      =IF(B2<AVERAGE($B$2:$B$21), \"Less than average\", \"Higher than average\")<\/code><\/pre>\n\n\n\n

      What this formula does is that it checks if the number in cell B2<\/strong> is smaller than the average in the range B2:B21<\/strong> (these cells are locked as the range will not change) and gives out the result \u201cless than average\u201d<\/strong> if the statement is true and \u201chigher than average\u201d<\/strong> if this statement is false.<\/p>\n\n\n\n

      We will drag this formula to cell C21<\/strong>. Our table looks like this:<\/p>\n\n\n\n

      \"Graphical<\/figure>\n\n\n\n

      Let us say that we want to find all the players that have fewer points than the average. To do this, we will select range C2:C21<\/strong> and then go to Home >> Conditional Formatting >> Highlight Cells Rules >> Text that Contains:<\/strong><\/p>\n\n\n\n

      \"Graphical<\/figure>\n\n\n\n

      When a pop-up appears, we will input any word from column C<\/strong> that is specific so that we can find players with fewer points than average. We will simply input the word \u201cless\u201d<\/strong> (it can be the lower case as well):<\/p>\n\n\n\n

      \"Graphical<\/figure>\n\n\n\n

      When we click OK<\/strong>, cells in column C<\/strong> with players that have less than average points will be highlighted in red color:<\/p>\n\n\n\n

      \"Graphical<\/figure>\n","protected":false},"excerpt":{"rendered":"

      We have already shown the usefulness of conditional formatting and the various occasions on which it can be used. In the example below,…<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[170,190],"yoast_head":"\nUse Average with Conditional Formatting in Excel<\/title>\n<meta name=\"description\" content=\"Learn how to use conditional formatting with the average formula in Excel. Download the file and follow the step-by-step guide!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use Average with Conditional Formatting in Excel\" \/>\n<meta property=\"og:description\" content=\"Learn how to use conditional formatting with the average formula in Excel. Download the file and follow the step-by-step guide!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-02T14:46:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T10:44:50+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png\" \/>\n<meta name=\"author\" content=\"Harun Spahic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Harun Spahic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\"},\"author\":{\"name\":\"Harun Spahic\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\"},\"headline\":\"Use Average with Conditional Formatting in Excel\",\"datePublished\":\"2021-11-02T14:46:53+00:00\",\"dateModified\":\"2024-03-28T10:44:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\"},\"wordCount\":439,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png\",\"keywords\":[\"file\",\"pinterest\"],\"articleSection\":[\"examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\",\"url\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\",\"name\":\"Use Average with Conditional Formatting in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png\",\"datePublished\":\"2021-11-02T14:46:53+00:00\",\"dateModified\":\"2024-03-28T10:44:50+00:00\",\"description\":\"Learn how to use conditional formatting with the average formula in Excel. Download the file and follow the step-by-step guide!\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage\",\"url\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png\",\"contentUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use Average with Conditional Formatting in Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\",\"name\":\"Harun Spahic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"caption\":\"Harun Spahic\"},\"sameAs\":[\"http:\/\/human.bsru.ac.th\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use Average with Conditional Formatting in Excel","description":"Learn how to use conditional formatting with the average formula in Excel. Download the file and follow the step-by-step guide!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/","og_locale":"en_US","og_type":"article","og_title":"Use Average with Conditional Formatting in Excel","og_description":"Learn how to use conditional formatting with the average formula in Excel. Download the file and follow the step-by-step guide!","og_url":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/","article_published_time":"2021-11-02T14:46:53+00:00","article_modified_time":"2024-03-28T10:44:50+00:00","og_image":[{"url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png"}],"author":"Harun Spahic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Harun Spahic","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/"},"author":{"name":"Harun Spahic","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2"},"headline":"Use Average with Conditional Formatting in Excel","datePublished":"2021-11-02T14:46:53+00:00","dateModified":"2024-03-28T10:44:50+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/"},"wordCount":439,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png","keywords":["file","pinterest"],"articleSection":["examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/","url":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/","name":"Use Average with Conditional Formatting in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png","datePublished":"2021-11-02T14:46:53+00:00","dateModified":"2024-03-28T10:44:50+00:00","description":"Learn how to use conditional formatting with the average formula in Excel. Download the file and follow the step-by-step guide!","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#primaryimage","url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png","contentUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2021\/11\/table-description-automatically-generated-6.png"},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/examples\/use-average-with-conditional-formatting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Use Average with Conditional Formatting in Excel"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."},{"@type":"Person","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2","name":"Harun Spahic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","caption":"Harun Spahic"},"sameAs":["http:\/\/human.bsru.ac.th\/"]}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/8343"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=8343"}],"version-history":[{"count":6,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/8343\/revisions"}],"predecessor-version":[{"id":17368,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/8343\/revisions\/17368"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=8343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=8343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=8343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}