{"id":7594,"date":"2018-01-24T16:19:10","date_gmt":"2018-01-24T15:19:10","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=7594"},"modified":"2023-11-30T20:37:54","modified_gmt":"2023-11-30T19:37:54","slug":"count-formula-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/count-formula-excel\/","title":{"rendered":"Count Formula in Excel"},"content":{"rendered":"<p><em><strong>What does it do?<\/strong><\/em><\/p>\n<p>Counts the number of cells that contain numbers<\/p>\n<p><em><strong>Formula breakdown:<\/strong><\/em><\/p>\n<p>=COUNT(<span style=\"color: #0000ff;\">value1<\/span>, <span style=\"color: #ff6600;\">[value2]&#8230;<\/span>)<\/p>\n<p><em><strong>What it means:<\/strong><\/em><\/p>\n<p>=COUNT(<span style=\"color: #0000ff;\">range of cells to check<\/span>, <span style=\"color: #ff6600;\">[additional cells to include in the check]&#8230;<\/span>)<\/p>\n<hr \/>\n<p>Ever had a column of data and wanted to check if all of the values contain valid numbers?<\/p>\n<p>It would be cumbersome to count and check them one by one, especially if you had hundreds of entries!<\/p>\n<p>Imagine we have the following data, we see an error, a text and a couple of numbers:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-01.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Count Formula in Excel\"  class=\"alignnone size-full wp-image-7599\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-01.jpg\" alt=\"Count Formula in Excel\" width=\"148\" height=\"144\" \/><\/a><\/p>\n<p>Thankfully there is an easy way to count how many of these cells contain valid numbers using the Excel&#8217;s\u00a0<strong>COUNT formula.<\/strong><\/p>\n<p>I explain how you can do this below:<\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/WjEl8tFxjqA?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle;\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">COUNT-FORMULA.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> We need to <strong>enter the <i>COUNT\u00a0<\/i>function in a blank cell<\/strong>:<\/p>\n<h2 style=\"text-align: center;\"><span style=\"color: #0000ff;\">=COUNT(<\/span><\/h2>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-02.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Count Formula in Excel\"  class=\"alignnone size-full wp-image-7600\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-02.jpg\" alt=\"Count Formula in Excel\" width=\"400\" height=\"151\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-02.jpg 400w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-02-300x113.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span>\u00a0The <b>COUNT\u00a0<\/b>arguments:<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_57_1 counter-flat ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li><a href=\"#\" class=\"scroll-to-download\">Free Practice Workbook<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/count-formula-excel\/#value\" title=\"value\">value<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"value\"><\/span><span style=\"color: #0000ff;\"><em><strong>value<\/strong><\/em><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>What is the value \/ range of values that you want to check?<\/strong><\/p>\n<h2 style=\"text-align: center;\">=COUNT(<span style=\"color: #0000ff;\">C9:C12)<\/span><\/h2>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-03.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Count Formula in Excel\"  class=\"alignnone size-full wp-image-7601\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-03.jpg\" alt=\"Count Formula in Excel\" width=\"304\" height=\"154\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-03.jpg 304w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-03-300x152.jpg 300w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You now have your count of valid numbers!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-04.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Count Formula in Excel\"  class=\"alignnone size-full wp-image-7602\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-04.jpg\" alt=\"Count Formula in Excel\" width=\"304\" height=\"154\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-04.jpg 304w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/COUNT-FORMULA-04-300x152.jpg 300w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Count Formula in Excel<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What does it do? Counts the number of cells that contain numbers Formula breakdown: =COUNT(value1, [value2]&#8230;) What it means: =COUNT(range of cells to check, [additional cells to include in the check]&#8230;) Ever had a column of data and wanted to check if all of the values contain valid numbers? It would be cumbersome to count [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[638,3,15],"tags":[326,142],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/7594"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=7594"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/7594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17699"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=7594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=7594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=7594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}