Excel Practice Test

โ–ถ

The lookup function in Excel is one of the most powerful and widely used capabilities in the entire spreadsheet application, allowing you to search for a specific value in one column or row and return a corresponding value from another location in your dataset.

The lookup function in Excel is one of the most powerful and widely used capabilities in the entire spreadsheet application, allowing you to search for a specific value in one column or row and return a corresponding value from another location in your dataset.

Whether you are working with a simple price list, a large employee database, or a complex financial model, mastering lookup functions will save you hours of manual searching and dramatically reduce the risk of human error. From the classic VLOOKUP to the modern XLOOKUP introduced in Excel 365, these functions form the backbone of nearly every professional Excel workflow.

If you have ever wondered how data analysts pull salary figures from HR tables, how inventory managers cross-reference part numbers against supplier catalogs, or how accountants reconcile thousands of rows of transactions against a chart of accounts, the answer almost always involves a lookup function in excel.

Understanding the syntax, limitations, and best use cases for each lookup variant transforms you from someone who copies and pastes data manually into a spreadsheet professional capable of building dynamic, self-updating reports. This guide covers every major lookup option available in Excel, from the veteran VLOOKUP excel users have relied on for decades to the newest functions in the Microsoft 365 suite.

Excel's lookup toolkit has grown considerably over the years, and choosing the right function for the right situation makes a meaningful difference in performance, readability, and maintainability. VLOOKUP excel formulas are still dominant in older workbooks and are widely tested on certification exams, but they carry limitations โ€” particularly the restriction that the lookup column must always be the leftmost column in the search range. INDEX-MATCH combinations solve that constraint elegantly, while XLOOKUP combines simplicity with power in a single function that handles both vertical and horizontal lookups without any of the legacy headaches.

Beyond choosing the right function, you need to understand exact match versus approximate match behavior, how to handle errors gracefully with IFERROR wrappers, and when to use array-based lookups for multi-condition searches. This guide also touches on related Excel skills that complement lookup functions, such as how to create a drop down list in excel to build user-friendly data entry forms that feed lookup formulas, and how to merge cells in excel to format lookup result tables cleanly for presentation. Each of these skills reinforces the others and contributes to a well-rounded Excel skill set.

This article is structured to take you from the fundamentals through advanced techniques, with concrete examples drawn from real business scenarios. You will find step-by-step formula breakdowns, side-by-side function comparisons, a comprehensive checklist for avoiding common lookup errors, and a full FAQ section covering the questions that Excel users ask most often. Whether you are preparing for the Microsoft Office Specialist (MOS) Excel exam, a job interview that includes a technical Excel assessment, or simply trying to work more efficiently at your current job, the knowledge here will pay dividends immediately.

Lookup functions do not exist in isolation โ€” they interact constantly with other Excel features. Knowing how to freeze a row in excel keeps your header row visible as you scroll through long lookup tables, and understanding data validation rules prevents the kind of inconsistent entries that cause lookup formulas to return errors.

When you combine all of these skills, you gain the ability to build spreadsheet solutions that are robust, scalable, and easy for colleagues to understand and maintain. The sections that follow break everything down step by step, so you can build confidence and competence at whatever pace suits your learning style.

Excel Lookup Functions by the Numbers

๐Ÿ“Š
4
Core Lookup Functions
๐Ÿ†
#1
Most Used Excel Function
๐ŸŽ“
27K+
Monthly VLOOKUP Searches
โฑ๏ธ
75%
Time Savings Reported
๐Ÿ’ป
365
Excel Version for XLOOKUP
Test Your Lookup Function in Excel Knowledge โ€” Free Quiz

How to Use VLOOKUP vs XLOOKUP: Step-by-Step

๐Ÿ”

Determine what value you are searching for โ€” a product ID, employee name, or account number. This becomes the first argument in both VLOOKUP and XLOOKUP. Make sure the lookup value format exactly matches the data in your table: numbers stored as text will cause mismatches.

๐Ÿ“‹

In VLOOKUP, select the entire range starting from the lookup column through the return column. The lookup column MUST be the leftmost column in your selected range. In XLOOKUP, you select the lookup array and return array separately, giving you full flexibility to look left, right, up, or down.

๐Ÿ”ข

VLOOKUP requires a column index number โ€” the position of the return column within your table array. XLOOKUP instead takes the entire return column or row as a direct range reference. The XLOOKUP approach is far less error-prone since column insertions will not break your formula.

