Free formula generator
Write, explain, or fix an Excel or Google Sheets formula.
Write · Excel and Google Sheets
Sum only paid invoices
Column B contains invoice status. Column D contains amounts. Sum the amounts marked "Paid" in rows 2–100.
=SUMIF(B2:B100,"Paid",D2:D100)
SUMIF checks each status in B2:B100 and adds the matching amount from D2:D100. It ignores rows with other statuses.
Explain · Excel and Google Sheets
Understand a lookup
What does this formula do?
=IFERROR(VLOOKUP(A2,D2:F100,3,FALSE),"Not found")
VLOOKUP finds an exact match for A2 in column D and returns the corresponding value from column F. IFERROR returns "Not found" if the lookup produces an error.
Fix · Excel and Google Sheets
Avoid dividing by zero
Divide A2 by B2, but leave the result blank when B2 is empty or zero.
=IF(OR(B2="",B2=0),"",A2/B2)
The IF checks B2 before dividing. An empty or zero denominator produces an empty string; otherwise the formula returns A2 divided by B2. Assumes numeric values.
These examples use English function names and commas. Your spreadsheet’s regional settings may require semicolons or localized function names.
Is the formula generator free?+
Yes. You can make up to 10 requests per browser in a 24-hour window without an account. Shared-network, short-term, and overall service limits also apply. New chat does not reset your allowance.
Does it work for Excel and Google Sheets?+
Choose your platform before asking. Include the relevant columns, ranges, and expected result. Mention regional settings or an older Excel version if those affect the functions you can use.
Can it fix an existing formula?+
Choose Fix, paste the formula, and describe the error or what you expected. You can then ask a follow-up to adapt the answer to your sheet.
Can I upload my spreadsheet?+
To work with your actual spreadsheet, continue in SheetPal and sign in. Your formula request is saved as an editable draft. Import your file in the workbook, review the request, and press Send when ready. Workbook AI follows SheetPal’s current trial and plan limits.
Is my conversation saved?+
The formula conversation stays in this page’s memory and is cleared with New chat or a page reload. Requests and recent context are sent to our AI provider to generate answers. If you continue in SheetPal, your request is saved in browser storage for up to 24 hours to carry it through sign-in. Avoid sharing sensitive data. Read the privacy policy.