Start here
How to Sum and Count in Excel
Learn how to sum and count in Excel with SUM, AutoSum, COUNT, COUNTA and conditional functions, plus quick totals from the status bar for everyday work.
Totals and Business
Total and count rows that meet one or more conditions.
Start here
Learn how to sum and count in Excel with SUM, AutoSum, COUNT, COUNTA and conditional functions, plus quick totals from the status bar for everyday work.
Learn how to count rows that meet two conditions in Excel with COUNTIFS, with examples for text, date ranges, OR logic, cell references and copied formulas.
Learn how to count unique values in Excel with UNIQUE in newer versions, a SUMPRODUCT formula for older ones, and how blanks and case affect the count.
Learn how to sum only visible rows in Excel with SUBTOTAL and code 109, how filters and hidden rows are handled, and an AGGREGATE alternative.
Learn how to total numbers that meet several conditions at once with SUMIFS in Excel, including AND and OR logic, date ranges and common errors.
Learn how to use AVERAGEIF in Excel to average numbers that match a condition, how zeros and blanks are handled, and how to fix the #DIV/0! error.
Learn how to use SUMPRODUCT in Excel to multiply pairs of values and add the results, plus conditional totals, counts and weighted averages.
Learn how to use COUNTIF in Excel to count cells that match a condition, including numbers, dates, wildcards, blank cells and fixes for zero results.
Learn how SUMIF adds up values that meet one condition in Excel, with the syntax, examples for text, numbers and dates, and common reasons it returns 0.
SUM returning 0 often means numbers are stored as text, or calculation is set to manual, or the formula is shown as text. Here is how to check each one.
Related topics