{"id":3593,"date":"2017-03-30T20:47:26","date_gmt":"2017-03-30T18:47:26","guid":{"rendered":"https:\/\/www.sheetgo.com\/?p=3593"},"modified":"2017-03-30T20:47:26","modified_gmt":"2017-03-30T18:47:26","slug":"formula-cont-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/count-formula-google-sheets\/","title":{"rendered":"Como usar a f\u00f3rmula COUNT no Planilhas Google"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; module_class=&#8221;sheetgo-post&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221; theme_builder_area=&#8221;post_content&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>The<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093620?hl=en&amp;ref_topic=3105600\" target=\"_blank\" rel=\"noopener noreferrer\">COUNT<\/a><span>\u00a0<\/span>formula in Google Sheets is one of the simplest and most widely used formulas for day to day spreadsheet needs. It gives us the number of numeric values within the specified data set. Simply put, it helps us to count numbers.<\/p>\n<h3>Syntax<\/h3>\n<p><strong><span>COUNT(value1, [value2, \u2026])<\/span><\/strong><\/p>\n<ul>\n<li><span><strong>value1<\/strong><\/span><span>\u00a0<\/span>\u2013 is the value or reference to a range of cell(s) to consider while counting.<\/li>\n<li><span><strong>value2<\/strong><\/span><span>\u00a0<\/span>\u2013 and above are optional and additional values or ranges to consider for counting.<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<h4>Usage: COUNT formula in Google Sheets<\/h4>\n<p>We will try and explain the syntax with a few examples below \u2013 as it helps strengthen our understanding.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/count1.png&#8221; alt=&#8221;COUNT Formula in Google Sheets: Usage&#8221; title_text=&#8221;count-formula-usage&#8221; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>From the list of cases illustrated above, we can deduce that the input parameters can take any of the following forms. It can be a number, text within double quotes, and reference to a range of cells.<\/p>\n<p>Consider the first five cases (rows 2 through to 6). No matter what kind of combination we use for the input parameters, the COUNT formula does its job \u2013 just counts the numbers. In all of these cases, the formula returned the value 6, while there are 8 different values (including the \u201cFailed\u201d ones). Therefore, we can establish that it is comfortably ignoring the text values, and only taking numbers into account.<\/p>\n<p>Let us see what other things the COUNT formula counts.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/count2.png&#8221; alt=&#8221;COUNT Formula in Google Sheets&#8221; title_text=&#8221;count-google-sheets&#8221; align=&#8221;center&#8221; module_class=&#8221;sheetgo-post-no-shadow-img&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;][\/et_pb_image][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221; theme_builder_area=&#8221;post_content&#8221;]<\/p>\n<p>In the above image, we have put in various arbitrary values like a date, currency, percentage, decimal, and text. And accordingly we have validated for numbers on the second column, using the ISNUMBER formula. So, the values on the rows 2, 3, 5 and 6 are numbers and those on 4 and 7 are not numbers. And, not surprisingly, the COUNT formulas on the column C counted only those that are numbers.<\/p>\n<p>So far, so good. What if we want to include the non numeric values within the count result? We can do that using another simple function. It is the COUNT formula\u2019s big brother, the<span>\u00a0<\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/counta-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">COUNTA<\/a><span>\u00a0<\/span>formula, which is capable of counting text values too. However, we demonstrate this concept in a different post.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The\u00a0COUNT\u00a0formula in Google Sheets is one of the simplest and most widely used formulas for day to day spreadsheet needs. It gives us the number of numeric values within the specified data set. Simply put, it helps us to count numbers. Syntax COUNT(value1, [value2, \u2026]) value1\u00a0\u2013 is the value or reference to a range of [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":3626,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"In Google Sheets, the <a href=\"https:\/\/support.google.com\/docs\/answer\/3093620?hl=en&ref_topic=3105600\">COUNT<\/a> formula is one of simplest and most widely used formulas for day to day spreadsheet needs. It gives us the number of numeric values within the specified data set. Simply put, it helps us count numbers.\n<h3>Syntax<\/h3>\n<strong><span style=\"font-family: courier new,courier,monospace; font-size: 14pt;\">COUNT(value1, [value2, ...])<\/span><\/strong>\n<ul>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>value1<\/strong><\/span> - is the value or reference to a range of cell(s) to consider while counting.<\/li>\n \t<li><span style=\"font-family: courier new,courier,monospace; font-size: 12pt;\"><strong>value2<\/strong><\/span> - and above are optional and additional values or ranges to consider for counting.<\/li>\n<\/ul>\n<h4>Usage: COUNT Formula<\/h4>\nWe will try and explain the syntax with a few examples below - as it helps strengthen our understanding.\n\n<img class=\"aligncenter size-full wp-image-3604\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/count1.png\" alt=\"COUNT Formula - Illustration 1\" width=\"668\" height=\"266\" \/>\n\nFrom the list of cases illustrated above, we can deduce that the input parameters can take any of the following forms. It can be a number, text within double quotes, and reference to a range of cells.\n\nConsider the first five cases (rows 2 through to 6). No matter what kind of combination we use for the input parameters, the COUNT formula does its job - just counts the numbers. In all of these cases, the formula returned the value 6, while there are 8 different values (including the \"Failed\" ones). Therefore, we can establish that it is comfortably ignoring the text values, and only taking numbers into account.\n\nLet us see what other things the COUNT formula counts.\n\n<img class=\"aligncenter size-full wp-image-3605\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2017\/11\/count2.png\" alt=\"COUNT Formula - Illustration 2\" width=\"550\" height=\"220\" \/>\n\nIn the above image, we have put in various arbitrary values like a date, currency, percentage, decimal, and text. And accordingly we have validated for numbers on the second column, using the ISNUMBER formula. So, the values on the rows 2, 3, 5 and 6 are numbers and those on 4 and 7 are not numbers. And, not surprisingly, the COUNT formulas on the column C counted only those that are numbers.\n\nSo far, so good. What if we want to include the non numeric values within the count result? We can do that using another simple function. It is the COUNT formula's big brother, the <a href=\"https:\/\/support.google.com\/docs\/answer\/3093991?hl=en\">COUNTA<\/a> formula, which is capable of counting text values too. However, we demonstrate this concept in a different post.\n\n\u00a0","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-3593","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-google-sheets-formulas","tag-connections-t","tag-spreadsheets"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/3593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/comments?post=3593"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/3593\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/3626"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=3593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=3593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=3593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}