Dashboard Mode - COUNTIF and COUNTIFS
Dashboard Goal
Find out how many sales meet certain conditions, like counting sales above a target or counting sales by region and product.
Find out how many sales meet certain conditions, like counting sales above a target or counting sales by region and product.
| Order ID | Region | Product | Sales |
|---|---|---|---|
| 1001 | East | Apples | 120 |
| 1002 | West | Oranges | 80 |
| 1003 | East | Bananas | 150 |
| 1004 | South | Apples | 90 |
| 1005 | West | Bananas | 200 |
| 1006 | East | Oranges | 110 |
| 1007 | South | Bananas | 130 |
=COUNTIF(D2:D8, ">100")=COUNTIF(B2:B8, "East")=COUNTIFS(B2:B8, "West", C2:C8, "Bananas")=COUNTIFS(B2:B8, "East", C2:C8, "Apples") (Result: 1)=COUNTIFS(B2:B8, "West", C2:C8, "Oranges") (Result: 1)=COUNTIFS(B2:B8, "South", C2:C8, "Bananas") (Result: 1)+----------------------+----------------------+ | Count Sales > 100 | Count Sales East | | (KPI 1) | (KPI 2) | +----------------------+----------------------+ | Count West Bananas | Sales Count by Region| | (KPI 3) | and Product Table | +----------------------+----------------------+
Add a filter for Region. When you select a region like "East", all KPIs and the sales count table update to show counts only for that region.
Add a filter for Product. Selecting a product like "Bananas" updates KPIs and the table to count only sales of that product.
If you add a filter for Region = South, which components update and what are their new values?
COUNTIF(range, criteria) do?COUNTIF function is designed to count cells that match one specific condition.COUNTIF(range, criteria). The criteria can be a number without quotes.=COUNTIFS(A1:A5, ">=5", A1:A5, "<7")?=COUNTIFS(A2:A10, "East", B2:B10, ">1000") correctly uses COUNTIFS with Region range and criteria "East", and Sales range with ">1000". =COUNTIF(A2:A10, "East") + COUNTIF(B2:B10, ">1000") adds separate COUNTIFs, which is incorrect. =COUNTIF(A2:A10, "East" & B2:B10, ">1000") concatenates ranges incorrectly. =COUNTIFS(A2:A10, ">1000", B2:B10, "East") swaps criteria and ranges incorrectly.Pass the test and this pattern moves unknown