๐ŸŽฏ

Set the match mode: FALSE or 0 for exact match, TRUE or 1 for approximate match. Approximate match requires data sorted in ascending order and is used for range lookups like tax brackets or discount tiers. For most business lookups โ€” IDs, names, codes โ€” always use exact match to avoid silent errors.

๐Ÿ›ก๏ธ

Any lookup can return #N/A when the value is not found. Wrap your formula in IFERROR(your_formula, 'Not Found') to display a friendly message instead. XLOOKUP has a built-in if_not_found argument that handles this natively, making IFERROR wrappers unnecessary in Excel 365.

โœ…

Before copying your formula to hundreds of rows, test it against three to five values whose correct answers you already know. Verify that exact matches work, that non-matching values return the expected fallback, and that the formula handles blank cells without producing unexpected results.

The INDEX-MATCH combination is widely regarded as the most flexible and robust approach to data lookup in Excel, and for good reason. While VLOOKUP excel formulas require the lookup column to sit on the left side of the return column, INDEX-MATCH imposes no such restriction. You can look up a value in column G and return data from column B, something VLOOKUP simply cannot do without restructuring your entire dataset. This flexibility makes INDEX-MATCH the preferred choice among experienced data analysts, financial modelers, and Excel power users who work with complex, real-world data structures.

The INDEX function by itself returns the value of a cell at the intersection of a given row and column within a range. The syntax is INDEX(array, row_num, [col_num]). On its own, INDEX is not very dynamic because you would have to hard-code the row number. This is where MATCH comes in โ€” MATCH searches for a value within a range and returns its relative position as a number.

By nesting MATCH inside INDEX to supply the row number dynamically, you create a self-contained lookup formula that is both powerful and readable. The combined syntax is =INDEX(return_range, MATCH(lookup_value, lookup_range, 0)), where the 0 specifies exact match.

One of the most important advantages of INDEX-MATCH over VLOOKUP is performance in large datasets. VLOOKUP scans the entire table array each time it is calculated, which can slow down workbooks with tens of thousands of rows. INDEX-MATCH is generally faster because MATCH only scans the specific lookup column, and INDEX only retrieves from the specific return column, avoiding the overhead of processing columns that are irrelevant to the lookup. For workbooks with more than 10,000 rows of data, this performance difference becomes noticeable, especially in files that recalculate frequently.

INDEX-MATCH also handles two-way lookups elegantly. In a two-way lookup, you want to find a value at the intersection of a row and a column โ€” for example, the sales figure for a specific salesperson in a specific month. You accomplish this by nesting two MATCH functions inside a single INDEX: one MATCH finds the correct row, and the other finds the correct column. The formula looks like =INDEX(data_array, MATCH(row_lookup, row_headers, 0), MATCH(col_lookup, col_headers, 0)). This pattern is a staple of professional Excel models and appears frequently in MOS exam practice materials.

When you need to look up based on multiple conditions simultaneously, INDEX-MATCH can be extended into an array formula. By multiplying two or more MATCH-style logical tests together inside the MATCH argument, you create a compound condition. For example, finding an employee's salary where both the department name AND the job title match requires array logic that VLOOKUP simply cannot replicate. In Excel 365, the XMATCH function extends this even further with wildcard and regular expression matching modes that make multi-condition lookups more intuitive than ever before.

Understanding how to merge cells in excel is often relevant when formatting the output of INDEX-MATCH results in summary dashboards. When you pull data from multiple lookup formulas into a report layout, merging header cells and freezing top rows ensures that the resulting table remains readable as it grows. Knowing how to freeze a row in excel so that column headers stay visible while scrolling through a long lookup result table is a small but meaningful productivity skill that complements your formula expertise directly.

The bottom line is that INDEX-MATCH gives you the power to handle virtually any lookup scenario that arises in professional Excel work. It is not harder to learn than VLOOKUP once you understand each component individually, and the investment in learning it pays off immediately in the form of more robust, error-resistant formulas. If you are preparing for an Excel certification or a job that requires advanced spreadsheet skills, mastering INDEX-MATCH is non-negotiable, and it will consistently appear on practice tests and technical interview assessments designed to separate intermediate from advanced Excel users.

FREE Excel Basic and Advance Questions and Answers
Test foundational and advanced Excel skills including lookup functions and formulas
FREE Excel Formulas Questions and Answers
Practice VLOOKUP, INDEX-MATCH, XLOOKUP, and formula writing with timed questions

