{"id":8844,"date":"2018-06-30T18:00:17","date_gmt":"2018-06-30T16:00:17","guid":{"rendered":"https:\/\/blog.sheetgo.com\/?p=8844"},"modified":"2018-06-30T18:00:17","modified_gmt":"2018-06-30T16:00:17","slug":"formula-countunique-no-google-sheets","status":"publish","type":"post","link":"https:\/\/www.sheetgo.com\/pt\/blog\/google-sheets-formulas\/countunique-formula-in-google-sheets\/","title":{"rendered":"Como usar a f\u00f3rmula COUNTUNIQUE do 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>While working with spreadsheets, we are bound to do many sorts of calculations. And we will, at times need to calculate unique occurrences of a dataset. The number of unique customers that shopped at a store, for example. How do we achieve this easily? We can, with the help of<span>\u00a0<\/span><a href=\"https:\/\/support.google.com\/docs\/answer\/3093405\" target=\"_blank\" rel=\"noopener noreferrer\">COUNTUNIQUE<\/a><span>\u00a0<\/span>formula in Google Sheets application.<\/p>\n<h3>Syntax<\/h3>\n<p><strong>COUNTUNIQUE(value1, [value2, \u2026])<\/strong><\/p>\n<ul>\n<li><strong>value1<\/strong><span>\u00a0<\/span>\u2013 is the first input value in the dataset, which the formula has to identify the uniqueness from.<\/li>\n<li><strong>value2<\/strong>, \u2026 \u2013 [ OPTIONAL ] \u2013 these are additional values in the dataset we are considering to identify the number of unique values from.<\/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<h3>Usage: COUNTUNIQUE formula in Google Sheets<\/h3>\n<p>We have just learned the syntax to the formula. Now it is time to dive headfirst into\u00a0practically applying this newfound knowledge on the Google Sheets application. Take a look at the image below.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/COUNTUNIQUE-formula-Illustration-Frame-1.png&#8221; alt=&#8221;COUNTUNIQUE Google Sheets: Usage&#8221; title_text=&#8221;countunique-formula-usage&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; 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>The first example consumes direct numeric values and returns the count of unique instances of each value. The second example is a demonstration that shows us that the COUNTUNIQUE formula can use references to cells that store values. In the third example, instead of sending multiple values or references, we have passed a single composite range. This composite cell range consists of all the values from A2 through A11. And, in the final example, we not only passed direct numeric values but also a couple range references.<\/p>\n<p>You\u2019ll observe that the output is the same across all examples, regardless of the approach that we have taken with the formula. If we quickly validate the input dataset, we will indeed notice that there are 7 unique values within column A. And that is what the formula has returned.<\/p>\n<h4>Note<\/h4>\n<p>The COUNTUNIQUE formula is not just confined to numeric values. It can also consider strings for input values. We have demonstrated this capability in the following image.<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/COUNTUNIQUE-formula-Illustration-Frame-2.png&#8221; alt=&#8221;COUNTUNIQUE Google Sheets: Strings Input Values&#8221; title_text=&#8221;countunique-strings-input-value&#8221; _builder_version=&#8221;4.16&#8243; width=&#8221;640px&#8221; max_width=&#8221;640px&#8221; height=&#8221;440px&#8221; max_height=&#8221;440px&#8221; 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><span>You can read more about the COUNT formula in the following blog: <\/span><a href=\"https:\/\/www.sheetgo.com\/blog\/google-sheets-formulas\/count-formula-google-sheets\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to use the COUNT formula in Google Sheets<\/a>.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While working with spreadsheets, we are bound to do many sorts of calculations. And we will, at times need to calculate unique occurrences of a dataset. The number of unique customers that shopped at a store, for example. How do we achieve this easily? We can, with the help of\u00a0COUNTUNIQUE\u00a0formula in Google Sheets application. Syntax [&hellip;]<\/p>\n","protected":false},"author":40,"featured_media":8845,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"While working with spreadsheets, we are bound to do many sorts of calculations. And we will, at times need to calculate unique occurrences of a dataset. The number of unique customers that shopped at a store, for example. How do we achieve this easily? We can, with the help of <a href=\"https:\/\/support.google.com\/docs\/answer\/3093405\" target=\"_blank\" rel=\"noopener\">COUNTUNIQUE<\/a> formula in Google Sheets application.\n<h3>Syntax<\/h3>\n<strong>COUNTUNIQUE(value1, [value2, ...])<\/strong>\n<ul>\n \t<li><strong>value1<\/strong> - is the first input value in the dataset, which the formula has to identify the uniqueness from.<\/li>\n \t<li><strong>value2<\/strong>, ... - [ OPTIONAL ] - these are additional values in the dataset we are considering to identify the number of unique values from.<\/li>\n<\/ul>\n<h3>Usage: COUNTUNIQUE formula in Google Sheets<\/h3>\nWe have just learned the syntax to the formula. Now it is time to dive headfirst into\u00a0practically applying this newfound knowledge on the Google Sheets application. Take a look at the image below.\n\n<img class=\"aligncenter size-full wp-image-8939\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/COUNTUNIQUE-formula-Illustration-Frame-1.png\" alt=\"COUNTUNIQUE formula in Google Sheets\" width=\"863\" height=\"554\" \/>\n\nThe first example consumes direct numeric values and returns the count of unique instances of each value. The second example is a demonstration that shows us that the COUNTUNIQUE formula can use references to cells that store values. In the third example, instead of sending multiple values or references, we have passed a single composite range. This composite cell range consists of all the values from A2 through A11. And, in the final example, we not only passed direct numeric values but also a couple range references.\n\nYou\u2019ll observe that the output is the same across all examples, regardless of the approach that we have taken with the formula. If we quickly validate the input dataset, we will indeed notice that there are 7 unique values within column A. And that is what the formula has returned.\n<h4>Note<\/h4>\nThe COUNTUNIQUE formula is not just confined to numeric values. It can also consider strings for input values. We have demonstrated this capability in the following image.\n\n<img class=\"aligncenter size-full wp-image-8940\" src=\"https:\/\/static.sheetgo.com\/wp-content\/uploads\/2018\/06\/COUNTUNIQUE-formula-Illustration-Frame-2.png\" alt=\"COUNTUNIQUE formula in Google Sheets\" width=\"863\" height=\"554\" \/>","_et_gb_content_width":"","footnotes":""},"categories":[54],"tags":[39,28],"class_list":["post-8844","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\/8844","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=8844"}],"version-history":[{"count":0,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/posts\/8844\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media\/8845"}],"wp:attachment":[{"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/media?parent=8844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/categories?post=8844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sheetgo.com\/pt\/wp-json\/wp\/v2\/tags?post=8844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}