What you will build
Build a small sales dashboard with Paid revenue and Paid order count by Region. You will verify both the initial results and how the dashboard responds when an order status changes.
Learning objective
Use SUMIFS to add Amount by Region and Status, use COUNTIFS to count orders under the same conditions, and compare the results with the Dashboard table.
Prepare the sample data
Open the practice workbook or make a copy. The sample contains four orders. Before entering formulas, open Raw Sales and compare its four source rows with the screenshot below; Example contains the Formula lab, and Dashboard summarizes the results by Region.
Practice in your own copy
Make your own Google Sheets copy with the same data, formulas, formatting, filter and frozen header. The original remains unchanged.
Sign in to Google. If the original is not publicly shared, download the full workbook and import it into Google Sheets, or paste the example data into your own sheet.
Open the practice workbook in Google Sheets ↗
Calculate Paid revenue for the selected Region
Step 1: On Example, keep E2 = North. Select H2 and enter the SUMIFS formula below. The screenshot after the explanation shows H2 selected, the complete formula in the formula bar, and the calculated result 200.
=SUMIFS('Raw Sales'!$C$2:$C$5,'Raw Sales'!$B$2:$B$5,E2,'Raw Sales'!$D$2:$D$5,"Paid")Count Paid orders for the same Region
Step 2: Select H3 and enter the COUNTIFS formula below. The screenshot after the explanation shows H3 selected, the full formula in the formula bar, and the calculated count 2.
=COUNTIFS('Raw Sales'!$B$2:$B$5,E2,'Raw Sales'!$D$2:$D$5,"Paid")Check the Dashboard summary
Step 3: Open the Dashboard tab. With the original sample data, North has Paid amount = 200 and Paid order count = 2; South has Paid amount = 320 and Paid order count = 1.
Test a changed status
Step 4: On Raw Sales, temporarily change D3 for order O02 from Open to Paid. Dashboard should recalculate South from 320 / 1 to 560 / 2; the screenshot below shows that changed Dashboard state. After checking it, restore D3 to Open to return to the sample data.
Checkpoint
| Order | Region | Amount | Status |
|---|---|---|---|
| O01 | North | 120 | Paid |
| O02 | South | 240 | Open |
| O03 | North | 80 | Paid |
| O04 | South | 320 | Paid |
This is the source state that should be restored after the changed-input test.
| Region | Paid amount | Paid order count |
|---|---|---|
| North | 200 | 2 |
| South | 320 | 1 |
In the sample state, Dashboard should show these two rows. When O02 is temporarily changed to Paid, South should become 560 and 2.
Common mistakes and fixes
Do not manually edit Dashboard numbers to force a match. Fix the source data or formulas and let Google Sheets recalculate the result.
Independent practice
Repeat the O02 test once more: change Open to Paid, confirm South = 560 and 2, then restore Open and confirm South returns to 320 and 1.
Key takeaways
- ✓SUMIFS adds Amount under multiple conditions.
- ✓COUNTIFS counts rows under the same set of conditions.
- ✓For North, the sample data produces Paid revenue = 200 and Paid order count = 2.
- ✓For South, the sample state produces 320 and 1; changing O02 to Paid makes the results 560 and 2.
- ✓After a changed-input test, restore Raw Sales to the sample state.
Check your understanding
Answer four questions about the practice sheet.
Continue learning
Previous lesson: Expense tracker; Next lesson: —.
Comments
No comments yet. Be the first to join the discussion.