Count one product
Exercise 2 of 11COUNTIF
How many orders were for Laptops?
Write your formula in the green cell, I2.
q1-orders.xlsx
I2
fx
Click a cell to add it to your formula, drag to select a range, or click a column letter for the whole column.
About conditional math in Excel
SUMIF, COUNTIF and SUMIFS are behind almost every report: total sales for one region, the number of orders over $1,000, revenue for one product in one region. These exercises use a real orders table so you can see exactly which rows match.
GuideHow to Use COUNTIF in Excel (and COUNTIFS)→Functions you can use here
SUMIF(range, criteria, [sum_range])COUNTIF(range, criteria)SUMIFS(sum_range, criteria_range1, criteria1, …)AVERAGEIF(range, criteria, [average_range])
More conditional math exercises
- 1.Revenue for one region
- 2.Count one product
- 3.Revenue for one repPremium
- 4.Orders over $1,000Premium
- 5.Two conditions at oncePremium
- 6.COUNTIFS with a numberPremium
- 7.Average for one repPremium
- 8.WildcardsPremium
- 9.Smallest matching valuePremium
- 10.Revenue for one monthPremium
- 11.AVERAGEIFSPremium