Formula hub · Updated May 13, 2026
Aggregation & Counting
Sum, count, average, and group spreadsheet data with criteria that match real reports.
Guides in this category
Use SUMIFS to add numbers only when rows match two or more conditions.
SUMIFS by MonthUse SUMIFS to total values for a specific month from a table with transaction dates.
COUNTIFS Date RangeCount rows between two dates in Excel or Google Sheets with COUNTIFS.
SUMIFS Not WorkingFix SUMIFS formulas that return zero, wrong totals, or errors because of mismatched ranges or criteria issues.
Sum by Color in Excel or Google SheetsUnderstand the practical ways to total colored cells in a spreadsheet.
Count Colored Cells in Excel or Google SheetsCount cells by color using a safer helper-column approach instead of relying on formatting as data.
Count Unique Values in Excel or Google SheetsCount distinct names, IDs, emails, or categories in a spreadsheet range.
Average by Month in Excel or Google SheetsUse AVERAGEIFS to calculate a monthly average from dated rows.
COUNTIFS with Multiple CriteriaUse COUNTIFS to count rows that match multiple conditions.
AVERAGEIFS FormulaUse AVERAGEIFS to calculate an average only for rows that match your criteria.
Running Total in Excel or Google SheetsCreate a cumulative total that adds each row to the total above it.
Percent Change FormulaCalculate percentage increase or decrease between an old value and a new value.
How to choose a formula
Start from the spreadsheet task, then choose the simplest formula that gives a maintainable answer. A report that someone else must update next month often needs clarity more than cleverness.