
- Updated
Get the right Excel or Google Sheets formula
This prompt writes a spreadsheet formula. You choose Excel or Google Sheets, describe the result you want, list your columns and give example rows with the expected output so the formula is checked against them.
Write a formula for [EXCEL / GOOGLE SHEETS]. What I want: [DESCRIBE THE RESULT] My columns: [e.g. A = date, B = name, C = amount] Example rows and expected output: [EXAMPLES] Give the formula, explain each part, tell me where to paste it and give a simpler alternative if one exists. Mention any version limits.
Describe the sheet layout in words. It matters more than you think.
Get a better result
A working formula for Excel or Google Sheets, a plain-words walk through each part, where to paste it, a simpler option if one exists and a note about any version limits.
The formula returns an error because the columns were not described.
Fix: Follow the tip and write the layout: “A = date, B = name, C = amount, headings in row 1, data from row 2”.
- It works on your example but not on the full sheet. Give two or three tricky rows as examples, including blanks and text in number columns, and say how many rows the sheet really has.
- You pick the wrong app, so the formula uses missing functions. State the exact product and version, for example “Excel 2016, no dynamic arrays”. Newer functions will not run in older versions.
Add “do it in one cell, no helper columns, and tell me if that makes it harder to read”. You can then choose between short and easy to check.
That gives an error. Here is the exact message and my first three rows. Fix the formula and explain what was wrong.
Guides that use this prompt
More chat & writing prompts
See all 465 →More like this
- Google Business Profile postsChatGPT · Gemini · Claude
- Plan a small project with tasks and datesChatGPT · Gemini · Claude
- Fantasy knight character sheetMidjourney · Gemini · ChatGPT
- Plan a spreadsheet dashboardChatGPT · Gemini · Claude
- Help me make a decisionChatGPT · Gemini · Claude



