Excel SUBTOTAL repair

Fix an Excel SUBTOTAL formula that is counting the wrong rows.

Paste the SUBTOTAL formula that returns the wrong number, then say whether filtered rows, manually hidden rows, grouped rows, or table rows should be ignored. Get a focused repair path for function_num 9 versus 109, visible-row totals, filter behavior, and range placement.

Mode
Spreadsheet
Add your data (optional)
Try:
2 free tries left on this browser Upgrade - $9 for 500 runs/month

Purpose-built inputs

A focused workflow for everyday spreadsheet work.

Structured formula builder

Task, table context, target range, and function hint keep the request specific.

Write / Explain / Fix modes

Generate a new formula, translate a pasted one, or diagnose common syntax issues.

Excel and Sheets toggle

Notes flag functions that differ between Excel and Google Sheets, or that require newer versions.

Formula-bar output

The result is formatted for scanning and placed next to a copy button.

Common formulas

Pick the formula you came for.

Excel formula help

Get help writing, explaining, or fixing one Excel formula with range notes and checks before you paste.

AI Excel formula generator

Generate an Excel formula from plain English with range notes, an explanation, and checks before you paste.

Formula Bot alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than Formula Bot-style data, chart, dashboard, connector, SQL, code, or automation workflows.

Formula.dog alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a daily formula-bot, VBA, or no-sign-up workflow.

Julius AI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a data-agent workspace for files, charts, connectors, exports, or scheduled reports.

Excel Formula GPT alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a no-signup daily formula-generator workflow.

AI Formula Generator alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than SQL, file-context, bulk, VBA, or Apps Script workflows.

SheetSolver AI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a broader spreadsheet AI workspace.

ExpressSheet alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a broader analyst or team workflow.

SheetGPT alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than file, chat, OCR, chart, analysis, or script workflows.

SheetXAI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than in-sheet chat, app connections, extraction, analysis, or automation.

FormulaBerry alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than multilingual, finance, or small-business spreadsheet bot workflows.

FormulaDesk alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than installed Excel formula inspection tools.

PromptLoop alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than in-sheet AI, research, scraping, or enrichment workflows.

Coefficient alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than connected data, refresh, alert, export, or in-sheet AI workflows.

ExcelGPT alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full Excel assistant suite.

ChatExcel alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than spreadsheet chat, table extraction, file analysis, or API access.

FormulaGPT alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than account-based formula generation, support, or a spreadsheet-file workflow.

Rows alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full AI spreadsheet platform.

GPTExcel alternative

Use a focused formula workbench when the job is one formula, explanation, or repair.

ExcelBot alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than VBA or data analysis.

Ajelix alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full AI workspace.

SheetAI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a broader spreadsheet AI workflow.

mysheetAI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than step-by-step, VBA, or Apps Script assistant workflows.

Numerous.ai alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than in-spreadsheet AI automation.

SheetGod alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an add-on, macro, regex, or Apps Script workflow.

GenieSheet alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a daily-prompt formula generator.

Formulr alternative

Use a focused formula helper when you want two tries before choosing a broader formula app or extension.

FormulaWiz alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than Airtable or cross-platform variants.

Formularizer alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than SQL, regex, VBA, or Apps Script assistants.

FormulaPilot alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full formula library, checker, or reference hub.

FormulaGenius alternative

Use a focused formula helper when you want two guest tries before choosing a broader formula library or monthly tool.

FormulaZa alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a learning, history, translator, or chat workspace.

Excelly-AI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than file, Slack, VBA, or conversion workflows.

Sheeter alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an add-on or saved formula workspace.

Excel Formulator alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a monthly Excel/Sheets/Airtable formula app.

Sheet Alchemy alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a formula library, Apps Script, file-conversion, template, or visualization workflow.

Excel Labs alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an Excel Labs add-in, named LAMBDA, or LABS.GENERATIVEAI workflow.

SheetSmart alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a Google Sheets extension workflow.

Smart Excel alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a login-based daily-credit formula bot.

Sourcetable alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full AI spreadsheet workspace.

Zoho Sheet alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than Zoho Sheet, Zia, chart, pivot, sample-data, or macro workflows.

Griddy alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an AI spreadsheet assistant, sidebar, chart, cleanup, formatting, or direct-edit workflow.

Equals alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a BI spreadsheet, AI analytics, connector, dashboard, or CRM writeback workflow.

Arcwise alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an in-Sheets AI analyst workflow.

Bricks AI spreadsheet alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full AI spreadsheet, dashboard, chart, report, or collaboration workspace.

Quadratic alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an AI spreadsheet with code, connections, charts, file import, or team workspaces.