VLOOKUP Excel, HLOOKUP, and XLOOKUP: Function-by-Function Breakdown

๐Ÿ“‹ VLOOKUP

VLOOKUP (Vertical Lookup) searches down the first column of a range and returns a value from the same row in a column you specify. The full syntax is =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]). It is the most widely known lookup function and remains dominant in workplaces that rely on older versions of Excel. The critical rule: the lookup column must always be the leftmost column of your table_array, or the function will return incorrect results without generating an error message.

The most common VLOOKUP mistake is using TRUE for the range_lookup argument when you actually need an exact match. With TRUE, Excel assumes your data is sorted and uses a binary search โ€” if the data is not sorted, you get wrong answers silently. Always use FALSE (or 0) for exact match lookups involving IDs, names, and codes. Another frequent problem is that inserting a new column inside the table_array shifts the col_index_num off by one, corrupting every formula that references that table. Name your ranges and use structured table references to avoid this fragility.

๐Ÿ“‹ HLOOKUP

HLOOKUP (Horizontal Lookup) is the row-oriented counterpart to VLOOKUP. Instead of scanning down a column, it scans across the first row of a range and returns a value from the same column in a row you specify. The syntax is =HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup]). HLOOKUP is most useful when your data is organized in a horizontal layout โ€” for instance, months across the top and metrics down the side โ€” which is common in financial summary tables and certain reporting templates.

In practice, HLOOKUP is far less common than VLOOKUP because most datasets are structured vertically. However, it appears on Excel certification exams precisely because many candidates overlook it. The same rules apply as with VLOOKUP: the lookup row must be the first row of your range, the row_index_num must be accurate, and you should use exact match (FALSE) for discrete value lookups. XLOOKUP has largely superseded both VLOOKUP and HLOOKUP in Excel 365 by handling both orientations through a unified interface with superior default behavior.

๐Ÿ“‹ XLOOKUP

XLOOKUP is the modern replacement for both VLOOKUP and HLOOKUP, available in Microsoft 365 and Excel 2021. Its syntax is =XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode]). Unlike VLOOKUP, XLOOKUP does not require the lookup column to be on the left โ€” you can look in any column and return from any other column or range. The built-in if_not_found argument replaces the need for IFERROR wrappers, and the match_mode argument supports wildcard and approximate matching in both directions.

XLOOKUP also supports returning multiple columns simultaneously. By selecting a multi-column return_array, a single XLOOKUP formula can spill an entire record across adjacent cells โ€” a feature powered by Excel 365's dynamic array engine. This means you can retrieve an employee's name, department, salary, and start date all from one formula rather than writing four separate lookups. XLOOKUP's search_mode argument also allows reverse searches (last match first) and binary searches for sorted data, giving it a performance edge in very large datasets. If you are working in Excel 365, XLOOKUP should be your default lookup tool.

VLOOKUP vs INDEX-MATCH: Pros and Cons

Pros

  • VLOOKUP is simpler to learn and write for beginners with a straightforward four-argument syntax
  • VLOOKUP is universally supported in all Excel versions, including Excel 2003 and older
  • INDEX-MATCH allows lookups in any direction โ€” left, right, up, or down โ€” without restructuring data
  • INDEX-MATCH is more resilient to column insertions since return columns are referenced directly
  • INDEX-MATCH generally performs faster on large datasets by limiting the scan to relevant columns only
  • XLOOKUP combines simplicity and power in a single function with built-in error handling and dynamic array support

Cons

  • VLOOKUP requires the lookup column to be the leftmost column, a major structural constraint
  • VLOOKUP breaks silently when new columns are inserted inside the table array, shifting the index number
  • VLOOKUP scans the entire table array including irrelevant columns, reducing performance on large files
  • INDEX-MATCH has a steeper learning curve and longer formula syntax that can intimidate new users
  • XLOOKUP is not available in Excel 2019 and earlier, limiting its use in legacy enterprise environments
  • Approximate match in VLOOKUP requires sorted data and is a frequent source of silent, hard-to-detect errors
FREE Excel Functions Questions and Answers
Challenge yourself with XLOOKUP, INDEX-MATCH, and other advanced Excel function questions
FREE Excel MCQ Questions and Answers
Multiple-choice questions covering Excel lookup functions, formulas, and data management

Excel Lookup Formula Best Practices Checklist

