Create lookups with Copilot in Excel
Applies To
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web

Use Copilot in Excel to create cells that look up values from elsewhere in your workbook and return corresponding data. For example, if you have a sheet with item stock quantities, you can use Copilot to retrieve those values and display them in your inventory sheet.

How to create a lookup

  1. Open Excel.

  2. From the Home tab, select the Copilot  small image of the Copilot icon. button in the ribbon.

  3. In the prompt box ask Copilot to create your lookup column. Try a prompt like:

    Icon depicting a document with sparkles Create a column that looks up the quantity in stock for each item from the inventory sheet.

  4. Copilot analyzes your data, recommends a formula that looks up your desired value, and creates a new column for it.

  5. Select +Insert Column to add the new column to your sheet.

Example lookup

Using the prompt from Step 3, Copilot has recommended an XLookup formula that looks up the stock quantity from the inventory sheet and creates a new column called Stock quantity​​​​​​​.

Copilot in Excel creates an XLookup formula based on a prompt from the customer asking for a column that looks up inventory data in another sheet.

​​​​

More ways to work with Copilot in Excel

Generate formula columns and rows with Copilot in Excel​​​​​​​

Create Pivottables with Copilot in Excel

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.