Pinterest Pixel

Easy Guide to Create XLOOKUP and VLOOKUP Formulas with Copilot in Excel

John Michaloudis
Microsoft Copilot can help you create formulas without remembering the formula syntax.
You can describe what you want in a simple prompt, and Copilot can suggest the right formula.

You can also ask Copilot to explain or modify the formula based on your needs.

In this article, I will show you how to create XLOOKUP and VLOOKUP formulas with Copilot in Excel using simple examples.

Microsoft Copilot can help you create formulas without remembering the formula syntax. You can describe what you want in a simple prompt, and Copilot can suggest the right formula. You can also ask Copilot to explain or modify the formula based on your needs. In this article, I will show you how to create XLOOKUP and VLOOKUP formulas with Copilot in Excel using simple examples.

Key Takeaways:

  • Copilot can create VLOOKUP and XLOOKUP formulas.
  • You can create formulas using simple prompts.
  • XLOOKUP is more flexible than VLOOKUP.
  • Always check the formula suggested by Copilot.
  • Clear prompts can help Copilot create better formulas.

 

Introduction to the LOOKUP Functions

What is VLOOKUP?

The VLOOKUP function looks for a value in the first column of a table. It then returns a value from another column in the same row. You can use VLOOKUP to find data quickly and create reports. It is useful when working with large amounts of data. For example, you can use VLOOKUP to find a product price, sales amount, or customer name using an ID.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

What is XLOOKUP?

The XLOOKUP function searches for a value in one range and returns a related value from another range.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

XLOOKUP has several useful features:

  • It can search vertically and horizontally.
  • It can find an exact or approximate match.
  • It supports wildcards.
  • It can show custom text when no match is found.
  • The return range does not have to be to the right of the lookup range.
  • It can also search from the first or last matching value.

 

How to Create XLOOKUP and VLOOKUP Formulas with Copilot

VLOOKUP Function

Follow the steps below to use Copilot to create the VLOOKUP function:

STEP 1: Create a data table with proper headers.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

STEP 2: Go to the Home tab and select the Copilot button.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

STEP 3: In the chat panel, type this prompt:

Create a VLOOKUP formula that looks up the Product ID in cell F2 and returns the corresponding Sales from the table.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

STEP 4: Review the formula to make sure the lookup and return columns are correct.

Apply the formula by pressing the Done button.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

The result will show the sales amount for the Product ID entered in F2.

XLOOKUP Function

Follow the steps below to use Copilot to create an XLOOKUP formula:

STEP 1: Open the Excel workbook and make sure your data has proper headers.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

STEP 2: Go to the Home tab and select Copilot.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

STEP 3: In the chat panel, type a prompt such as:

Create an XLOOKUP formula that looks up the Product ID in cell F2 and returns the corresponding Sales from the table.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

STEP 4: Review the formula Copilot suggests. Apply the formula to your worksheet.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

The formula will return the sales amount for the Product ID entered in F2.

VLOOKUP vs XLOOKUP

  • VLOOKUP and XLOOKUP can find a value in a table and return related information.
  • VLOOKUP searches the first column and returns a value from a column to the right, while XLOOKUP can return values from either side.
  • VLOOKUP uses a column number, while XLOOKUP lets you select the lookup and return ranges separately.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

  • XLOOKUP can add custom messages if there is an error in the formula.

XLOOKUP and VLOOKUP formulas with Copilot in Excel

  • XLOOKUP can search both vertically and horizontally, while VLOOKUP can only search horizontally.
  • XLOOKUP is easier to update as you do not need to change the column number if the structure of the table changes.

 

FAQs

1. Can Copilot create VLOOKUP formulas?

Yes. You can ask Copilot to create a VLOOKUP formula using a simple prompt.

2. Can Copilot create XLOOKUP formulas?

Yes. Copilot can create XLOOKUP formulas based on your instructions.

3. Is XLOOKUP better than VLOOKUP?

XLOOKUP is more flexible and has more features than VLOOKUP.

4. Can Copilot fix a lookup formula?

Yes. You can ask Copilot to review or correct a formula that is not working as expected.

5. Should I check formulas created by Copilot?

Yes. Always review and test the formula before using it in your workbook.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  How to Create Charts with Copilot in Excel

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...