Always use FALSE or 0 for the range_lookup argument in VLOOKUP when searching for exact matches like IDs or names.
Convert your data source into an Excel Table (Ctrl+T) so that lookup ranges automatically expand when new rows are added.
Use named ranges or structured table column references instead of hard-coded cell addresses to make formulas self-documenting.
Wrap VLOOKUP and INDEX-MATCH formulas in IFERROR to display a friendly message when a lookup value is not found.
Test every lookup formula against at least five known values โ€” including one that should not be found โ€” before copying it down.
Avoid merging cells inside a lookup table, as merged cells prevent proper sorting and can corrupt lookup results.
Lock your table array reference with absolute references (F4 key) before copying a lookup formula down a column.
Use XLOOKUP instead of VLOOKUP when working in Excel 365 to get built-in error handling and direction-free lookups.
For multi-condition lookups in older Excel versions, use an array-based INDEX-MATCH with multiple logical tests multiplied together.
Audit lookup results periodically by spot-checking against the source data, especially after source tables are updated or restructured.
Stop Writing FALSE โ€” XLOOKUP Defaults to Exact Match

Unlike VLOOKUP, which defaults to approximate match (TRUE) if you omit the last argument โ€” a dangerous behavior that silently returns wrong results on unsorted data โ€” XLOOKUP defaults to exact match (match_mode = 0) automatically. This means shorter, safer formulas with fewer opportunities for the single most common VLOOKUP mistake that plagues spreadsheets across every industry.

Advanced lookup techniques go well beyond the standard single-condition search, and mastering them opens the door to building genuinely sophisticated Excel models. One of the most valuable advanced patterns is the two-criteria lookup, which combines two separate conditions to uniquely identify a record. For example, if your employee table contains duplicate last names, you might need to match on both last name and department simultaneously.

Using INDEX-MATCH with an array formula, you concatenate the two lookup arrays and the two lookup values and press Ctrl+Shift+Enter to confirm the formula as an array operation. In Excel 365, XLOOKUP handles this more elegantly using the multiplication of two Boolean arrays inside the lookup_array argument.

Another advanced technique is the lookup with a wildcard, which is invaluable when your lookup values are partial strings. For example, if you know a product name starts with 'PRD-2024' but you do not know the full code, MATCH supports the asterisk (*) wildcard as a substitute for any number of characters and the question mark (?) as a substitute for a single character.

You write MATCH('PRD-2024*', product_range, 0) and Excel returns the position of the first cell that begins with that prefix. XLOOKUP also supports wildcard mode by setting match_mode to 2, making it even more flexible for partial string lookups in large reference tables.

Dynamic lookups that change based on user selections in dropdown menus represent another powerful application. When you set up how to create a drop down list in excel using Data Validation, users can select a category, region, or time period from a list, and XLOOKUP or INDEX-MATCH formulas instantly recalculate to show the relevant data.

This pattern is the foundation of interactive dashboards, where a single cell selection drives an entire page of calculated outputs. Combining named ranges for the dropdown source lists with structured table references for the lookup ranges produces a dashboard that is both powerful and easy to audit.

LOOKUP arrays and spill ranges introduced by Excel 365's dynamic array engine take lookup capabilities even further. XLOOKUP can return an entire row or multiple columns in one formula, and those results spill automatically into adjacent cells. Combined with functions like SORT, FILTER, and UNIQUE, you can build self-updating lookup-driven tables that automatically reorganize as source data changes. For example, =XLOOKUP(selected_id, id_column, CHOOSECOLS(data_table, 2, 3, 5, 7)) returns four specific columns for a matched record in a single formula โ€” something that would have required four separate VLOOKUP formulas in older Excel versions.

Error handling in advanced lookup scenarios deserves special attention. The most common error is #N/A, which means the lookup value was not found. But other errors can also appear: #REF! if a column index number in VLOOKUP exceeds the width of the table array, #VALUE! if the lookup value and lookup column have mismatched data types, and #SPILL! in Excel 365 if the spill range for a dynamic array result is blocked by existing data.

Diagnosing these errors requires understanding both the formula logic and the data structure, which is why experienced Excel users always build lookup formulas incrementally, confirming each argument before adding the next.

Performance optimization becomes critical when lookup formulas are applied to tens of thousands of rows. Beyond the INDEX-MATCH vs. VLOOKUP performance considerations already discussed, you should convert volatile functions like OFFSET and INDIRECT โ€” which sometimes appear in dynamic lookup patterns โ€” to static range references wherever possible, since volatile functions recalculate on every worksheet change.

