{"id":96,"date":"2026-02-24T09:30:58","date_gmt":"2026-02-24T09:30:58","guid":{"rendered":"https:\/\/gigz.pk\/excel\/?post_type=lesson&#038;p=96"},"modified":"2026-03-09T13:44:28","modified_gmt":"2026-03-09T13:44:28","slug":"unique","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/excel\/lesson\/unique\/","title":{"rendered":"UNIQUE"},"content":{"rendered":"\n<p>The <strong>UNIQUE<\/strong> function is a Dynamic Array function that returns distinct (non-duplicate) values from a range or array.<\/p>\n\n\n\n<p>It automatically removes duplicates and updates when the source data changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Syntax<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(array, [by_col], [exactly_once])<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Arguments:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>array<\/strong> \u2192 The range from which you want unique values<\/li>\n\n\n\n<li><strong>by_col<\/strong> (optional) \u2192 TRUE = compare by column, FALSE = compare by row<\/li>\n\n\n\n<li><strong>exactly_once<\/strong> (optional) \u2192 TRUE = return values that appear only once<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Basic Example<\/h2>\n\n\n\n<p>If A2:A10 contains:<\/p>\n\n\n\n<p>IT<br>HR<br>IT<br>Finance<br>HR<\/p>\n\n\n\n<p>Formula:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(A2:A10)<\/pre>\n\n\n\n<p>Result:<\/p>\n\n\n\n<p>IT<br>HR<br>Finance<\/p>\n\n\n\n<p>Duplicates are removed automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">UNIQUE with Multiple Columns<\/h2>\n\n\n\n<p>If you have:<\/p>\n\n\n\n<p>| Name | Department |<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(A2:B10)<\/pre>\n\n\n\n<p>Returns unique combinations of Name and Department.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Return Values That Appear Only Once<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(A2:A10, FALSE, TRUE)<\/pre>\n\n\n\n<p>Returns only values that appear exactly one time.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>IT (2 times) \u2192 Removed<br>Finance (1 time) \u2192 Returned<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">UNIQUE with Tables (Recommended)<\/h2>\n\n\n\n<p>If your data is in a table named Employees:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(Employees[Department])<\/pre>\n\n\n\n<p>Structured references make formulas dynamic and clean.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Combine UNIQUE with SORT<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=SORT(UNIQUE(A2:A10))<\/pre>\n\n\n\n<p>Returns sorted unique values.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Combine UNIQUE with FILTER<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=UNIQUE(FILTER(A2:A10, B2:B10=\"IT\"))<\/pre>\n\n\n\n<p>Returns unique values only from IT department.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Errors<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">#SPILL!<\/h3>\n\n\n\n<p>Occurs when output area is blocked.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Important Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Available in Excel 365 and Excel 2021+<\/li>\n\n\n\n<li>Automatically spills results<\/li>\n\n\n\n<li>Updates dynamically when data changes<\/li>\n\n\n\n<li>Case-insensitive by default<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of UNIQUE<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Removes duplicates instantly<\/li>\n\n\n\n<li>Creates dynamic dropdown lists<\/li>\n\n\n\n<li>Simplifies reporting<\/li>\n\n\n\n<li>Works perfectly with FILTER and SORT<\/li>\n\n\n\n<li>Ideal for dashboards<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">UNIQUE vs Remove Duplicates Tool<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>UNIQUE Function<\/th><th>Remove Duplicates<\/th><\/tr><\/thead><tbody><tr><td>Dynamic<\/td><td>Manual<\/td><\/tr><tr><td>Updates automatically<\/td><td>Static result<\/td><\/tr><tr><td>Formula-based<\/td><td>One-time action<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The UNIQUE function is a powerful and modern Excel feature that automatically extracts distinct values. It improves efficiency, simplifies reporting, and makes data analysis more dynamic and professional.<\/p>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/excel\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">Excel Advanced Analytics (EAA) > Advanced Formulas > UNIQUE<\/span><\/span><\/div>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1773063517329\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n","protected":false},"menu_order":58,"template":"","class_list":["post-96","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>UNIQUE - Learn Excel the Right Way.<\/title>\n<meta name=\"description\" content=\"Learn the Excel UNIQUE function to extract distinct values, remove duplicates dynamically, and build cleaner reports and dashboards\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/excel\/lesson\/unique\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UNIQUE - Learn Excel the Right Way.\" \/>\n<meta property=\"og:description\" content=\"Learn the Excel UNIQUE function to extract distinct values, remove duplicates dynamically, and build cleaner reports and dashboards\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/excel\/lesson\/unique\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Excel the Right Way.\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-09T13:44:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/unique\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/unique\\\/\",\"name\":\"UNIQUE - Learn Excel the Right Way.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\"},\"datePublished\":\"2026-02-24T09:30:58+00:00\",\"dateModified\":\"2026-03-09T13:44:28+00:00\",\"description\":\"Learn the Excel UNIQUE function to extract distinct values, remove duplicates dynamically, and build cleaner reports and dashboards\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/unique\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/unique\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/unique\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel Advanced Analytics (EAA) > Advanced Formulas > UNIQUE\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\",\"name\":\"Learn Excel the Right Way.\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UNIQUE - Learn Excel the Right Way.","description":"Learn the Excel UNIQUE function to extract distinct values, remove duplicates dynamically, and build cleaner reports and dashboards","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:\/\/gigz.pk\/excel\/lesson\/unique\/","og_locale":"en_US","og_type":"article","og_title":"UNIQUE - Learn Excel the Right Way.","og_description":"Learn the Excel UNIQUE function to extract distinct values, remove duplicates dynamically, and build cleaner reports and dashboards","og_url":"https:\/\/gigz.pk\/excel\/lesson\/unique\/","og_site_name":"Learn Excel the Right Way.","article_modified_time":"2026-03-09T13:44:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/excel\/lesson\/unique\/","url":"https:\/\/gigz.pk\/excel\/lesson\/unique\/","name":"UNIQUE - Learn Excel the Right Way.","isPartOf":{"@id":"https:\/\/gigz.pk\/excel\/#website"},"datePublished":"2026-02-24T09:30:58+00:00","dateModified":"2026-03-09T13:44:28+00:00","description":"Learn the Excel UNIQUE function to extract distinct values, remove duplicates dynamically, and build cleaner reports and dashboards","breadcrumb":{"@id":"https:\/\/gigz.pk\/excel\/lesson\/unique\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/excel\/lesson\/unique\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/excel\/lesson\/unique\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/excel\/"},{"@type":"ListItem","position":2,"name":"Excel Advanced Analytics (EAA) > Advanced Formulas > UNIQUE"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/excel\/#website","url":"https:\/\/gigz.pk\/excel\/","name":"Learn Excel the Right Way.","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/excel\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/lesson\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/excel\/wp-json\/wp\/v2\/media?parent=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}