Want to become a pro at using XLOOKUP in Excel to search across two sheets? It’s a powerful tool that can save you tons of time. With just a few simple steps, you can seamlessly pull data from one sheet to another. Let’s dive in and explore how you can do this with ease.
Tutorial – Using XLOOKUP in Excel with Two Sheets
By following these steps, you’ll be able to use XLOOKUP to find and retrieve data from one sheet and display it in another. It’s like having a GPS for your data!
Step 1: Open Both Sheets
Make sure you have both sheets open in Excel. These are the sheets you’ll be working with: one will provide the data source, and the other will display the results.
Having both sheets open allows you to easily switch back and forth. It also ensures that Excel can access all the data it needs without any hiccups.
Step 2: Select the Cell for Your Formula
Choose the cell where you want your result to appear in the destination sheet. This is where the magic happens, as your data will pop up here.
Picking the right cell is crucial. It’s the spot where you’ll unleash the formula, so make sure it’s empty and ready to receive the data.
Step 3: Enter the XLOOKUP Formula
In the selected cell, type the XLOOKUP formula. It should look something like this: =XLOOKUP(lookup_value, source_sheet!lookup_range, source_sheet!return_range).
Understanding the components of the formula helps you customize it for your specific needs. The lookup_value is what you’re searching for, and the ranges are the areas in the source sheet where you’re looking and from where you’re pulling data.
Step 4: Specify the Lookup Value
Determine what you want to search for in the source sheet. This could be a specific number, name, or any other identifier.
The lookup value is like the key that unlocks the data. Make sure it’s accurate to avoid any errors or mismatches in the results.
Step 5: Adjust the Formula for Errors
You can add an optional argument to handle errors, like =XLOOKUP(lookup_value, source_sheet!lookup_range, source_sheet!return_range, “Not Found”).
Handling errors ensures that your spreadsheet doesn’t look messy if something goes wrong. It’s a good practice to include a message like “Not Found” for clarity.
Once you complete these steps, your Excel sheet will automatically pull data from the source sheet whenever the lookup value is found. It’s a seamless way to manage and compare data between two sheets.
Tips for Using XLOOKUP in Excel with Two Sheets
- Always double-check your formula for typos before pressing Enter.
- Use named ranges to make your formula easier to read.
- Ensure both sheets have the same headers if you’re matching columns.
- Test your formula with different lookup values to ensure accuracy.
- Explore using XLOOKUP with different data types, such as text and numbers.
Frequently Asked Questions
How do I handle multiple matches with XLOOKUP?
XLOOKUP returns the first match it finds. For multiple matches, consider using FILTER or INDEX-MATCH.
Can XLOOKUP work with non-adjacent columns?
Yes, XLOOKUP can search across non-adjacent columns, giving you more flexibility.
What if my data isn’t found?
You can customize the formula to return a specific message, such as “Not Found,” if no data is found.
Does XLOOKUP work in older versions of Excel?
XLOOKUP is available in Excel 365 and Excel 2019. It isn’t supported in older versions.
Can I use XLOOKUP with other functions?
Absolutely! You can nest XLOOKUP within other functions for more complex operations.
Summary of Steps
- Open both sheets.
- Select the cell for your formula.
- Enter the XLOOKUP formula.
- Specify the lookup value.
- Adjust the formula for errors.
Conclusion
Mastering XLOOKUP in Excel with two sheets is like unlocking a new level in a video game. It allows you to efficiently manage and analyze data with just a few clicks. Whether you’re working on a small project or handling extensive datasets, XLOOKUP is a powerful tool that simplifies your workflow.
Remember, practice makes perfect. Don’t hesitate to experiment with different lookup values and ranges to see how versatile XLOOKUP can be. It’s a skill that will undoubtedly enhance your data management capabilities.
If you want to delve deeper, explore more advanced Excel functions that can complement XLOOKUP. You’ll find that knowing how to use this function effectively can be a real game-changer in your day-to-day tasks. So go ahead, give it a try, and watch your Excel skills soar!

Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.
After receiving his Bachelor’s and Master’s degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.
His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.