SheetSeek alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a full AI spreadsheet builder, chart, data chat, cleanup, or export workflow.

Excelmatic alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a RowSpeak file-analysis, dashboard, chart, or reporting workflow.

AI Excel Formula alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than just another quick generated formula.

Excel Formulas AI alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a free Excel formula generator and example library.

TextToFormula alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a free text-to-formula converter for Excel and Google Sheets.

ExcelFormula Pro alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an account-based formula generator.

ExcelFormula.co alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a daily-cap formula generator.

ManyExcel alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than regex, script, chart, or file workflows.

FormulaHelper alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than saved libraries, optimization, collaboration, add-ons, or API workflows.

GPT Workspace alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an in-Sheets AI sidebar, GPT formulas, or chat-with-sheet workflow.

GPT for Sheets alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an installed spreadsheet AI agent, bulk processing, cleanup, enrichment, pivots, charts, or credit packs.

AI Assist for Gemini alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a Google Workspace add-on for enrichment, categorization, translation, summarization, content, or API-key workflows.

Google Sheets AI add-on alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an installed Sheets agent for cleanup, duplicates, bulk prompts, or preview-before-apply workflows.

WPS AI spreadsheet alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an installed WPS Office AI workflow.

Sheet Formula alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than a single Google Sheets prompt box.

Gemini in Sheets alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than Workspace AI for tables, charts, pivots, formatting, filters, or broader sheet edits.

Copilot in Excel alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than the full Microsoft 365 Copilot workflow.

Claude for Excel alternative

Use a focused formula helper when you need one formula, explanation, or repair rather than an Excel add-in or workbook-level agent workflow.

Percentage formulas

Build percent of total, percent change, discount, markup, tax, tip, and completion-rate formulas.

Fix my Excel formula

Paste a broken formula and get a corrected version with checks for errors, text cells, ranges, and fallbacks.

Excel formulas not working

Fix formulas that stop calculating after imports, copied ranges, locale settings, or text-number mismatches.

Excel formula parse error

Fix formulas rejected by Excel because of separators, quotes, missing equals signs, parentheses, or copied syntax.

Google Sheets #REF! error

Fix formulas broken by deleted tabs, invalid ranges, moved references, blocked array output, or IMPORTRANGE source issues.

Google Sheets #VALUE! error

Fix formulas blocked by imported text numbers, unparseable VALUE inputs, date text, range shapes, or wrong argument types.

Google Sheets #N/A error

Fix formulas with missing lookup matches, no-match FILTER results, text-number mismatches, hidden spaces, or fallback mistakes.

Google Sheets #DIV/0! error

Fix formulas blocked by zero or blank denominators, ratio logic, averages, percentages, and IFERROR tradeoffs.

Google Sheets #NAME? error

Fix formulas with unknown range names, misspelled functions, deleted named ranges, named functions, or unquoted text.

Excel formula wrong result

Fix formulas that calculate the wrong value because of references, parentheses, stored types, or lookup settings.

Formula returns 0 or blank

Fix formulas that return 0, blank, or an empty string because of lookup return cells, IF logic, or hidden zero settings.

Excel date formula not working

Fix Excel date formulas with DATEVALUE #VALUE!, text dates, locale mismatches, serial numbers, DATEDIF, or criteria issues.

Excel SUMIFS not working

Fix SUMIFS formulas that return 0, #VALUE!, or wrong totals because of criteria, ranges, dates, or argument order.

Excel SUMPRODUCT not working

Fix SUMPRODUCT formulas that return #VALUE!, 0, or wrong totals because of array sizes, text numbers, hidden spaces, errors, or full-column references.

Excel COUNTIFS not working

Fix COUNTIFS formulas that return 0, #VALUE!, or wrong counts because of criteria, range sizes, dates, or closed workbooks.

Excel SUBTOTAL not working

Fix SUBTOTAL formulas that count hidden rows, ignore the wrong rows, return 0 after filtering or grouping, or use the wrong visible-row total.

Excel TEXTJOIN not working

Fix TEXTJOIN formulas with #VALUE!, #NAME?, extra delimiters, blank joins, IF or FILTER array issues, line breaks, or version support problems.

Excel TEXTSPLIT not working

Fix TEXTSPLIT formulas with #SPILL!, #N/A padding, wrong delimiters, row-versus-column splits, or version support problems.

Excel INDIRECT not working

Fix INDIRECT formulas with #REF!, dynamic sheet names, dependent dropdowns, named ranges, or external workbook limits.

Excel #VALUE! error

Repair formulas blocked by text values, hidden spaces, wrong argument types, dates, or subtraction syntax.

Excel #NAME? error

Fix formulas with misspelled functions, undefined names, missing quotes, or unsupported functions.

