Build a Rolling 12-Month Financial Summary Table in Excel
Get a complete Excel layout and dynamic SUMIFS formulas for a rolling 12-month financial summary that updates automatically as you add new monthly actuals.
Text prompt for Gemini and ChatGPT
You get: Sheet Setup & Anchor Cell, summary Table Layout and step-by-Step Verification
Prompt
Act as a senior financial analyst and Excel specialist. Build a rolling 12-month financial summary table that automatically shifts its date window as new monthly actuals are added, without manual range edits.
First, ask me 3 short numbered questions about my workbook: (1) the name of my raw data tab and which columns hold the date, category, and amount, (2) whether my dates are exact transaction dates or first-of-month dates, and (3) the main revenue and expense categories I want to track. Wait for my answers before building the table.
Rules:
- Use dynamic SUMIFS formulas paired with EOMONTH and EDATE so the 12-month window shifts automatically based on a single anchor date cell.
- Include a total column and a prior-month variance column.
- Never use volatile functions like OFFSET or INDIRECT.
- Provide exact cell references and drag-ready formulas with proper dollar-sign locking.
Output format:
1. Sheet Setup & Anchor Cell (exact cell coordinates and formula for the latest month)
2. Summary Table Layout (Markdown table showing row labels, column headers, and exact formulas)
3. Step-by-Step Verification (how to test that adding a new month shifts the window)
Note: This is a spreadsheet layout guide, not professional accounting advice; consult a CPA for formal reporting. State any assumptions about date formatting or missing categories.Example output
Tips and common edits
Why this works
- Asks 3 targeted questions first so formulas match your exact tab names and column letters.
- Bans volatile functions like OFFSET and INDIRECT, keeping large workbooks fast.
- Enforces EOMONTH and SUMIFS with dollar-sign locking so formulas are immediately drag-ready.
Use in ChatGPT, Claude, or Gemini when building a monthly P&L or cash flow tracker. Have your raw data tab name, date column, and category column ready to share.
Common edits
- Swap the variance column from Month-over-Month to Year-over-Year by comparing M5 to B5.
- Add a 3-month trailing average column using =AVERAGE(K5:M5) next to the 12-month total.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Build an Excel Waterfall Chart Table for Revenue or EBITDA Bridges
Get a ready-to-paste Excel table layout with exact variance formulas and helper columns so your native waterfall chart renders cleanly.
Audit financial models for hardcoded numbers and errors
Scan spreadsheet formulas and row definitions to find hidden static numbers, circular references, inconsistent logic, and broken calculations.
Build a tiered sales commission formula in Excel
Design a clean, audit-friendly tiered commission model that replaces fragile nested IF statements with scalable formulas.
Build a Two-Variable Sensitivity Table for Revenue and Margin
Get a complete Excel sensitivity table layout with dynamic formulas and conditional formatting rules to highlight break-even profit thresholds.
Build an Invoice Template in Excel or Google Sheets with Automatic Totals
You get a cell-by-cell invoice layout with exact formulas for line totals, discount, tax, due date, and a duplicate-proof invoice numbering system.
Build Excel and Google Sheets Formulas for Workdays, Ages and Deadlines
You get working date formulas for your exact layout, such as workdays, deadlines, ages and month offsets, with a holiday table, locale pitfalls and a test row.
- Clean and Standardize Messy Spreadsheet Data with Exact Formulas
- Build a 3D sum formula across multiple monthly tabs
- Clean phone numbers and postal codes using Excel formulas
- Create a sorted unique dropdown list from raw data
- Create an auto-expanding dropdown list in Excel
- Fix divide-by-zero errors in Excel variance formulas