Excel SUMIFS Formula Generator
Pick the range to add up, add up to four conditions and get a SUMIFS with correctly quoted criteria, ready to paste.
Processed locally in your browser/ Your data stays in your browser.
What is Excel SUMIFS Formula Generator?
SUMIFS adds the numbers in one range for the rows where every condition is true, for example the sales of the East region above 100. The tricky part is the criteria: operators go inside quotes (">=100"), text needs quotes, comparisons with a cell need the & operator (">="&B1) and dates are safest with DATE().
This generator takes the sum range and up to four rows of criteria range, condition and value. Conditions include equals, not equal, greater and less than, contains, does not contain, begins with, ends with, is blank and is not blank. It writes the criteria correctly, escapes wildcard characters, turns 2024-01-31 into DATE(2024,1,31), warns when ranges have different heights, and shows a SUMIF version for a single criterion and a SUMPRODUCT version that works in any Excel.
How does it work?
- Enter the sum range, for example D2:D100, the numbers you want to total.
- For each condition give the range to test, choose the condition and type the value: text, a number, a date like 2024-01-31 or a cell such as F1.
- Leave unused criteria rows without a range; they are skipped. Choose the separator and the function language for your Excel.
- Copy the SUMIFS formula, or one of the equivalents, and read the explanation and warnings under it.
Common use cases
- Totalling sales for one region and a minimum order value.
- Adding up expenses between two dates, using a greater-than-or-equal and a less-than-or-equal criterion on the same date column.
- Summing amounts whose description contains a keyword, with wildcard criteria written for you.
- Converting a single-criterion SUMIFS to SUMIF, or a SUMIFS to SUMPRODUCT for a workbook opened in an old Excel.
Examples
Pick the range to add up, add up to four conditions and get a SUMIFS with correctly quoted criteria, ready to paste.
Privacy
Excel SUMIFS Formula Generator runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
The generator does not read your data: it cannot check that the ranges line up with your columns. All ranges must have the same size, and SUMIFS criteria combine with AND only, so OR needs two SUMIFS added together.
Frequently asked questions
What is the difference between SUMIF and SUMIFS?
SUMIF takes one condition and puts the sum range last: SUMIF(range, criteria, sum_range). SUMIFS takes the sum range first and then any number of range and criteria pairs: SUMIFS(sum_range, range1, criteria1, …). The argument order is a common source of mistakes when switching between them.
How do I sum between two dates?
Add two rows on the same date column: greater than or equal to the start date and less than or equal to the end date. The generator writes them as ">="&DATE(2024,1,1) and "<="&DATE(2024,12,31), which do not depend on the regional date format of the computer.
Why does my SUMIFS return 0 or #VALUE!?
#VALUE! means the ranges have different heights, which the tool warns about. A 0 usually means nothing matched: numbers stored as text, extra spaces in the data, or a text criterion that differs slightly. Remember that ? and * in an equals criterion act as wildcards.
Related tools
Excel COUNTIFS Formula Generator
Describe up to four conditions and get a COUNTIFS that counts the rows matching all of them, with dates and wildcards written correctly.
Excel Tools
Excel Formula Explainer
Paste a formula you inherited or copied from the web and see what every function, reference and operator does, in nested order.
Excel Tools
Excel IF Formula Generator
Choose the cell, the test and the results, and get a ready-to-paste IF formula with an explanation and an IFS version when you add branches.
Excel Tools
Excel VLOOKUP Formula Generator
Fill in four fields and get a VLOOKUP with the right last argument, an optional IFERROR and warnings about the classic pitfalls.
Excel Tools
Excel XLOOKUP Formula Generator
Enter the value to find, where to look and what to return, and get a working XLOOKUP plus versions for older Excel.
Excel Tools
Excel Date Converter
Turn the five-digit numbers Excel stores for dates into readable dates, or turn a date into its serial number, one value per line.
Excel Tools
Excel Column Letter ↔ Number Converter
Paste column letters or column numbers, one per line, and get the matching number or letters instantly, with a note for every line.
Excel Tools