Tool 23
Excel Formula Maker
Build IF, SUMIF, VLOOKUP and XLOOKUP formulas from labelled fields, with range-shape and column checks plus a semicolon switch. Free and offline.
Which functions are covered
The maker covers the formulas that cause the most friction at work: IF for a single decision, IFS for bands, SUMIF and SUMIFS for conditional totals, COUNTIF and COUNTIFS for counting matches, VLOOKUP and XLOOKUP for lookups, and INDEX with MATCH for the older-school equivalent.
Each function has its own fields rather than a free-text box, so you cannot accidentally build the wrong argument order. Ranges, criteria and return columns are labelled with the same words Excel uses in its own dialog. The page also states where each function exists: XLOOKUP needs Excel 2021 or Microsoft 365, IFS needs Excel 2019 or later, and the older SUMIFS and COUNTIFS work from Excel 2007.
How text and references are handled
Text criteria are quoted automatically. If you type Apple, the generated formula uses "Apple"; if you need a wildcard, type *Apple* and it stays inside the quotes. Ranges are kept exactly as written, including absolute references like $A$2:$A$100, whole columns like A:A, sheet-qualified ranges like 'Q1 sales'!B2:B200, and structured table references.
The separator switch rewrites commas that sit outside quoted text, so a comma formula becomes a semicolon formula without damaging text that already contains a comma or a semicolon. Use it for locales such as German or French, where Excel expects semicolons when you type a formula by hand.
What the checks catch
The right-hand column checks the arguments before you paste. Missing required fields are listed by name, and copying is blocked until they are filled; an empty argument would otherwise become "" and quietly compare against an empty string.
Shape errors are checked with real arithmetic on the ranges. SUMIFS and COUNTIFS need every range to have the same number of rows and columns as the sum or criteria range, and a 99-row sum range against a 49-row criteria range is flagged with both sizes. SUMIF tolerates different sizes but aligns from the top-left corner, so a row mismatch is flagged as a silent-wrong-answer risk. XLOOKUP and INDEX/MATCH need the lookup and return arrays to be the same height.
For VLOOKUP, the column number is checked against the actual width of the table range: a 3-column table rejects column 4 and tells you the valid range. Unbalanced parentheses and an odd number of quotes in any argument are flagged too, because Excel will reject the finished formula.
Common errors and what they mean
A #N/A from VLOOKUP usually means the lookup value is not in the first column, or the range is not locked while the formula is filled down. A #VALUE! often comes from comparing text to a number, or from a number stored as text.
XLOOKUP avoids the column-counting problem and can search leftwards, but it is not available in Excel 2019 or earlier. If the file will be opened by others, check their version before replacing VLOOKUP. INDEX with MATCH works everywhere and is the safe fallback for older copies.
Excel and Google Sheets
The formulas here use commas as separators by default, which is the default in US and UK English. Switch to semicolons for locales where Excel expects them; pasting a comma version often converts automatically, but not always.
Google Sheets accepts the same function names for everything on this page, including XLOOKUP and IFS. Sheet references use ! instead of the workbook syntax, so adjust anything that points at another file. Named ranges work in both, and are inserted without quotes when used in a range field.
Frequently asked questions
Is my spreadsheet uploaded?
No. Nothing is read from or written to a file; the page only builds a formula string.
Do the formulas work in Google Sheets?
Yes, the functions on this page exist in Google Sheets with the same names.
Why does my locale need semicolons?
Some locales use ; as the argument separator. Switch the separator to semicolon and the formula is rebuilt with ; between arguments, leaving semicolons inside text alone.
Can it build nested IF statements?
It builds a single IF. For two or more bands, use the IFS option, which chains conditions in order; anything more complex has to be edited by hand after copying.
What do the range checks compare?
They count rows and columns in each range. SUMIFS, COUNTIFS, XLOOKUP and INDEX/MATCH must line up, and VLOOKUP's column number is checked against the table's width.
Does it write formulas into my workbook?
No. You copy the formula and paste it into a cell yourself.
Is the Excel formula maker free?
Yes, it is free and your spreadsheet is never uploaded.
How does it build a formula?
Pick a function and fill the fields. It assembles the formula and explains each argument so you can copy it into your sheet.
Which Excel versions support these functions?
XLOOKUP needs Excel 2021 or Microsoft 365, IFS needs Excel 2019 or later, and SUMIFS and COUNTIFS work from Excel 2007. The page states the version next to each function.
Excel formula maker vs writing the formula yourself: which is better?
It is faster for standard functions and avoids syntax slips. Unusual or nested logic still needs manual editing.
Which functions can it build?
IF, IFS, SUMIF, SUMIFS, COUNTIF, COUNTIFS, VLOOKUP, XLOOKUP and INDEX with MATCH. Functions not in the list must be written by hand.