{"id":6486,"date":"2023-06-21T15:14:51","date_gmt":"2023-06-21T15:14:51","guid":{"rendered":"https:\/\/www.stl-training.co.uk\/b\/?p=6486"},"modified":"2023-12-30T22:30:05","modified_gmt":"2023-12-30T22:30:05","slug":"be-more-productive-with-excels-filter-function-1-of-2","status":"publish","type":"post","link":"https:\/\/www.stl-training.co.uk\/b\/be-more-productive-with-excels-filter-function-1-of-2\/","title":{"rendered":"Be More Productive With Excel\u2019s FILTER function (1 of 4)"},"content":{"rendered":"<p>How often have you found when you <a href=\"https:\/\/www.stl-training.co.uk\/microsoft\/excel-intermediate-courses.php\">filter Excel data<\/a>, problems arise in getting it to work? This can happen when you are sharing workbooks or the source data changes frequently. The solution lies in Office 365\u2019s FILTER function. This blog is part 1 of a series that explores the amazing functionality of some of the most popular Office 365 Excel functions starting with the FILTER function.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6033 size-full\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2022\/09\/building-confidence-1.jpg\" alt=\"\" width=\"1920\" height=\"1080\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2022\/09\/building-confidence-1.jpg 1920w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2022\/09\/building-confidence-1-300x169.jpg 300w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2022\/09\/building-confidence-1-1024x576.jpg 1024w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2022\/09\/building-confidence-1-768x432.jpg 768w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2022\/09\/building-confidence-1-1536x864.jpg 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h2><strong>What is the FILTER function<\/strong><\/h2>\n<p>The FILTER function is based on the standard way of filtering in Excel. It works by extracting the filtered rows from the source data and populating these rows to another sheet. As the filtering process does not affect the source data, we can share workbooks more efficiently. If you have ever struggled using the VLOOKUP to populate specific data into other sheets think again. Why not use the FILTER function instead? It does the same job but, unlike the VLOOKUP, it can return multiple \u2018filtered\u2019 rows based on an initial search. Plus, it&#8217;s easier to use. So, what\u2019s not to like!<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>How is the FILTER function different from other functions?<\/strong><\/h2>\n<p>The FILTER function is one of several Office 365 functions that behaves differently to all other Excel functions. With the FILTER function, the results automatically \u2018spill\u2019 into all available cells below. In contrast, all other functions require you to copy the result down manually.<\/p>\n<h2><strong>How to apply the FILTER function<\/strong><\/h2>\n<p>Let\u2019s take some financial data where we will need to filter all records relating to \u2018Rent\u2019 (see below)<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6489 size-full\" title=\"function\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-1.png\" alt=\"filter\" width=\"473\" height=\"537\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-1.png 473w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-1-264x300.png 264w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/p>\n<ol>\n<li>Copy the source data headings into another sheet and select the cell below the first heading \u2013 see below:<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6488 size-full\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-2.png\" alt=\"\" width=\"625\" height=\"162\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-2.png 625w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-2-300x78.png 300w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6487\" title=\"function\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-3.png\" alt=\"filter\" width=\"604\" height=\"102\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-3.png 760w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-3-300x51.png 300w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/p>\n<ul>\n<li>The 1<sup>st<\/sup> part is the \u2018ARRAY\u2019 or range of source data to be selected<\/li>\n<li>The 2<sup>nd<\/sup> part is the criteria TO INCUDE in the filter<\/li>\n<li>The 3<sup>rd<\/sup> part (\u2018IF EMPTY\u2019) is optional and returns an alternate answer if the filter criteria in part 2 does not find a \u2018match\u2019 e.g. if there are no records for \u2018Rent\u2019 then \u2018not found\u2019 is returned in the cell \u2013 if this 3<sup>rd<\/sup> part was not put in and the criteria was IT equipment, i.e.. not in the list, this would produce an error \u2013 see below:<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6492 size-full\" title=\"filter\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-4.png\" alt=\"function\" width=\"696\" height=\"160\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-4.png 696w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-4-300x69.png 300w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/p>\n<p>By inserting the 3<sup>rd<\/sup> part \u201cnot found\u201d, the above error will be converted to this text<\/p>\n<p>As \u2018Rent\u2019 is in the list in column A, we get the following filtered results:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6491 size-full\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-5.png\" alt=\"\" width=\"628\" height=\"243\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-5.png 628w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-5-300x116.png 300w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/p>\n<p>One problem that could arise is if there are not enough free rows to populate the results. If any data is \u2018blocking\u2019 this space, then you will get a #SPILL error:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-6490 size-full\" title=\"function\" src=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-6.png\" alt=\"filter\" width=\"624\" height=\"233\" srcset=\"https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-6.png 624w, https:\/\/www.stl-training.co.uk\/b\/wp-content\/uploads\/2023\/06\/filter-function-6-300x112.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>To remove the spill error, simply delete the data that is blocking the spill. Other Office 365 functions such as UNIQUE and SORT also have this \u2018spill\u2019 feature.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>The Excel FILTER function is a great alternative to the VLOOKUP as it is easier to use and can return multiple results based on an initial search. Consequently, the function can help you to improve your efficiency and productivity when you are handling large sets of data.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How often have you found when you filter Excel data, problems arise in getting it to work? This can happen when you are sharing workbooks or the source data changes frequently. The solution lies in Office 365\u2019s FILTER function. This blog is part 1 of a series that explores the amazing functionality of some of [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[637,4,9],"tags":[67,684],"class_list":["post-6486","post","type-post","status-publish","format-standard","hentry","category-application","category-excel-training","category-microsoft-office","tag-autofilter-and-sort-in-excel","tag-filter"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts\/6486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/comments?post=6486"}],"version-history":[{"count":2,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts\/6486\/revisions"}],"predecessor-version":[{"id":6527,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/posts\/6486\/revisions\/6527"}],"wp:attachment":[{"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/media?parent=6486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/categories?post=6486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stl-training.co.uk\/b\/wp-json\/wp\/v2\/tags?post=6486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}