XLOOKUP: Search from the bottom and top of a list @OzduSoleilDATA
XLOOKUP: Search from the bottom and top of a list  @OzduSoleilDATA
Uploaded September 2019 | Updated November 2026, 37 minutes ago
More XLOOKUP!
This video shows how I would have completed a task 15 years ago if I had XLOOKUP available. Here, with a list of course completions, sorted by completion date, we need to calculate the number of days between the first completion and the last completion. And then see if there are any students who took more than the allowed 90 days.

This is complicated by 2 issues:
1. People taking the courses out of order.
2. Some people, not all, are required to take course 3A.

VLOOKUP can do the easy part and retrieve the first completion date for each person. XLOOKUP can do that. But XLOOKUP can also do the harder part of starting a search at the bottom of the list, and work upward. This is really exciting and shows how XLOOKUP is indeed the replacement for VLOOKUP.

Also in this video, we use dynamics arrays, the UNIQUE function, to extract the names of the students. UNIQUE, XLOOKUP! We're really doing some Excel folks!

#XLOOKUP
#UNIQUE
#DynamicArrays

For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning


Website: ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My old blog: datascopic.net/blog-2-2
XLOOKUP: Search from the bottom and top of a listOz du Soleil: Risk Taking as a Content Creator | Global Excel SummitTest Your PowerQuery Instinct With This 5 Question QuizUse Power Query to Get Top X Scores and Tie ScoresDependent Dropdown Lists in Excel with Power Query & Dynamic ArraysExcel Days 2025 BulgariaNew: Semi-Joins in Power Query + a Brief Overview of Power Querys Outer and Inner JoinsBitten by Power Query: a lesson about knowing our data, our tools and what can go wrong.Creativity and Video Editing in Camtasia: A tour of a completed videos timelineExcel Ignited Day 16 The Ultimate Doggone VLOOKUP TutorialPower Query: Calculating Incentive Points using Advanced Group-by & Left Outer JoinUse Excel to Count the Seconds in 2024 | Handling Belligerent Excel Requests
Excel On Fire (Oz du Soleil) |

XLOOKUP: Search from the bottom and top of a list

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER