· ExcelWorkflow · Excel & AI  · 5 min read

Excel and Artificial Intelligence: The Complete 2026 Guide to Automating Your Analytics

Discover how to combine Excel and AI (ChatGPT, Copilot, native functions) to automate your data analysis, generate reports in seconds, and transform your professional productivity.

Discover how to combine Excel and AI (ChatGPT, Copilot, native functions) to automate your data analysis, generate reports in seconds, and transform your professional productivity.

Introduction: AI is Revolutionizing Excel

Microsoft Excel is the most widely used productivity tool in the world — over a billion people use it daily. But since 2023, a silent revolution has been radically transforming how we work with data: the integration of artificial intelligence directly into Excel.

Whether you are a financial controller, an analyst, a sales rep, or a project manager, learning how to combine Excel and AI is no longer optional. It has become a decisive competitive advantage.

In this comprehensive guide, you will discover:

  • The new native AI functions in Excel (LET, LAMBDA, XLOOKUP…)
  • How to use Microsoft Copilot in Excel
  • How to integrate ChatGPT into your Excel workflows
  • The best automations to save hours every week

1. The New Excel Functions That Change Everything

XLOOKUP: The Death of VLOOKUP

VLOOKUP ruled for decades. XLOOKUP makes it obsolete. This revolutionary function searches in any direction and returns multiple columns in a single formula.

=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found])

Concrete example: You have a list of 10,000 customers and you want to retrieve their revenue, region, and segment in a single formula:

=XLOOKUP(A2, Customers[ID], Customers[[Revenue]:[Region]:[Segment]], "Not found")

In one line, you retrieve 3 columns simultaneously. With VLOOKUP, you needed 3 distinct formulas.

LAMBDA: Create Your Own Functions

LAMBDA is the function that turned Excel into a true programming language. It allows you to create custom, reusable functions without VBA.

=LAMBDA(rate, amount, amount * (1 + rate))

Name this function WithTax in the Name Manager, and use it anywhere in your workbook:

=WithTax(0.20, 1000) → Returns 1200

LET: No More Duplicate Calculations

LET allows you to define variables within an Excel formula, making your formulas more readable and faster (each calculation is only performed once).

=LET(
  margin, (Revenue - Cost) / Revenue,
  bonus, IF(margin > 0.3, margin * 0.1, 0),
  "Bonus: " & TEXT(bonus, "0.00%")
)

FILTER and SORT: Total Dynamism

FILTER returns an array filtered dynamically according to multiple criteria:

=FILTER(A2:D100, (B2:B100="Paris") * (C2:C100>50000), "No results")

This array updates automatically when your data changes. Revolutionary.


2. Microsoft Copilot in Excel: The Real Game Changer

Microsoft Copilot is the AI assistant built into Microsoft 365. Available since 2024 in Excel, it radically transforms the way we work with data.

What Copilot Can Do in Excel

Automatic analysis of your data: Select your table and type into Copilot: “Analyze this sales data and identify the 3 main trends”. In 10 seconds, you get a full summary with suggested charts.

Generation of complex formulas: Describe what you want to do in plain English: “I want to calculate the median sales for the last 30 days only for the North region, excluding outliers”. Copilot generates the exact formula.

Smart conditional formatting: “Highlight in red all cells where the margin rate is below 15% and the volume is over 1000 units”.

Data cleaning: “Normalize the names in this column: capitalize the first letter, remove extra spaces, and fix special encodings”.

Activating Copilot in Excel

To access Copilot in Excel, you need:

  1. A Microsoft 365 subscription (Business Standard, Business Premium, or E3/E5)
  2. The Microsoft 365 Copilot license (add-on license)
  3. The data must be in an Excel Table (Ctrl+T) or on SharePoint/OneDrive

3. Integrate ChatGPT into Your Excel Workflows

Even without Copilot, you can use ChatGPT in powerful ways with Excel through multiple methods.

Method 1: ChatGPT as a Formula Generator

The easiest way to use ChatGPT with Excel: describe what you want to achieve and ask for the formula.

Effective prompt:

“In Excel, I have dates in column A, revenue in B, and costs in C. I want to calculate the average ROI for the last 3 rolling months, excluding months where costs exceed €50,000. Give me the formula.”

ChatGPT will give you a tested and explained formula. This approach is 5x faster than searching on Google.

Method 2: VBA + OpenAI API

For VBA users, you can integrate the ChatGPT API directly into Excel:

Function ChatGPT(prompt As String) As String
    Dim http As Object
    Set http = CreateObject("MSXML2.XMLHTTP")
    
    Dim apiKey As String
    apiKey = "your-api-key"
    
    Dim requestBody As String
    requestBody = "{""model"": ""gpt-4"", ""messages"": [{""role"": ""user"", ""content"": """ & prompt & """}]}"
    
    http.Open "POST", "https://api.openai.com/v1/chat/completions", False
    http.setRequestHeader "Content-Type", "application/json"
    http.setRequestHeader "Authorization", "Bearer " & apiKey
    http.send requestBody
    
    ' Parse JSON response
    Dim response As String
    response = http.responseText
    ' ... response extraction
    
    ChatGPT = response
End Function

With this function, =ChatGPT("Categorize this description: " & A2) will automatically analyze each cell.


4. Automate Your Reports with Power Query and AI

Power Query (the built-in ETL tool in Excel) combined with AI allows you to create fully automated data processing pipelines.

Automated Cleaning Pipeline

Before Power Query + AI: 2 hours of manual cleaning every week. After: 30 seconds of automatic refreshing.

Here are the steps to create a robust pipeline:

  1. Connect to source: CSV files, SQL database, REST API, SharePoint…
  2. Automatic cleaning: Remove duplicates, normalize formats, handle null values
  3. Enrichment: Joins with reference tables, derived calculations
  4. Load: Into your data table or Power Pivot model

The secret: once set up, a single click is enough to refresh the entire pipeline.


Conclusion: Where to Start?

  1. Master the basics first: XLOOKUP, LAMBDA, LET, FILTER if you haven’t already
  2. Use ChatGPT to generate your complex formulas — it’s free and immediately useful
  3. Explore Power Query to automate your data imports and cleaning
  4. Invest in structured training to go further, faster

The era when Excel was “just a spreadsheet” is over. Excel + AI is now one of the most powerful tools in the professional world. Those who master it have a massive advantage.

👉 Ready to go further? Discover our complete Excel & AI course to master all these tools in just a few weeks.

Back to Blog

Related Posts

View All Posts »