Using Excel Tables with structured references not only makes formulas more readable but also enables Excel to optimize recalculation more efficiently. For workbooks with extremely large lookup tables, consider using Power Query to perform the join operation at load time rather than recalculating it with formulas on every edit.

IFERROR is not always the best error-handling strategy for lookup formulas. In situations where a missing lookup value represents a genuine data quality problem โ€” a missing order ID, an unrecognized customer code โ€” you may actually want the error to remain visible rather than being silently replaced with a default value.

A better pattern in those cases is ISNA() or ISNUMBER(MATCH(...)) to conditionally highlight cells containing failed lookups rather than suppressing the error message entirely. Building this kind of data quality monitoring into your Excel models from the start prevents the kind of silent data corruption that propagates undetected through downstream reports and executive dashboards.

Preparing for Excel certification exams and technical job interviews requires a focused approach to lookup functions because they appear consistently across nearly every Excel assessment available. The Microsoft Office Specialist (MOS) Excel Expert exam dedicates significant weight to lookup and reference functions, and both VLOOKUP and INDEX-MATCH appear regularly in the scenario-based questions that make up the bulk of the exam. Understanding how to construct, troubleshoot, and modify lookup formulas in a live Excel environment โ€” not just recognize the syntax in multiple-choice questions โ€” is the key skill that separates candidates who pass from those who need to retake.

Technical interview assessments at data-heavy companies frequently include an Excel take-home test or a live coding exercise that involves writing lookup formulas from scratch. Common tasks include retrieving employee data from an HR table using an ID number, building a pricing calculator that looks up unit costs from a product table, and debugging a broken VLOOKUP to identify why it returns #N/A or an incorrect value. Interviewers specifically look for candidates who know to check for leading spaces, type mismatches, and the leftmost-column restriction when diagnosing a VLOOKUP failure โ€” details that reveal real-world experience rather than textbook memorization.

Practice is the single most effective preparation strategy. Working through a structured set of lookup function exercises โ€” starting with basic VLOOKUP scenarios and progressing through INDEX-MATCH, two-way lookups, wildcard matches, and XLOOKUP spill ranges โ€” builds the muscle memory and intuitive debugging ability that makes the difference under exam conditions. The quiz resources linked throughout this article provide targeted practice that mirrors the format and difficulty level of actual Excel certification tests, making them an efficient supplement to hands-on practice with real datasets.

One underrated preparation strategy is building your own practice dataset from scratch. Download a free sample dataset โ€” product catalogs, employee records, or sales transaction logs are all freely available on sites like Kaggle and the US government's open data portal โ€” and challenge yourself to answer specific lookup questions without looking at tutorials first. This active retrieval practice is significantly more effective than re-reading formulas or watching tutorial videos, and it forces you to confront the edge cases and error conditions that will appear on your assessment.

Understanding the keyboard shortcuts that speed up formula entry also matters in timed exam environments. F4 locks cell references (cycling through absolute, mixed, and relative), F2 enters edit mode for a selected cell, Ctrl+Shift+Enter confirms an array formula in Excel 2019 and earlier, and Tab completes a function name in the formula autocomplete list. Knowing these shortcuts reduces the cognitive load of formula construction so that you can focus on the logic rather than the mechanics. Combining shortcut fluency with solid conceptual understanding is the combination that produces strong exam performance.

Study resources for lookup functions are abundant, but quality varies enormously. Focus on practice materials that include worked examples with real data, not just syntax references. The lookup function in excel section of PracticeTestGeeks provides scenario-based questions modeled on actual exam formats, covering the full range from VLOOKUP basics through XLOOKUP advanced features. Supplementing this with Microsoft's own official Excel documentation for each function gives you authoritative syntax references that you can trust completely, while the practice questions here build the application speed and accuracy you need to perform under timed conditions.

Finally, do not neglect the contextual Excel skills that enable lookup functions to work effectively in real workflows. Knowing how to freeze a row in excel keeps your header row anchored while you scroll through lookup result tables, knowing how to create a drop down list in excel builds the user interfaces that feed dynamic lookup formulas, and knowing how to merge cells in excel lets you format the output tables that present lookup results cleanly.

These skills are not separate from lookup mastery โ€” they are its natural companions, and exam assessors and hiring managers alike look for candidates who understand the full practical context of the functions they claim to know.

