{"id":95,"date":"2026-02-24T09:30:06","date_gmt":"2026-02-24T09:30:06","guid":{"rendered":"https:\/\/gigz.pk\/excel\/?post_type=lesson&#038;p=95"},"modified":"2026-03-09T13:33:29","modified_gmt":"2026-03-09T13:33:29","slug":"filter","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/excel\/lesson\/filter\/","title":{"rendered":"\u00a0FILTER"},"content":{"rendered":"\n<p>The <strong>FILTER<\/strong> function is a Dynamic Array function that extracts data from a range based on specific conditions.<\/p>\n\n\n\n<p>It automatically returns all matching results and updates when the data changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Syntax<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(array, include, [if_empty])<\/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 to filter<\/li>\n\n\n\n<li><strong>include<\/strong> \u2192 Condition to apply<\/li>\n\n\n\n<li><strong>if_empty<\/strong> (optional) \u2192 Value to return if no match found<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Basic Example<\/h2>\n\n\n\n<p>If A2:A10 contains numbers:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(A2:A10, A2:A10&gt;50)<\/pre>\n\n\n\n<p>This returns all numbers greater than 50.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Filtering Multiple Columns<\/h2>\n\n\n\n<p>If you have:<\/p>\n\n\n\n<p>| Name | Department | Salary |<\/p>\n\n\n\n<p>To filter IT department:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(A2:C10, B2:B10=\"IT\")<\/pre>\n\n\n\n<p>Returns all rows where Department = IT.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Multiple Conditions (AND Logic)<\/h2>\n\n\n\n<p>Use * (multiplication):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(A2:C10, (B2:B10=\"IT\")*(C2:C10&gt;50000))<\/pre>\n\n\n\n<p>Returns rows where:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Department = IT<br>AND<\/li>\n\n\n\n<li>Salary &gt; 50000<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Multiple Conditions (OR Logic)<\/h2>\n\n\n\n<p>Use + (addition):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(A2:C10, (B2:B10=\"IT\")+(B2:B10=\"HR\"))<\/pre>\n\n\n\n<p>Returns IT OR HR department data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using if_empty Argument<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(A2:A10, A2:A10&gt;100, \"No Data Found\")<\/pre>\n\n\n\n<p>If no value is greater than 100, Excel shows:<br>No Data Found<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FILTER with Tables (Recommended)<\/h2>\n\n\n\n<p>If your data is in a table named SalesTable:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">=FILTER(SalesTable, SalesTable[Department]=\"IT\")<\/pre>\n\n\n\n<p>Structured references make formulas cleaner and dynamic.<\/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 range is blocked.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#CALC!<\/h3>\n\n\n\n<p>Occurs when no results and no if_empty value provided.<\/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 instantly when source data changes<\/li>\n\n\n\n<li>Works well with SORT and UNIQUE<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example: FILTER + SORT<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">=SORT(FILTER(A2:C10, B2:B10=\"IT\"))<\/pre>\n\n\n\n<p>Filters IT department and sorts results automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of FILTER<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>No need for AutoFilter<\/li>\n\n\n\n<li>Dynamic results<\/li>\n\n\n\n<li>Cleaner formulas<\/li>\n\n\n\n<li>Powerful reporting<\/li>\n\n\n\n<li>Ideal for dashboards<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The FILTER function is a powerful tool for extracting specific data dynamically. It simplifies complex filtering tasks and makes Excel reports more flexible 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 > FILTER<\/span><\/span><\/div>\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1773063267342\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n","protected":false},"menu_order":57,"template":"","class_list":["post-95","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>\u00a0FILTER - Learn Excel the Right Way.<\/title>\n<meta name=\"description\" content=\"Learn the Excel FILTER function to extract data dynamically, apply multiple conditions, and create powerful automated reports\" \/>\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\/filter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00a0FILTER - Learn Excel the Right Way.\" \/>\n<meta property=\"og:description\" content=\"Learn the Excel FILTER function to extract data dynamically, apply multiple conditions, and create powerful automated reports\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/excel\/lesson\/filter\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn Excel the Right Way.\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-09T13:33:29+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\\\/filter\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/filter\\\/\",\"name\":\"\u00a0FILTER - Learn Excel the Right Way.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/#website\"},\"datePublished\":\"2026-02-24T09:30:06+00:00\",\"dateModified\":\"2026-03-09T13:33:29+00:00\",\"description\":\"Learn the Excel FILTER function to extract data dynamically, apply multiple conditions, and create powerful automated reports\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/filter\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/filter\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/lesson\\\/filter\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/excel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Excel Advanced Analytics (EAA) > Advanced Formulas > FILTER\"}]},{\"@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":"\u00a0FILTER - Learn Excel the Right Way.","description":"Learn the Excel FILTER function to extract data dynamically, apply multiple conditions, and create powerful automated reports","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\/filter\/","og_locale":"en_US","og_type":"article","og_title":"\u00a0FILTER - Learn Excel the Right Way.","og_description":"Learn the Excel FILTER function to extract data dynamically, apply multiple conditions, and create powerful automated reports","og_url":"https:\/\/gigz.pk\/excel\/lesson\/filter\/","og_site_name":"Learn Excel the Right Way.","article_modified_time":"2026-03-09T13:33:29+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\/filter\/","url":"https:\/\/gigz.pk\/excel\/lesson\/filter\/","name":"\u00a0FILTER - Learn Excel the Right Way.","isPartOf":{"@id":"https:\/\/gigz.pk\/excel\/#website"},"datePublished":"2026-02-24T09:30:06+00:00","dateModified":"2026-03-09T13:33:29+00:00","description":"Learn the Excel FILTER function to extract data dynamically, apply multiple conditions, and create powerful automated reports","breadcrumb":{"@id":"https:\/\/gigz.pk\/excel\/lesson\/filter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/excel\/lesson\/filter\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/excel\/lesson\/filter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/excel\/"},{"@type":"ListItem","position":2,"name":"Excel Advanced Analytics (EAA) > Advanced Formulas > FILTER"}]},{"@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\/95","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=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}