Structured formula builder
Task, table context, target range, and function hint keep the request specific.
Excel IF formula repair
Paste the IF formula you are fighting, type what it should return, and get a focused repair path for wrong branches, missing quotes, AND/OR logic, parentheses, list separators, and IFS alternatives.
Request
Guest mode includes 2 tries. Founding access is $9 for 500 runs per month in this browser.
Purpose-built inputs
Task, table context, target range, and function hint keep the request specific.
Generate a new formula, translate a pasted one, or diagnose common syntax issues.
Compatibility notes call out modern functions and platform-specific behavior.
The result is formatted for scanning and placed next to a copy button.
Common formulas
Get help writing, explaining, or fixing one Excel formula with range notes and checks before you paste.
Generate an Excel formula from plain English with range notes, an explanation, and checks before you paste.
Turn a plain-English Sheets task into a formula with assumptions, range notes, and paste checks.
Use a focused formula workbench when you need a formula, explanation, or fix instead of a full spreadsheet-analysis suite.
Compare a narrow formula helper for writing, explaining, and fixing formulas against broader spreadsheet AI suites.
Build percent of total, percent change, discount, markup, tax, tip, and completion-rate formulas.
Scan common lookup, logic, text, date, and summary formulas with examples.
Diagnose formulas that show text, stay stale, return errors, or calculate the wrong value.
Paste a broken formula and get a corrected version with checks for errors, text cells, ranges, and fallbacks.
Fix formulas that stop calculating after imports, copied ranges, locale settings, or text-number mismatches.
Fix formulas that stay stale, show formula text, or only update after manual recalculation.
Fix cells that display the formula text because of Show Formulas mode, text formatting, or a leading apostrophe.
Fix formulas that calculate the wrong value because of references, parentheses, stored types, or lookup settings.
Fix formulas that return 0, blank, or an empty string because of lookup return cells, IF logic, or hidden zero settings.
Fix formulas that will not fill down, copy the first result, or shift the wrong references after dragging.
Fix SUMIFS formulas that return 0, #VALUE!, or wrong totals because of criteria, ranges, dates, or argument order.
Fix COUNTIFS formulas that return 0, #VALUE!, or wrong counts because of criteria, range sizes, dates, or closed workbooks.
Repair formulas blocked by text values, hidden spaces, wrong argument types, dates, or subtraction syntax.
Fix formulas with misspelled functions, undefined names, missing quotes, or unsupported functions.
Fix formulas blocked by zero or blank denominators, ratio logic, averages, and IFERROR tradeoffs.
Fix dynamic array formulas blocked by spill ranges, tables, merged cells, whole-column references, or changing array sizes.
Fix dynamic array and FILTER formulas blocked by empty results, nested arrays, range references, or unsupported calculations.
Fix FILTER formulas that return #CALC!, #SPILL!, #REF!, blank output, wrong rows, or unsupported-function errors.
Fix formulas blocked by invalid numeric values, formatted constants, non-converging IRR or RATE inputs, or numbers outside Excel limits.
Fix formulas that point back at their own result cell or need deliberate iterative-calculation checks.
Repair formulas broken by deleted rows, moved cells, invalid references, or shifted lookup ranges.
Repair Sheets formulas with missing quotes, mismatched parentheses, wrong separators, or malformed QUERY syntax.
Fix VLOOKUP formulas that return #N/A, #VALUE!, wrong values, or broken column results.
Fix lookup formulas that return #N/A because of exact-match settings, text-number mismatches, or range setup.
Fix XLOOKUP formulas with missing matches, mismatched stored types, lookup-array issues, or fallback decisions.
Fix XLOOKUP formulas that return #N/A, wrong rows, blank fallbacks, or unreliable results.
Fix INDEX MATCH formulas that return #N/A, #REF!, wrong rows, wrong columns, or unreliable results.
Write nested IF, AND, OR, and IFS logic with branch-order and edge-row checks before filling down.
Fix IF, nested IF, IFS, AND, and OR formulas that return the wrong label, FALSE, 0, blank, or #VALUE!.
Create due dates, workday counts, month-end dates, date differences, and overdue checks.
Return matching rows for status, region, date, text, and threshold conditions.
Split, extract, join, trim, clean, and replace text from messy imported cells.
Block bad IDs, duplicate values, missing fields, and invalid entries with custom TRUE/FALSE rules.
Write custom validation rules for IDs, duplicates, required fields, dates, and allowed entries.
Build QUERY formulas for filtering, selecting, sorting, grouping, and labeling Sheets data.
Create margin, average price, variance, and ratio formulas that use pivot source field names.
Write Excel and Google Sheets custom formulas for row highlights, duplicates, overdue dates, and status rules.
Set up Google Sheets custom formula rules with the right apply-to range, dollar signs, and TRUE/FALSE logic.
Return matching values with separate lookup and return ranges.
Build flexible lookup formulas for left lookups, two-way lookups, and older Excel files.
Total rows that match status, date, category, customer, or region rules.
Count rows across multiple text, number, and date conditions.
Use case
Help Excel users repair one IF, nested IF, IFS, or IF-with-AND-or-OR formula that returns the wrong answer, shows FALSE or 0, fails syntax checks, or evaluates every row the same way.
Use this page when an IF, nested IF, IFS, or IF with AND/OR formula is close but not reliable. It is especially useful when the formula returns FALSE, 0, blank, #VALUE!, or a plausible label on the wrong rows.
Do not keep patching nested IF formulas when the rule has many ordered outcomes or a table of thresholds. IFS, SWITCH, XLOOKUP, or a helper table can be easier to review and safer to fill down.
A teacher wants Pass when the score in B2 is at least 60 and attendance in C2 is at least 80%, and Fail otherwise.
=IF(AND(B2>=60,C2>=80%),"Pass","Fail")
The repaired formula keeps the two required conditions inside AND, returns Pass only when both are true, returns Fail otherwise, and removes the extra closing parenthesis that made the original formula invalid.
Upgrade when the work piles up
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.
500 formula runs per month in this browser, early access pricing, and account access as it ships. Stripe redirects you back after payment.
Upgrade with Stripe