top of page
Search

xlookup in excel

XLOOKUP in Excel

XLOOKUP is a powerful function in Excel that allows users to search for a value in a range or array and return a corresponding value from another range or array. It is designed to replace older functions like VLOOKUP and HLOOKUP, providing more flexibility and ease of use.

Syntax

The syntax for the XLOOKUP function is as follows:

XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Parameters

  • lookup_value: The value to search for.

  • lookup_array: The array or range to search within.

  • return_array: The array or range from which to return a value.

  • [if_not_found]: (Optional) The value to return if no match is found.

  • [match_mode]: (Optional) Specifies how to match the lookup_value (exact match, wildcard match, etc.).

  • [search_mode]: (Optional) Specifies the search direction (first-to-last, last-to-first, etc.).

Example

Suppose you have a table with product IDs and their corresponding prices:

| Product ID | Price |
|------------|-------|
| 101        | 10    |
| 102        | 15    |
| 103        | 20    |

You can use XLOOKUP to find the price of a product by its ID:

=XLOOKUP(102, A2:A4, B2:B4, "Not Found")

This formula will return 15, which is the price for Product ID 102.

Benefits of XLOOKUP

  • Supports both vertical and horizontal lookups.

  • Can return multiple values (arrays).

  • More intuitive and easier to use than VLOOKUP and HLOOKUP.

  • Handles errors more gracefully with the [if_not_found] parameter.

  • Allows for reverse searches.

Conclusion

XLOOKUP is a versatile and efficient function for data retrieval in Excel, making it a valuable tool for anyone working with spreadsheets.

 
 
 

Comments


Skynet ICA Pvt. ltd. ~ 1656-C/2 Near HP Petrol Pump, Najafgarh Thana Road, Najafgarh, Delhi, 110043  ( 100m away from Dhansa Metro Station gate - 3)

Programs

D - ADCA

D- CFT

Advance Excel

D - CCA

Support

Privacy Policy

FAQs

About Us

Follow us

Digital Marketing

Tally Prime

 Must Learn Applications

Operating System

Advance Excel

Microsoft Word

Chat GPT

CoPilot

Google Sheets

Microsoft 365

Canva

Wordress

Google my Business

Digital Accounting & Taxation

E - Accountant

Tally Prime

Busy Erp 9

Sap ERP

Goods & Service Tax

Income Tax

T.D.S

Payroll

GST Registeration

GSTR filling

E - Way Bill

Payroll

TDS Registeration

Income tax Registeration

Income tax filling

Income tax filling

Digital Marketing

SEO

Social Media Marketing

Content Writing

Business Case Studies

Instagram Marketing

Video Editing

Google Ads

Copywriting

Facebook Ads

Data Analytics

Advance Excel

SQL

Power Bi

Data Visualisation

© Copyright 2024, All Rights Reserved By Skynet ICA Pvt Ltd

bottom of page