Excel #DIV/0! error

Fix formulas blocked by zero or blank denominators, ratio logic, averages, and IFERROR tradeoffs.

Excel #NULL! error

Fix formulas blocked by accidental range intersections, missing commas, missing colons, or non-overlapping cell ranges.

Excel #SPILL! error

Fix dynamic array formulas blocked by spill ranges, tables, merged cells, whole-column references, or changing array sizes.

Excel #CALC! error

Fix dynamic array and FILTER formulas blocked by empty results, nested arrays, range references, or unsupported calculations.

Excel OFFSET function not working

Fix OFFSET formulas with #REF!, #VALUE!, wrong ranges, dynamic named range problems, text references, or volatile recalculation issues.

Excel UNIQUE not working

Fix UNIQUE formulas that keep apparent duplicates, return unexpected rows, show #SPILL!, or confuse by_col and exactly_once settings.

Excel #NUM! error

Fix formulas blocked by invalid numeric values, formatted constants, non-converging IRR or RATE inputs, or numbers outside Excel limits.

Excel circular reference

Fix formulas that point back at their own result cell or need deliberate iterative-calculation checks.

Excel #REF! error

Repair formulas broken by deleted rows, moved cells, invalid references, or shifted lookup ranges.

Google Sheets circular dependency

Fix circular dependency errors caused by self-referencing cells, self-including ranges, helper-cell loops, or iterative-calculation settings.

Google Sheets SUMIFS not working

Fix SUMIFS formulas that return 0, #VALUE!, or wrong totals because of range sizes, criteria, dates, text values, or argument order.

Google Sheets COUNTIFS not working

Fix COUNTIFS formulas that return 0, #VALUE!, wrong counts, or miss rows because of range sizes, dates, stored text, hidden spaces, or separators.

Google Sheets #NUM! error

Fix formulas blocked by invalid numeric inputs, impossible math, oversized results, XIRR or RATE failures, and out-of-range row choices.

Google Sheets SORT not working

Fix SORT formulas that return the wrong order, sort headers as data, separate rows, or misread dates and numbers stored as text.

Google Sheets UNIQUE not working

Fix UNIQUE formulas that keep duplicates, remove the wrong rows, return unexpected columns, or confuse by_column and exactly_once settings.

Google Sheets LET function repair

Fix LET formulas with invalid names, missing name/value pairs, parse errors, wrong intermediate results, or nested formula mistakes.

Google Sheets CHOOSECOLS repair

Fix CHOOSECOLS and CHOOSEROWS formulas with #VALUE!, wrong selected rows or columns, negative index mistakes, output that cannot expand, or nested array errors.

Sheets TOROW or TOCOL repair

Fix TOROW and TOCOL formulas with wrong scan order, unexpected blanks, error-value handling, nested arrays, or blocked output.

Google Sheets IMPORTXML not working

Fix IMPORTXML formulas with #N/A, Imported content is empty, Could not fetch URL, XPath mistakes, oversized results, or blocked page content.

Google Sheets MATCH not working

Fix MATCH formulas with #N/A, wrong positions, omitted search_type defaults, range-shape mistakes, or sorted-range assumptions.

VLOOKUP #N/A error

Fix lookup formulas that return #N/A because of exact-match settings, text-number mismatches, or range setup.

XLOOKUP #N/A error

Fix XLOOKUP formulas with missing matches, mismatched stored types, lookup-array issues, or fallback decisions.

Excel MATCH not working

Fix MATCH formulas with #N/A, wrong positions, omitted match_type defaults, sort-order issues, or text-number mismatches.

Excel XMATCH not working

Fix XMATCH formulas with #N/A, #VALUE!, wrong positions, wildcard mode, binary search sorting, or first-versus-last match issues.

Excel SORT not working

Fix SORT formulas with #SPILL!, wrong sort columns, header-row mistakes, row separation, text-stored dates or numbers, and version support issues.

Excel VSTACK or HSTACK not working

Fix stacked arrays with #N/A padding, #SPILL! blockers, #NAME? version issues, mismatched array sizes, or the wrong combine direction.

Excel BYROW and BYCOL repair

Fix BYROW and BYCOL formulas with #CALC!, #VALUE!, #SPILL!, #NAME?, wrong row/column direction, or LAMBDA return-shape mistakes.

Excel MAP function repair

Fix MAP formulas with #VALUE!, #CALC!, #SPILL!, #NAME?, wrong transformed arrays, or LAMBDA parameter mistakes.

Excel REDUCE and SCAN repair

Fix accumulator formulas with #VALUE!, #CALC!, #SPILL!, #NAME?, wrong initial values, or running-result mistakes.

Excel MAKEARRAY repair

