Excel users in Lagos face a common question. Should I use VLOOKUP, INDEX MATCH, or XLOOKUP? So, making the wrong choice can slow your work and create errors.
Yet, most Excel courses in Lagos do not explain the key gaps between the three. They teach the formulas but skip the comparison. Therefore, many pros end up using the wrong tool for the job.
Furthermore, Excel keeps changing. Microsoft added XLOOKUP in 2021. As a result, the old debate between VLOOKUP and INDEX MATCH now has a new player.
Lagos Data School has trained thousands of Excel users across Nigeria. It sees the same mistakes made again and again in real workplaces. So, this guide cuts through the noise and gives you a clear answer.
This article is fully written and researched by Lagos Data School. It breaks down all three formulas in plain terms, compares them side by side, and tells you exactly which one to use and when.
What Are Lookup Formulas and Why Do They Matter?
Lookup formulas help you find data in a table. You give Excel a value to search for. It then finds a match and returns the data you need from another column.
For example, say you have a list of staff IDs and salaries. You type an ID into a cell. The lookup formula then finds that ID and gives you the salary next to it. So, you avoid scrolling through hundreds of rows by hand.

Furthermore, lookup formulas are used in nearly every Lagos workplace. Finance teams use them to match invoices. HR teams use them to link staff data. Also, sales teams use them to pull product prices into quotes. Therefore, knowing them well is a key Excel skill.
Lagos Data School data shows that lookup formulas appear in over 80% of Excel files shared in Lagos workplaces. Moreover, errors in lookup formulas are among the top three causes of wrong reports in Nigerian firms. So, using the right formula matters a lot.
VLOOKUP Explained: The Classic Formula
VLOOKUP stands for Vertical Lookup. It has been in Excel for over 20 years. So, almost every Excel user in Lagos knows it.
Here is how it works. You give VLOOKUP four things: the value to find, the table to search, the column number to return, and whether you want an exact match. Then Excel searches the first column of your table and returns the data from the column you chose.
VLOOKUP Syntax
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
A Simple VLOOKUP Example
Say your data starts in column A. Staff IDs are in column A and salaries are in column C. To find the salary for staff ID 1023, you would write:
=VLOOKUP(1023, A2:C100, 3, FALSE)
This tells Excel to find 1023 in the first column of the range A2:C100. It then returns the value in the third column, which is the salary. Also, FALSE means you want an exact match only.
What VLOOKUP Does Well
- Easy to learn — most beginners pick it up in minutes
- Works in all Excel versions, even very old ones
- Fast for simple left-to-right lookups
- Widely understood by colleagues and managers in Lagos
Where VLOOKUP Falls Short
VLOOKUP has real limits. First, it can only look from left to right. So, if your data column is to the right of your result column, VLOOKUP will not work.
Also, it uses a column number instead of a range. If you add or remove columns from your table, that number breaks. Therefore, your formula gives wrong results without any warning.
Furthermore, VLOOKUP only finds the first match. If a value appears more than once, it ignores the rest. As a result, you can miss data you actually need.
Moreover, when VLOOKUP finds no match, it returns a #N/A error. You then need to wrap it in IFERROR to handle that cleanly. So, a simple lookup often ends up needing two formulas instead of one.
INDEX MATCH Explained: The Flexible Pair
INDEX MATCH is not one formula. It is two formulas used together. So, it is a bit harder to learn but far more powerful.
MATCH finds the position of a value in a row or column. INDEX then uses that position to return the value you want. Furthermore, because they work as a pair, you get full control over both the search and the result.
INDEX MATCH Syntax
=INDEX(return_range, MATCH(lookup_value, lookup_range, 0))
An INDEX MATCH Example
Using the same staff data, here is how you would find the salary for staff ID 1023:
=INDEX(C2:C100, MATCH(1023, A2:A100, 0))
MATCH finds the row where 1023 sits in column A. INDEX then pulls the value from that same row in column C. So, the result is the same as VLOOKUP, but the method is much more flexible.
What INDEX MATCH Does Well
- Searches in any direction — left, right, up, or down
- Uses ranges instead of column numbers — safe when columns shift
- Works in all Excel versions, old and new
- Handles very large files without slowing down
- Can be used for two-way lookups with a small tweak
Where INDEX MATCH Falls Short
The main gap is that it takes longer to learn. New Excel users often find the nested formula hard to read at first. However, it becomes clear with a bit of practice.
Also, like VLOOKUP, it returns a #N/A error by default when no match is found. So, you still need IFERROR in most cases. Moreover, writing it out takes more keystrokes than XLOOKUP.
XLOOKUP Explained: The Modern Choice
XLOOKUP is the newest of the three. Microsoft added it to Excel 365 and Excel 2021. So, it is only available if you use one of those versions.
It was built to fix the gaps in VLOOKUP. Therefore, it searches in any direction, handles errors on its own, and does not need a column number. In short, it is simpler to write and safer to use.
XLOOKUP Syntax
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
An XLOOKUP Example
Here is how you find the salary for staff ID 1023 with XLOOKUP:
=XLOOKUP(1023, A2:A100, C2:C100, “Not found”)
This searches column A for the value 1023. It then returns the matching value from column C. Also, if no match is found, it shows “Not found” instead of an error. So, error handling is built right in.
What XLOOKUP Does Well
- Searches any direction — left, right, up, or down
- Has a built-in error message — no need for IFERROR
- Uses ranges, not column numbers — stays safe when columns shift
- Can return a whole row or column of data at once
- Supports wild card searches and exact match by default
- Easier to read and write than INDEX MATCH
Where XLOOKUP Falls Short
The biggest gap is Excel version. XLOOKUP only works in Excel 365 or Excel 2021. So, if you share files with people on older Excel versions, they will see an error.
Furthermore, many Lagos firms still run older versions of Excel. Therefore, XLOOKUP is not yet a safe default choice in every workplace. However, as firms update their software, this gap will close fast.
Side-by-Side Comparison: All Three Formulas
Lagos Data School puts together the table below to help you see the key gaps at a glance. So, use it to decide which formula fits your current setup best.
| Feature | VLOOKUP | INDEX MATCH | XLOOKUP |
| Ease of Use | Easy to learn | Takes more time | Very easy |
| Search Direction | Left to right only | Any direction | Any direction |
| Column Reference | Number (breaks easily) | Dynamic (flexible) | Range (safe) |
| Exact/Approx Match | Both supported | Both supported | Both supported |
| Error Handling | Needs IFERROR wrap | Needs IFERROR wrap | Built-in fallback |
| Works Left to Right | Yes | Yes | Yes |
| Works Right to Left | No | Yes | Yes |
| Multiple Results | No | With array trick | Yes (XMATCH pair) |
| Excel Version Needed | Excel 2003+ | Excel 2003+ | Excel 365 / 2021+ |
| Best For | Simple lookups, beginners | Complex, flexible tasks | Modern Excel users |
Source: Lagos Data School Excel Training Programme, 2026
Which Formula Should Lagos Pros Use in 2026?
The answer depends on your Excel version and your task. So, there is no single winner for every case. However, there are clear rules to follow.
Use XLOOKUP If You Can
XLOOKUP is the best formula for most tasks in 2026. It is easy to write, safe to use, and handles errors on its own. Furthermore, it works in any direction without any tricks.
Therefore, if you use Excel 365 or Excel 2021, start using XLOOKUP now. It will save you time and reduce errors in your daily work.
Best for: Modern Excel users on 365 or 2021 who want the simplest and safest option.
Use INDEX MATCH for Older Excel or Complex Tasks
If your firm uses an older version of Excel, INDEX MATCH is your best pick. It works in all versions and searches in any direction. Moreover, it runs fast on large files.
Also, INDEX MATCH is great for two-way lookups and tasks where columns often shift. So, even Excel 365 users sometimes prefer it for complex projects.
Best for: Users on older Excel, shared files with mixed versions, or complex multi-directional lookups.
Use VLOOKUP Only for Simple Tasks
VLOOKUP is fine for quick, simple lookups on small data sets. However, it breaks easily when columns shift. So, use it only when the data layout is fixed and will not change.
Moreover, if you are new to Excel, VLOOKUP is a good starting point. It teaches you the core idea of lookup formulas fast. Then you can move up to INDEX MATCH or XLOOKUP once you feel ready.
Best for: Beginners learning the basics, or simple fixed-layout tables that will not change.
Quick Decision Guide for Lagos Pros
| Your Situation | Best Formula to Use |
| You use Excel 365 or 2021 | XLOOKUP — use it every time |
| You share files with old Excel | INDEX MATCH — works anywhere |
| You are learning Excel now | Start with VLOOKUP, then move up |
| You need to search left | INDEX MATCH or XLOOKUP |
| You want built-in error fix | XLOOKUP — saves an extra step |
| Your file slows down with big data | INDEX MATCH — runs fast |
Source: Lagos Data School Excel Training Programme, 2026
Real Examples from Lagos Workplaces
Lagos Data School gathers feedback from its students after they finish the Excel course. Here are three real cases that show which formula works best in the field.
Case 1: Finance Team at a Lagos Bank
A finance analyst at a mid-tier Lagos bank used VLOOKUP to match invoices to a payment list. However, columns in the sheet kept shifting. So, the formula broke every month.
After training with Lagos Data School, she switched to INDEX MATCH. The formula now stays intact even when columns move. Furthermore, the firm uses Excel 2016, so XLOOKUP was not an option. As a result, errors in her monthly reports dropped to zero.
Case 2: HR Team at a Lagos Tech Firm
An HR officer needed to look up staff names from a table where IDs were to the right of the names. VLOOKUP could not do this. So, he was doing it by hand every week.
Lagos Data School taught him XLOOKUP, which works in any direction. He now runs the lookup in seconds. Moreover, the built-in error handler stops empty rows from breaking his reports. Therefore, he saves over two hours every week.
Case 3: Sales Team at a Lagos SME
A sales manager at a small Lagos firm was new to Excel. She needed a quick way to pull prices from a product list. VLOOKUP was easy to learn and fit the task well.
Lagos Data School helped her set it up correctly with IFERROR. Also, the product list layout never changes. So, VLOOKUP works perfectly for her case and she now builds her own price quotes in minutes.
How to Learn All Three Formulas in Lagos
The best way to master lookup formulas is through hands-on practice. Reading about them helps, but doing them on real data is what makes them stick. So, formal training saves a lot of time.
Lagos Data School covers all three lookup formulas in its Advanced Excel Training programme. Specifically, each formula is taught with real Lagos business data. Furthermore, students practise on live files from finance, HR, and sales teams.
Moreover, common errors are covered in detail. Students learn why formulas break and how to fix them fast. As a result, they leave the course ready to handle any lookup task their job throws at them.
Also, all three formulas are taught in the context of real dashboards and reports. So, students do not just learn the syntax. They learn when to use each formula and how to combine them for complex tasks.
Master Every Excel Formula in Lagos. Lagos Data School runs the best hands-on Excel course in Nigeria. Visit lagosdataschool.com and enroll today.
How to Join the Lagos Data School Excel Course
Getting started is simple. First, visit lagosdataschool.com and open the Advanced Excel Training page. There, you will find cohort dates, fees, and the full outline.
Next, fill out the short online form. The team reviews all forms within 48 hours. Moreover, they answer every question by phone or email before you commit.
Furthermore, flexible pay plans are on offer. You can spread the cost across the course. Also, group rates are available for firms that send two or more staff at once. Therefore, cost should not hold you back.
Finally, on sign-up, you get instant access to the pre-course Excel basics module. This makes sure you are ready for day one of the main course. As a result, no time is wasted in the early sessions.
Frequently Asked Questions
What is the difference between VLOOKUP and XLOOKUP?
VLOOKUP only searches from left to right and uses a column number that can break. XLOOKUP, on the other hand, searches in any direction, uses a range instead of a number, and has a built-in error fix. Furthermore, XLOOKUP is easier to write and safer to use. However, it needs Excel 365 or 2021.
Is INDEX MATCH better than VLOOKUP?
Yes, in most cases. INDEX MATCH works in any direction, uses ranges instead of column numbers, and runs fast on large files. Moreover, it works in all Excel versions. So, it is a better pick than VLOOKUP for most tasks.
Should I still learn VLOOKUP in 2026?
Yes, as a starting point. VLOOKUP teaches you the core idea of lookup formulas fast. However, once you understand it, move on to XLOOKUP or INDEX MATCH. They are safer and more powerful for real work.
Which formula do Lagos employers prefer?
Lagos Data School’s 2026 employer survey shows that INDEX MATCH is still the most used formula in Lagos firms. That is because many firms run older Excel versions. However, XLOOKUP use is growing fast as more firms upgrade to Excel 365.
Can I use XLOOKUP in Excel 2016 or 2019?
No. XLOOKUP is only available in Excel 365 and Excel 2021. So, if you use an older version, stick with INDEX MATCH. It gives you the same power and works in all Excel versions.
Where can I learn all three formulas in Lagos?
Lagos Data School covers VLOOKUP, INDEX MATCH, and XLOOKUP in full as part of its Advanced Excel Training programme in Lagos. The course uses real data, small class sizes, and expert instructors who use Excel daily.
Conclusion
All three formulas have their place. VLOOKUP is great for beginners and simple tasks. INDEX MATCH is the safe pick for older Excel and complex jobs. So, XLOOKUP is the modern best choice if your Excel version supports it.
Yet, knowing when to use each one is just as important as knowing how. That is the skill that separates good Excel users from great ones. Furthermore, it is the skill that makes a real difference in the Lagos job market.
Lagos Data School teaches all three formulas through hands-on practice on real Lagos data. Its Advanced Excel Training programme gives every student the tools, context, and confidence to use the right formula every time. Moreover, small classes and expert instructors mean you get real feedback, not just videos to watch.
Therefore, if you work with data in Lagos, this training is one of the best moves you can make in 2026. Take the step today and master the formulas that Lagos employers need most.
Enroll today by clicking here.
Kindly visit our website via www.lagosdataschool.com for more information.
This article was researched, written, and published exclusively by Lagos Data School, Ikeja, Lagos, Nigeria.

