Audit Weekly Spreadsheet Metrics and Flag Formula Errors

Audits weekly spreadsheet exports in Gemini to summarize key metric shifts and pinpoint likely calculation errors or broken formulas.

Text prompt

You get: Performance Summary, discrepancy & Formula Audit and action Checklist

Prompt

Prompt
Act as a senior operations data analyst. I will paste raw weekly numerical data or an export table from Google Sheets below this prompt.

Your job is to analyze the weekly performance numbers, interpret the variances, and check for signs of formula or reporting corruption.

Rules:
1. Compare current figures against prior period figures provided in the table, noting exact percentage or absolute changes.
2. Flag any metric where the change exceeds 20% or where calculated totals do not match the sum of their reported sub-components.
3. Identify likely sheet causes for broken totals (such as omitted rows in SUM ranges, text-stored numbers, or divide-by-zero errors).
4. Maintain an objective, operational tone without speculative explanations.

Output format:
- Performance Summary: 3-4 bullet points detailing verified week-over-week trends.
- Discrepancy & Formula Audit: A table with columns Metric Name, Reported Value, Expected Calculated Value, Variance Reason, and Suspected Sheet Issue.
- Action Checklist: 2-3 specific cell ranges or formula checks for the spreadsheet owner to inspect.

State one limitation regarding unshared hidden rows or external script dependencies at the end.

Example output

Reported vs expected values in flagged metricsThree formula issues found in week 42 audit
ItemReportedExpected
Regional Orders Sum3,1103,450
Average Order Value$0.00$41.30
Refund Total$1,200 (text)$1,200

Example for: an e-commerce brand auditing week 42 performance metrics from Google Sheets.

Performance Summary
  • Total gross revenue reached $142,500, marking a 4.2% increase over Week 41 ($136,750).
  • Organic acquisition volume dropped by 24.1% week-over-week, declining from 18,200 sessions to 13,810 sessions.
  • Paid ad spend remained steady at $28,400 with blended return on ad spend (ROAS) holding at 5.02.
Discrepancy & Formula Audit
Metric NameReported ValueExpected Calculated ValueVariance ReasonSuspected Sheet Issue
Regional Orders Sum3,1103,450Row omission (-340 orders)SUM(C4:C18) likely cut off before row 21 where Mountain region sits.
Average Order Value (AOV)$0.00$41.30Zero division returnFormula =Revenue/Total_Orders points to an empty aggregate cell instead of D22.
Refund Total$1,200$1,200Text-formatted stringCell displays a leading single quote or is formatted as plain text, excluded from net revenue formula.
Action Checklist
  1. Inspect cell C19 to confirm the summation range captures all active territory rows down through row 21.
  2. Update the AOV calculation in cell E22 to reference the confirmed total order count in C22 instead of empty cell C23.
  3. Reformat range F4:F21 from Plain Text to Financial Currency to resolve the refund aggregation gap.

Note: This audit evaluates only visible table figures; it cannot detect values hidden by active sheet filters or changes driven by AppSheet automation scripts.

Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • Instructs Gemini to compare reported column totals against raw component sums to catch formula flaws.
  • Enforces a structured table separating visible performance variances from technical formula issues.
  • Requires actionable spreadsheet-level recommendations instead of generic commentary.

Paste your raw tabular data or CSV dump directly after this prompt into Gemini. Best used for weekly recurring Google Sheets operations summaries.

Common edits

  • Adjust the 20% variance threshold higher or lower depending on business volatility.
  • Add specific Google Sheets formula recommendations such as SUMIFS or IFERROR directly to the output.

Reuse it: Use in a workflowTurn into a skillAdapt in the builder

More in Gemini
Excel & Spreadsheets

Paste rows from Excel or Google Sheets and get numbered findings tied to exact figures, a trend table, data quality flags and the gaps that limit conclusions.

Excel & Spreadsheets

Plan a Pivot Table That Answers a Specific Business Question

Get a pivot table plan mapping your fields to rows, columns, values and filters, with aggregation choices, data shape fixes and build steps.

Excel & Spreadsheets

Find Outliers and Bad Data in a Spreadsheet Using IQR

Paste a dataset and get a row-by-row list of duplicates, blanks, impossible values and IQR outliers, with the bounds used, a fix for each and Excel formulas to recheck them.

Excel & Spreadsheets

Write a Weekly or Monthly KPI Report Narrative from Your Excel Numbers

Turns your pasted KPI numbers into a report narrative where each metric states the change, the likely driver and a next action, with every claim tied to a figure.

Excel & Spreadsheets

Translate plain English requests into Google Sheets QUERY

Transforms plain business questions into working Google Sheets QUERY formulas with correct syntax, quotation marks, and date formats.

Excel & Spreadsheets

Build an Excel Sales Forecast Comparing Moving Average and FORECAST.ETS

You get a tested Excel sales forecast with paste-ready formulas for two methods, a MAPE comparison on held-out months, and a clear pick of the better method.