Practice Excel VLOOKUP and Formula Questions โ€” Free Test

Building a strong working knowledge of lookup functions also means understanding the ecosystem of supporting features that make those functions reliable in production workbooks. Data quality is the hidden dependency of every lookup formula โ€” if the lookup values in your source column contain inconsistent capitalization, extra spaces, or mixed data types (numbers stored as text), your lookup will return errors even when the data appears correct to the naked eye.

The TRIM function removes leading and trailing spaces, CLEAN removes non-printing characters, and the VALUE function converts text-formatted numbers to true numeric values. Running these preprocessing functions on both the lookup value and the lookup column is the first troubleshooting step for any lookup that returns unexpected #N/A errors.

Excel Tables, created with Ctrl+T, are the single most impactful structural improvement you can make to any workbook that relies on lookup functions. When your data lives in a Table, the lookup range automatically expands to include new rows as data is added, eliminating the silent failure mode where a VLOOKUP stops finding newly added records because the table_array reference no longer covers the full dataset. Structured references like =VLOOKUP(A2, EmployeeTable[#All], 3, FALSE) are also far more readable than cell address ranges like =VLOOKUP(A2, $H$2:$K$5000, 3, FALSE), making it easier for colleagues to understand and audit your formulas.

Combining lookup functions with conditional formatting creates powerful visual data validation tools. For example, you can use a COUNTIF or MATCH formula as the condition in a conditional formatting rule to highlight cells in one table whose values do not appear in a reference table โ€” immediately flagging missing or unrecognized records without requiring the user to manually run a lookup formula. This approach turns what would otherwise be an error-prone manual reconciliation process into an automated visual check that updates instantly whenever the data changes.

The CHOOSE function is an often-overlooked companion to lookup functions that enables elegant workarounds for VLOOKUP's leftmost-column restriction without switching to INDEX-MATCH. By wrapping your table array in CHOOSE({1,2}, return_col, lookup_col), you effectively swap the column order for VLOOKUP, allowing it to look in a column that is to the right of the return column. While INDEX-MATCH is generally cleaner for this purpose, the CHOOSE trick is useful in environments where formulas need to remain compatible with colleagues who are not yet familiar with INDEX-MATCH, since the outer VLOOKUP is still recognizable to most intermediate Excel users.

Cross-workbook lookups are a common requirement in enterprise environments where data lives in separate files maintained by different teams. A VLOOKUP or INDEX-MATCH formula can reference a table in a different workbook by including the full file path in the table_array reference. However, cross-workbook lookups become static when the source workbook is closed โ€” Excel replaces the dynamic reference with a hard-coded value โ€” which can cause data to go stale without warning. For robust cross-workbook data integration, Power Query's merge (join) functionality is a more reliable alternative that pulls fresh data on demand and handles source file changes gracefully.

The practical business value of mastering lookup functions extends far beyond passing a certification exam. In accounts payable departments, lookup formulas match invoices against purchase orders in seconds, work that would take hours manually. In sales operations, XLOOKUP retrieves current pricing, discount tiers, and territory assignments for each line item in a daily transaction export automatically.

In HR departments, INDEX-MATCH cross-references applicant IDs against existing employee databases to flag potential duplicates before onboarding. In each of these scenarios, the person who built the lookup-powered solution freed their colleagues from hours of repetitive work every week โ€” a quantifiable contribution that makes a real difference to organizational productivity and job satisfaction.

The investment required to move from basic VLOOKUP knowledge to confident mastery of the full Excel lookup toolkit โ€” including INDEX-MATCH, XLOOKUP, array lookups, and dynamic array spill patterns โ€” is realistically achievable in two to three weeks of focused study combined with hands-on practice.

The structured quiz resources and practice tests available through PracticeTestGeeks are designed to compress that learning timeline by delivering targeted repetition on the specific function behaviors and error conditions that appear most frequently in both professional use and formal assessments. Start with the basics, build to the advanced techniques, and use the practice questions to confirm your understanding before you encounter these scenarios in a high-stakes situation.

FREE Excel Questions and Answers
Full-length Excel certification practice test covering lookup functions, data tools, and formulas
FREE Excel Trivia Questions and Answers
Fun and challenging Excel trivia including lookup function history, shortcuts, and expert tips

Excel Questions and Answers

What is the lookup function in Excel and when should I use it?

A lookup function in Excel searches for a value in a dataset and returns a related value from the same record. You should use it whenever you need to retrieve data from a table based on a matching key โ€” for example, finding a product price by product ID, or an employee's department by their employee number. The main options are VLOOKUP, HLOOKUP, INDEX-MATCH, and XLOOKUP, each suited to different scenarios.

What is the difference between VLOOKUP and XLOOKUP?

VLOOKUP requires the lookup column to be the leftmost column of the search range and uses a column index number to specify the return column, which breaks when columns are inserted. XLOOKUP separates the lookup array from the return array, works in any direction, includes a built-in not-found argument, defaults to exact match, and can return multiple columns at once. XLOOKUP is available only in Excel 365 and Excel 2021 or later.

Why does my VLOOKUP return #N/A even when the value exists in the table?

The most common causes are a data type mismatch (the lookup value is a number but the table column stores it as text, or vice versa), leading or trailing spaces in either the lookup value or the table, and the range_lookup argument set to TRUE without the data being sorted. Use TRIM on both sides to remove spaces, VALUE or TEXT to align data types, and always set range_lookup to FALSE for exact match searches.

How do I do a two-way lookup in Excel?

A two-way lookup retrieves a value at the intersection of a matching row and a matching column. Use INDEX-MATCH-MATCH: =INDEX(data_range, MATCH(row_lookup_value, row_headers, 0), MATCH(column_lookup_value, column_headers, 0)). The first MATCH finds the correct row position, the second finds the correct column position, and INDEX returns the value at that intersection. This works in any Excel version and handles any sized data range efficiently.

Can VLOOKUP look to the left of the lookup column?

No. VLOOKUP can only return values from columns to the right of the lookup column. If you need to look left โ€” retrieve a value in a column that is positioned to the left of your search column โ€” you must use INDEX-MATCH or XLOOKUP instead. Both allow the return range to be anywhere in the worksheet, completely independent of the lookup column's position.

What does the FALSE argument in VLOOKUP mean?

The FALSE argument in VLOOKUP sets range_lookup to false, meaning the function will look for an exact match. If no exact match is found, VLOOKUP returns #N/A. Using TRUE instead tells Excel to use approximate match, which assumes the first column is sorted ascending and returns the largest value that is less than or equal to the lookup value. For most business lookups involving IDs, names, and codes, always use FALSE.

How do I use INDEX-MATCH instead of VLOOKUP?

Replace =VLOOKUP(A2, Table, 3, FALSE) with =INDEX(return_column, MATCH(A2, lookup_column, 0)). INDEX returns the value from return_column at the row number that MATCH provides. MATCH(A2, lookup_column, 0) finds the position of A2 within lookup_column using exact match (0). Unlike VLOOKUP, you reference the return column directly rather than counting column positions, making the formula immune to column insertion errors.

How do I look up multiple criteria in Excel?

In Excel 365, use XLOOKUP with an array multiplication condition: =XLOOKUP(1, (criteria1_range=value1)*(criteria2_range=value2), return_range). In older versions, use an array-confirmed INDEX-MATCH: =INDEX(return_range, MATCH(1, (criteria1_range=value1)*(criteria2_range=value2), 0)) confirmed with Ctrl+Shift+Enter. Both approaches return the first record that satisfies all specified conditions simultaneously, making them ideal for tables without a single unique key column.

What is the MATCH function and how does it work with INDEX?

MATCH searches for a specified value within a range and returns its relative position as a number. For example, MATCH('Smith', A1:A100, 0) returns 5 if 'Smith' is in A5. By itself, this position number is not very useful, but nested inside INDEX โ€” which can retrieve the value at any position in a separate range โ€” it creates a flexible lookup. INDEX(B1:B100, MATCH('Smith', A1:A100, 0)) returns the value in column B that corresponds to the row where 'Smith' appears in column A.

Which Excel lookup function is best for certification exam preparation?

For the Microsoft Office Specialist (MOS) Excel Expert exam, you must be comfortable with VLOOKUP, HLOOKUP, and INDEX-MATCH, as all three appear in scenario-based tasks. XLOOKUP is increasingly tested in exams targeting Excel 365 specifically. Focus on understanding exact versus approximate match, how to handle #N/A errors with IFERROR, and how to construct two-way lookups with INDEX-MATCH-MATCH. Practice writing formulas from scratch against real datasets rather than just reading syntax references.
โ–ถ Start Quiz