How to Use the Excel Dynamic Array FILTER Function

What do you do if you want to Lookup multiple criteria that returns all match results, not just the first match? Then the new Excel Dynamic Array FILTER formula will come to the rescue. It will take you to the future! This function is only available to Office 365 subscribers.

Hi, we are Happy

We are leading a movement to create happy, empowered and productive workplaces.

How can we help you and your people to find joy in at least 80% of your work?

Keep informed about happy workplaces

Sign up to Henry's monthly Happy Manifesto newsletter, full of tips and inspiration to help you to create a happy, engaged workplace.

The new FILTER formula is like the automatic version of Excel’s advanced filter feature but even better.

Basically the Excel Filter function filters your data based on criteria you define. It then returns all the matching records based on other conditions.

Why should you use the Excel FILTER function?

  1. FILTER returns multiple match results for more than one LOOKUP value.
  2. Unlike advanced filter in Excel, the FILTER function allows you to filter without having to refresh your filter.
  3. FILTER can be nested in other functions such as putting filters inside the AND, COUNTA, OR, or SUM functions.
  4. It is super easy to write one: =FILTER(array, include, [if_empty])

FILTER is only available in the latest version of Excel, so you will need an Office 365 subscription to use it.

How does it work?

The FILTER function will return an array, which will spill if it’s the final result of a formula. This means that Excel will dynamically create the appropriate sized array range when you press ENTER. If your dataset has the potential of returning an empty value, then use the 3rd argument ([If empty]). Otherwise, a #CALC! error will result.

FILTER Function Used to Return One Criteria

In the following example we used the formula =FILTER(A5:G21,D5:D21=L2,””) to return all records for Violin, as selected in cell L2, and if there are no Violins, return an empty string (“”).

FILTER function used to return one criteria

FILTER Function Used to Return Multiple Criteria

In this case, we’re using the multiplication operator (*) to return all values in our array range (A5:G21) that have Violin AND are in the Retail channel: =FILTER(A5:G21,(D5:D21=L2)*(B5:B21=L1),””)

FILTER function used to return multiple criteria

Want to learn more?

If you want to become an expert in Excel, creating complex formulas or doing more complex analysis, you’ll definitely need to learn more about dynamic array functions. Join us on our Expert Excel Core Level 4 course to learn more online via Zoom on 20th February 2024.

Learn the 10 core principles to create a happy and productive workplace in Henry Stewart's book, The Happy Manifesto.

Hi, we are Happy

We help organisations create happy, productive workplaces, where people feel trusted, work to their strengths and are confident with their IT software.

We want everyone to find joy in at least 80% of their work, everyday.

Our workplace solutions include:
– Workplace consultancy
– Leadership and personal development programmes
– Government-funded management apprenticeships
– AI and Excel training

And much more. Get in touch with our friendly team to discuss your current challenge and find out how we can help you.

Sal Agoro

Sal trains most MS Office packages. Her real love is in transferring knowledge by making her training sessions fun and more impactful. She is Happy’s Outlook Champion and ensures Outlook courses and training material are updated regularly with new features. Sal has been at Happy for over three years.

What you should look at next

The Happy Manifesto

Outline the 10 core principles for a happy workplace. It has since helped thousands of leaders build trust-driven, empowered teams.

Thanks.

We've received your message and will get back to you soon. In the meantime, you may find these of interest.

The Happy Manifesto

The Happy Manifesto features ten core principles for creating happier, more engaging places to work. We offer all of Henry's books as free downloads.

Want more ideas for creating happy, productive workplaces?

Sign up for our Happy Manifesto newsletter and discover fresh ways to ignite joy and productivity at work. Get expert tips, insights, and ideas that challenge the norm—straight to your inbox. Join our movement and start your journey for a trust-based, values-led organisation.

Want more ideas for creating happy, productive workplaces?

Sign up for our Happy Manifesto newsletter and discover fresh ways to ignite joy and productivity at work. Get expert tips, insights, and ideas that challenge the norm—straight to your inbox. Join our movement and start your journey for a trust-based, values-led organisation.