📈

Excel Formula Generator

Builds SUMIFS, VLOOKUP and INDEX+MATCH formulas from 16 skeletons with notes and 7 syntax checks.
Formulas 📂 Developer 👤 ToolCMS 🏷️ v1.3.3 ⚙️ clipboard, storage

公式场景

填参数

生成与导出

公式与解释

校验进度

生成历史

How to Use

What this tool does

People do not stall on formulas because the logic is hard. They stall because the argument order will not stay in their head. SUMIF puts the sum range third; SUMIFS moves it to first. VLOOKUP accepts 0 or FALSE for an exact match, and flips to fuzzy matching the moment you write TRUE. This tool turns those easy-to-miss positions into fixed skeletons, so you only supply ranges, criteria and the column you want back.

Pick a family and a skeleton on the left, fill six parameters, and the right column returns the formula itself, a paragraph-by-paragraph explanation, and a syntax verdict. The explanation is not a generic line about what SUM does. It maps each value you typed onto its position in the formula and says why that order holds. The check walks through brackets, quotes, function names, full-width punctuation, whole-column references and leftover placeholders, which catches the mistakes that only surface after you paste into a sheet.

What you get

  • Sixteen skeletons in four families: aggregation (SUMIF, SUMIFS, COUNTIF, AVERAGEIF), lookup (VLOOKUP, INDEX with MATCH, IFERROR fallback, two-key fetch), text (LEFT, split-and-take-N, TRIM, TEXTJOIN) and logic plus dates (IFS tiers, blank guard, EOMONTH, DATEDIF).
  • Linked parameters: switch absolute references on and B2:B200 becomes $B$2:$B$200 so a drag-fill does not drift. Whole-column forms such as A:A are left as typed and never get a stray dollar sign.
  • Argument-by-argument explanation: one line on what the function is for, then one line per placeholder that echoes the exact string you entered.
  • Seven syntax checks: bracket count, quote parity, function name against a list of 55 supported names, full-width comma or bracket detection, semicolon separators, whole-column references and unreplaced placeholders.
  • Automatic normalisation: curly quotes, full-width brackets and Chinese commas pasted into the fields are converted to half-width for the formula, while the explanation still shows your original text.
  • Copy and export: the formula goes to the clipboard in one click, or downloads as a Markdown note carrying the formula, the explanation and the compatibility warning, ready to drop into a shared doc.

How to use it

  1. Click a family chip under Formula scenario, or leave All selected to see every skeleton. Pick one from the dropdown and a hint line explains when that skeleton fits.
  2. Fill the data range with the column letter and both row numbers, for example B2:B200. Row counts must match the table being tested.
  3. Fill the criteria. Text criteria need double quotes, and comparison operators sit inside them, as in >=500.
  4. Fill the return or sum range, the lookup value, the second criterion and the text parameter N only when the skeleton needs them. Empty fields simply do not appear in the formula.
  5. Press Build formula, read the formula block, the explanation and the syntax verdict, then press Copy formula or Download notes.

Before you paste it

  • Text only: the tool never opens a workbook, never reads your data and never evaluates the formula against real rows. What you get is syntactically valid text with the arguments in the right slots.
  • Ranges must line up: if the criteria range and the sum range differ in row count, Excel returns a wrong answer without any error, and no syntax checker can catch it.
  • Separators stay half-width: even localised Excel builds expect an English comma between arguments. Everything here is half-width; do not let an input method switch it back.
  • Newer functions have version gates: TEXTJOIN needs Excel 2019 or a recent WPS build, XLOOKUP needs Excel 365. A #NAME? error on an old build means the version, not your syntax.
  • Absolute mode only touches ranges: turning it on adds dollars to A1:B2 style ranges only, leaving A:A and single cells like A2 alone. Type $A$2 yourself when one cell must stay pinned.
  • Whole-column references such as A:A raise a performance warning; above a hundred thousand rows, use a closed range like A2:A100000.
  • The last six builds live in this browser and clicking one restores its parameters. Nothing carries across devices.
  • Interface language follows the site and there is no switch inside the plugin. The formula text is identical in all three languages; only the explanation changes.

Related

⏫︎