In the pack: ChatGPT, Claude & Gemini Prompts for Data Analysis, Excel & Google Sheets
Cohort and Retention Table
Prompt
Tool: {{TOOL}}
Data columns and a few sample rows (customer ID, first activity or sign-up date, activity dates or orders): {{DATA_STRUCTURE}}
What counts as an active period (any order, a login, a paid renewal): {{ACTIVITY_DEFINITION}}
Period size (week or month) and the date range available: {{PERIOD_AND_RANGE}}
Do this:
1. Define a cohort and an activity period precisely, using my definitions, and note edge cases such as customers whose first activity predates the data.
2. Show how to compute each customer's cohort and the number of periods since then, as formulas, SQL or code in my tool.
3. Build the cohort table: cohorts down the side, periods since start across the top, with customers active and the percentage retained. Give the formulas.
4. Explain the traps: the most recent periods are incomplete, small cohorts are noisy, and survivors are not representative of the cohort.
5. Explain how to read the triangle and what questions it can and cannot answer.
6. Give a check: period zero must equal the cohort size.
Don't give benchmark retention rates.
Customize this prompt
Fill in the variables below to personalize this prompt:
Model Settings
Recommended Models
Temperature
Max Tokens
Additional Notes
About this prompt
“Cohort and Retention Table” is a free prompt for ChatGPT in the Business category, 186 words long, added to The Prompt Index on October 28, 2026 by The Prompt Index. Copy it with the button above, paste it into ChatGPT or any other AI chat assistant, and send it.
It has 4 placeholders to fill in first:
{{TOOL}}, {{DATA_STRUCTURE}}, {{ACTIVITY_DEFINITION}}, {{PERIOD_AND_RANGE}}.
Use the “Customize this prompt” fields to personalise it before you copy.
Recommended models: ChatGPT, Claude, Gemini.
0 upvotes, sent to an AI tool 0 times, viewed 7 times.
Browse all Business prompts, the AI prompt database or use the AI prompt finder to search every prompt.