AnalystPracticeGuides
DashboardSign up

How to use ChatGPT in Excel

OpenAI's ChatGPT add-in puts a ChatGPT panel next to your sheet. You ask in plain English, and it writes formulas, cleans data or builds a table directly in your workbook. It works in Excel for the web and Excel on desktop, and a free ChatGPT account is enough. Below: how to install it, the practice file, and the four prompts from the video.

Watch it solved. Install the add-in and 4 prompts, in our video “How to Use ChatGPT in Excel (Full Beginner Tutorial)”. Pressing play loads the video from YouTube (privacy). Open on YouTube
Free practice file. The same made-up data as in the video: a sales table, a list of messy names and an empty Budget sheet. No sign-up needed.
Download ChatGPT-in-Excel.xlsx

How do you install ChatGPT in Excel?

On the Home tab, click Add-ins, search for ChatGPT and click Add next to the one called simply "ChatGPT" (made by OpenAI). The panel opens on the right. Click Continue with ChatGPT and sign in with the account you use on chatgpt.com. The first time it changes your sheet, it asks for permission.

Prompt 1: write formulas for you

Sheet Sales, select A1:B5 and ask:

Write a formula for the total units sold, and another formula that finds the product with the most units sold. Put both next to the table.

In the video it wrote =SUM(B2:B5) (6,005) and =INDEX(A2:A5,MATCH(MAX(B2:B5),B2:B5,0)) (Pens) into the sheet.

Prompt 2: clean messy data

Sheet Names, select A1:A5 and ask:

Clean up these names: remove the extra spaces and fix the capitalization. Put the clean names in column B and tell me the formula you used.

It used =PROPER(TRIM(A1)): TRIM removes extra spaces, PROPER capitalizes the first letter of every word. You can type that formula yourself and fill it down.

Prompt 3: build a table from nothing

Sheet Budget, click A1 and ask:

Create a monthly budget tracker table with columns for Category, Budgeted Amount, Actual Amount and Difference. Add five example rows and use a formula for the Difference column.

Prompt 4: explain a formula

Explain what this formula does in simple terms: =INDEX(A2:A5,MATCH(MAX(B2:B5),B2:B5,0))

MAX finds the highest number, MATCH finds its position, and INDEX returns the product in that position.

Can you trust what ChatGPT writes?

Check it, every time. Look at the formula in the formula bar and test it on a number you can verify by hand, the way the video checks the total and the top product. AI answers can be wrong, and a wrong formula looks just as neat as a right one.

Practise the formulas yourself. In your browser, with instant feedback.
Practise INDEX MATCH Practise TRIM and PROPER Check an AI formula

All data in the file and the video is made up. Not affiliated with OpenAI or Microsoft. Updated November 2026.

← All free guides