Repair generated arrays with #VALUE!, #SPILL!, #NAME?, wrong row or column counts, or LAMBDA index mistakes.

Excel SEQUENCE function repair

Fix SEQUENCE formulas with #VALUE!, #SPILL!, #NAME?, wrong row or column counts, wrong start values, or step mistakes.

Excel RANDARRAY repair

Fix RANDARRAY formulas with #VALUE!, #SPILL!, #NAME?, changing output, wrong rows or columns, wrong min/max values, or decimal-versus-whole-number issues.

Excel TRANSPOSE repair

Fix TRANSPOSE formulas with #VALUE!, #SPILL!, only one returned cell, wrong output size, or static copy confusion.

Excel SWITCH and IFS repair

Fix SWITCH and IFS formulas with #N/A fallthroughs, #VALUE! tests, #NAME? support issues, missing defaults, or wrong branches.

Excel EXPAND function repair

Fix EXPAND formulas with #VALUE!, #NUM!, #N/A padding, #SPILL!, #NAME?, wrong final dimensions, or unsupported Excel versions.

Excel TOROW and TOCOL repair

Fix TOROW and TOCOL formulas with #VALUE!, #NUM!, #SPILL!, #NAME?, wrong scan order, or ignore-setting mistakes.

Excel TAKE and DROP repair

Fix TAKE and DROP formulas with #CALC!, #NUM!, #NAME?, #SPILL!, wrong rows or columns, and nested-array errors.

Excel GROUPBY and PIVOTBY repair

Fix formula summaries with #VALUE!, #CALC!, #SPILL!, #NAME?, wrong headers, wrong totals, sort issues, or filter-array mistakes.

Excel LAMBDA function repair

Fix LAMBDA formulas with #CALC!, #VALUE!, #NUM!, missing calls, argument-count problems, recursion issues, or named-function setup mistakes.

Date formulas

Create due dates, workday counts, month-end dates, date differences, and overdue checks.

FILTER formulas

Return matching rows for status, region, date, text, and threshold conditions.

Text formulas

Split, extract, join, trim, clean, and replace text from messy imported cells.

Data validation formulas

Block bad IDs, duplicate values, missing fields, and invalid entries with custom TRUE/FALSE rules.

XLOOKUP formulas

Return matching values with separate lookup and return ranges.

INDEX MATCH formulas

Build flexible lookup formulas for left lookups, two-way lookups, and older Excel files.

SUMIFS formulas

Total rows that match status, date, category, customer, or region rules.

Use case

Excel SUBTOTAL repair for spreadsheet work.

Help Excel users repair one SUBTOTAL formula where the visible problem is usually a SUM-style total that still includes manually hidden rows, a visible-only total that should use 101-111 function numbers, a total row caught inside the filtered range, an Excel table or outline/grouping layout issue, or a range that no longer covers the intended values.

What this page gives you

  • A focused repair pass for one SUBTOTAL formula that returns the wrong visible-row total.
  • Checks for function_num 9 versus 109, filtered rows, manually hidden rows, grouped or collapsed rows, Excel table behavior, and total-row placement.
  • A revised formula direction you can test in one filtered view and one unfiltered view before replacing a report total.

When to use it

Use this page when Excel SUBTOTAL counts rows you expected it to ignore, returns 0 after filtering or grouping, disappears with the filtered data, or needs the right visible-row total for one report range. It is strongest when you can paste the formula and say which row types should count.

Do not treat SUBTOTAL as proof that a full report is correct. The formula can repair one visible-row total, but source categories, filters, grouping, table layout, and downstream report logic may still need separate checks in Excel.

Worked example

A filtered sales list should total only visible rows, and manually hidden rows should stay out of the total.

=SUBTOTAL(109,C2:C500)

The 109 function number sums visible cells while ignoring manually hidden rows. If manually hidden rows should still count, use 9 instead and keep the total cell outside the filtered list.

Check before you paste

  • Use 1-11 function numbers when manually hidden rows should still count.
  • Use 101-111 function numbers when manually hidden rows should be ignored.
  • Keep the total cell outside the filtered data range so the total row is not hidden with the data.
  • Check whether an Excel table, grouped outline, or collapsed rows are changing what is visible before rewriting the formula.
  • Test the repaired formula against one filtered view and one unfiltered view before replacing a report total.

Upgrade when the work piles up

Keep going when the sheet gets complicated.

Try twice as a guest. Free accounts get 3 runs per week plus a monthly product email. Upgrade when formula work becomes a recurring part of the week.

Founding access

$9

500 formula runs per month, run history kept in this browser, early access pricing, and first access to account features when they ship. Stripe returns you to the workbench after payment.

Upgrade with Stripe