More in Spreadsheets & money data.
Build a cohort retention table in Excel with Copilot Agent Mode
Excel's Copilot Agent Mode built an accurate color-coded cohort retention table, plus a useless chart the reviewer deleted.
Result: WorkedTool: Microsoft Copilot Agent Mode (Excel)Level: AdvancedEvidence: Shown
Shown: The article shows screenshots of Copilot at work in Excel and the resulting retention table. Rated , after reopening the source. Rates the evidence, not the result. Failed and partial cases are rated the same way. How we rate evidence
Outcome
Given a long table of customers by period, Excel's Copilot Agent Mode built a color-coded cohort retention table that DataCamp's reviewer found accurate to the data; it also added a useless chart they had to delete. The reviewer expected the task to take several steps (grouping customers by signup month, counting active customers each month, pivoting into a matrix and dividing by each cohort's first month) and says Agent Mode did it exactly as expected. The reviewer's conclusion is that you still need to know your data and question the outputs.
WorkedPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- Send it, then read the answer before acting on it.
New to this? What's a prompt?
A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.
Prompt
Recreated prompt
The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.
The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.
Before you start, ask me 1–3 short questions about the details below and wait for my answers. Once I've answered, confirm the plan in one line and run the whole task start to finish. Goal: Turn my customer activity table into a cohort retention table. Quick-check questions: Which columns are customer ID, signup date and activity date, and monthly or weekly cohorts? What I'll give you: - The table in Excel - Cohort period (month or week) - Which sheet holds the data Rules: - Group users by signup period, count active users in each later period and divide by period 0. - Put the result on a new sheet; don't overwrite my data. - Show the formulas so I can check them. - Skip charts unless I ask. - If a customer appears in more than one cohort, use their first signup date. Output: A triangular retention table with percentages and a short note on the method. If my answers leave a gap, make a sensible choice, say what you assumed, and keep going. You'll know it worked when: each row starts at 100% and the counts match the raw data.
Try this in:
Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Microsoft Copilot Agent Mode (Excel), which can take actions in a browser or app. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Before you start, ask me 1–3 short questions about the details below and wait for my answers. Once I've answered, confirm the plan in one line and run the whole task start to finish. Goal: Turn my customer activity table into an accurate cohort retention table. Questions to ask me first: - Which columns hold customer ID, signup date and activity date? - Monthly or weekly cohorts? - Active users or revenue? Inputs (fill in or confirm): - The Excel table and sheet name - Columns for customer ID, signup date, activity date - Cohort period (month or week) - Whether to count revenue or active users Rules: - Group customers by signup period; count distinct active customers in each later period; divide by period-0 size. - Put results on a new sheet; never overwrite the source data. - Show the formulas or pivot used so I can audit them. - Format as a triangle with percentages and conditional coloring. - Skip charts unless I ask. If you get stuck: If dates are stored as text, convert in a helper column and tell me. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords. Verify before you finish: Check every cohort's period 0 is 100% and that counts in period 0 equal distinct signups. Output: Retention sheet, method note and a short read of the main trend. Done when: the table reconciles with the raw data and each row starts at 100%.
AI tool
Source
- Posted
- by Josef Waples (DataCamp)
- Last checked
- Method:
- How we verify
https://www.datacamp.com/blog/agent-mode-in-excel
Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.
More in Spreadsheets & money data
Fix a messy article-tracker spreadsheet with ChatGPT, Claude and Gemini and compare the results
XDA tested ChatGPT, Claude and Gemini on a broken tracker sheet; none spotted shuffled word counts and Gemini didn't fix it.
PartialChatGPT +2Evidence: Article or interviewEverydayView CaseRebuild a Mint-style expense tracker with ChatGPT, Sheets and Looker
Edgar Ramirez Vilchez used ChatGPT to script Fidelity CSV cleanup, then Looker Studio charts, as a personal Mint replacement.
WorkedChatGPTEvidence: Described by posterEverydayView CaseTurn a 5,000-transaction spreadsheet into an offline finance app with Gemini and Claude
Tony Phillips turned a 5,000-transaction spreadsheet into an offline finance app with Gemini and Claude, without writing code.
WorkedGemini +1Evidence: Described by posterEverydayView CaseClean up a messy spreadsheet and list issues with Copilot in Excel
Copilot in Excel made a strong manual-review sheet for Tony Phillips but didn't fix many safe issues, so the cleanup was only partial.
PartialCopilotEvidence: Article or interviewEverydayView CaseBuild an Excel forecast, scenario and CFO memo with Claude, Copilot and ChatGPT
Claude beat Copilot and ChatGPT in Mike Dion's Excel forecast tests, but ChatGPT's model missed key costs: a partial result.
PartialClaude (Excel) +2AdvancedView CaseCategorize bank transactions into a rolling 12-month budget with Claude
Kirill Markin had Claude categorize 43 transactions and update a 12-month budget in about 10 minutes of review.
WorkedClaudeEverydayView Case
Similar cases
Analyze a Substack newsletter export with ChatGPT agent mode
Clint Cain merged a Substack export with ChatGPT Agent Mode and got blunt advice: stay on 1 topic and use fewer CTAs.
WorkedChatGPT agentEvidence: Described by posterAdvancedView CaseBuild a credit risk scorecard in Excel with Claude in Excel
Claude in Excel built a polished 28-sheet credit scorecard but broke the brief's method and overstated accuracy: partial at best.
PartialClaude (Excel)Evidence: Shown on videoAdvancedView CaseFill missing industry details in a customer sheet with Zapier Agents
Zapier says egg's Zapier Agent fills missing industry details in a customer sheet in about five minutes, replacing a contractor.
WorkedZapier AgentsAdvancedAccording to Zapier: About 5 minutes; contractor no longer needed
View CaseMerge provider price CSVs into one comparison table with Claude Code
Claude Code read several local CSVs of model prices from different providers and produced one comparison table grouped by provider.
WorkedClaude CodeAdvancedView Case

