Events
Free Community Day (14 March)Conference 2026 (19-20 May)Awards 2026 (Nominations Open)
Speakers
Agenda
Conference AgendaMasterclassesCorporate Training
About
About usParticipating CompaniesEvent PartnersVisitor info
Resources
BlogEbooksFAQs
ContactGet Tickets
0

Your Cart

  • :
Remove
Subtotal:
Pay with browser.
Continue to Checkout
No items found.
Product is not available in this quantity.
Andrew Moss
Technical Writer
Resources
March 2, 2023

Why FILTER instead of XLOOKUP?

Lookups have long been a staple of Excel, whether VLOOKUP, INDEX & MATCH or the newer XLOOKUP.

So many daily tasks depend on them, and their use is ubiquitous in homes and offices across the length and breadth of the world.

The problem is they can be overused β€” and getting blasΓ© about their limitations can be costly.

One of them is the single matching row restriction. Sometimes, this is what you want, but other times it's not.

‍

In the video example, a table called tblSales houses sales figures for a calendar year.

We want to find the month that has the highest total. There are a couple of ways we can do this.

Method 1

MAX returns the highest sales figure from Total. This is then looked up in the same column, and the adjacent month returned.

=πš‡π™»π™Ύπ™Ύπ™Ίπš„π™Ώ(π™Όπ™°πš‡(πšπš‹πš•πš‚πšŠπš•πšŽπšœ[πšƒπš˜πšπšŠπš•]),πšπš‹πš•πš‚πšŠπš•πšŽπšœ[πšƒπš˜πšπšŠπš•],πšπš‹πš•πš‚πšŠπš•πšŽπšœ[π™Όπš˜πš—πšπš‘])

Method 2

FILTER returns the months with a sales figure equal to the maximum in Total.

=π™΅π™Έπ™»πšƒπ™΄πš(πšπš‹πš•πš‚πšŠπš•πšŽπšœ[π™Όπš˜πš—πšπš‘],πšπš‹πš•πš‚πšŠπš•πšŽπšœ[πšƒπš˜πšπšŠπš•]=π™Όπ™°πš‡(πšπš‹πš•πš‚πšŠπš•πšŽπšœ[πšƒπš˜πšπšŠπš•]))

It's evident that Method 2's FILTER is better, as there is the possibility of repetition, which XLOOKUP doesn't cater for.

There's also a broader point in all this.

Sometimes data is favourable. Other times it's messy, ugly, obscure, and full of anomalies.

Just because a formula works in one instance doesn't mean it'll work in another. That's why stress-testing your formulas is vital for achieving accuracy and factuality in different scenarios.

Latest articles
ICAEW Confirms Continued Partnership with the Global Excel Summit
Sheetcast - A Natural Evolution for People Who Love Excel
How to Build Your First AI Agent in Excel
Categories
News
Resources
Andrew Moss
Technical Writer
Share:

Latest Articles

Resources
Dec 22nd, 2025

Sheetcast - A Natural Evolution for People Who Love Excel

Excel becomes the backend, Sheetcast becomes the interface, and users get an app instead of a fragile file.
Read Article β†’
Resources
Nov 24th, 2025

How to Build Your First AI Agent in Excel

Rather than positioning AI as something that replaces Excel, George Mount demonstrates how Excel becomes more powerful when paired with modern AI.
Read Article β†’
Resources
Nov 10th, 2025

Leap into Excel’s AI revolution with COPILOTALT by Sheetcast

This groundbreaking new function lets you experience the future of Excel… today!
Read Article β†’
19-23 May 2026

One week, two premier events

Join the European Excel Week - from learning and mastering new skills at Global Excel Summit to elite performance at the Excel Esports European Open.

Coming Soon
Pages
Home
20212022202320242025
About UsFAQsOnline CoursesBlogContact
LEGALS
Privacy PolicyTerms of Service
Subscribe to our newsletter!
The Global Excel Summit is a premium global conference bringing together thebrightest minds from the world of Excel.
Β© 2026 The Global Excel Summit is organised and managed by DATEL Productions Limited, a company incorporatedin England and Wales (no. 10106893) and registered at Suite 407, 95 Wilton Road, London SW1V 1BZ, UK.