In this categoryChatGPT ยท 25
- How to Build Your First Custom GPTStart
- How to Upload Knowledge Files to a Custom GPT
- How to Connect a Custom GPT to an API with Actions
- How to Create a Custom GPT for a Repeated Task
- How to Publish and Share a Custom GPT
- How to Fix a Custom GPT That Ignores Its Instructions
- How to Build a Custom GPT with Clear Instructions
- How to Write a Professional Email With ChatGPT
- How to Debug a Code Error With ChatGPT
- How to Build an Excel or Google Sheets Formula With ChatGPT
- How to Write a Python Automation Script With ChatGPT
- How to Turn Meeting Notes Into Action Items With ChatGPT
- How to Translate and Localize Text With ChatGPT
- How to Prepare for a Job Interview With ChatGPT
How to Build an Excel or Google Sheets Formula With ChatGPT
Describe what you want a cell to do in plain English and get a working formula you can paste straight in.
Nested IFs, VLOOKUP, INDEX MATCH, the syntax never sticks. Instead of fighting it, describe the result you want and let ChatGPT write the formula. It works for both Excel and Google Sheets, but you have to tell it which one because the function names differ.
- Which app you use (Excel or Google Sheets)
- Your column layout and what is in each column
- An example of the input and the output you expect
Step 1: Describe your sheet layout
The model cannot see your sheet, so tell it where things are. Name the columns and give a sample row. Vague requests get formulas that reference the wrong cells.
Google Sheets. Column A has sale dates, column B has amounts.
In cell D2 I want the total of all amounts where the date in A is in the current month.
Give me one formula and explain each part briefly.Step 2: Paste the formula and test one cell
Copy the formula into the target cell and check the result against a value you can compute by hand. Do not roll it out across a thousand rows until one cell is proven correct.
=SUMIFS(B:B, A:A, ">="&EOMONTH(TODAY(),-1)+1, A:A, "<="&EOMONTH(TODAY(),0))Step 3: Ask it to explain so you can maintain it
A formula you do not understand is a future bug. Ask the model to break down each argument. For the example above, EOMONTH(TODAY(),-1)+1 is the first day of this month and EOMONTH(TODAY(),0) is the last, so SUMIFS adds only this month's amounts.
Step 4: Handle the edge cases
Tell it what should happen with blanks, errors, or text in a number column. Ask wrap this so blank cells count as zero and errors show a dash. This is where hand-written formulas usually break and where the model saves you the most time.
Result
You describe the calculation in one sentence, get a working SUMIFS formula, understand each piece, and harden it against blanks. No more trial-and-error with parentheses.
Watch related tutorials
30:00
21:10
22:40
24:16
1:05:30
12:00New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.