{"id":3285,"date":"2021-05-02T22:17:04","date_gmt":"2021-05-03T05:17:04","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=3285"},"modified":"2021-05-02T22:17:07","modified_gmt":"2021-05-03T05:17:07","slug":"how-to-count-unique-values-in-excel-365-unique-function","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=3285","title":{"rendered":"How to Count Unique Values in Excel 365 &#8211; UNIQUE Function"},"content":{"rendered":"\n<p>The Excel UNIQUE function returns a list of unique values in a list or range. Values can be text, numbers, dates, times, etc.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"326\" height=\"356\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/04\/image-7.png\" alt=\"\" class=\"wp-image-3286\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/04\/image-7.png 326w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2021\/04\/image-7-275x300.png 275w\" sizes=\"(max-width: 326px) 100vw, 326px\" \/><\/figure>\n\n\n\n<p>Extract unique values from range Return value&nbsp;Array of unique values Syntax&nbsp;=UNIQUE (array, [by_col], [exactly_once])Arguments&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>array<\/strong>&nbsp;&#8211; Range or array from which to extract unique values.<\/li><li><strong>by_col<\/strong>&nbsp;&#8211; [optional] How to compare and extract. By row = FALSE (default); by column = TRUE.<\/li><li><strong>exactly_once<\/strong>&nbsp;&#8211; [optional] TRUE = values that occur once, FALSE= all unique values (default).<\/li><\/ul>\n\n\n\n<p>The Excel UNIQUE function extracts a list of unique values from a range or&nbsp;array.&nbsp;The result is a dynamic array of unique values. If this array is the final result (i.e. not handed off to another function), array values will &#8220;spill&#8221; onto the worksheet into a range that automatically updates when new uniques values are added or removed from the source range.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Examples<\/h3>\n\n\n\n<p>To return unique values from in the range A1:A10, you can use a formula like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(A1:A10)<\/pre>\n\n\n\n<p>To return unique values from the horizontal range A1:E1, set the by_col argument to TRUE or 1:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(A1:E1,1) \/\/ extract unique from horizontal array<\/pre>\n\n\n\n<p>The UNIQUE function has an optional argument called&nbsp;<strong>exactly_once<\/strong>&nbsp;that controls how the function deals with repeating values. By default,&nbsp;<strong>exactly_once<\/strong>&nbsp;is FALSE. This means UNIQUE will extract unique values regardless of how many times they appear in the source data. If set to TRUE or 1, UNIQUE will extract only unique values that appear just once in the source data:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(A1:A10,0,1) \/\/ values that appear once only<\/pre>\n\n\n\n<p>UNIQUE is a new function&nbsp;available in&nbsp;Excel 365&nbsp;only. if you are using Excel 2013 or older, please see below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Excel UNIQUE function returns a list of unique values in a list or range. Values can be text, numbers, dates, times, etc. Extract unique values from range Return value&nbsp;Array of unique values Syntax&nbsp;=UNIQUE (array, [by_col], [exactly_once])Arguments&nbsp; array&nbsp;&#8211; Range or array from which to extract unique values. by_col&nbsp;&#8211; [optional] How to compare and extract. By <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=3285\">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":[703],"class_list":["post-3285","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-microsoft-office","tag-how-to-count-unique-values"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3285","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=3285"}],"version-history":[{"count":4,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3285\/revisions"}],"predecessor-version":[{"id":3298,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/3285\/revisions\/3298"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}