Dashboard Mode - Calculated fields
Dashboard Goal
See total sales, average sales per order, and profit margin for each product to understand sales performance.
See total sales, average sales per order, and profit margin for each product to understand sales performance.
| Order ID | Product | Quantity | Unit Price | Cost per Unit |
|---|---|---|---|---|
| 1001 | Notebook | 10 | 5 | 3 |
| 1002 | Pen | 20 | 2 | 1 |
| 1003 | Notebook | 5 | 5 | 3 |
| 1004 | Pen | 15 | 2 | 1 |
| 1005 | Folder | 7 | 4 | 2 |
| 1006 | Folder | 3 | 4 | 2 |
=SUMPRODUCT((B2:B7=F2)*(C2:C7)*(D2:D7))=AVERAGEIF(B2:B7,F2,C2:C7*D2:D7)=((D2*C2)-(E2*C2))/(D2*C2) in row context+----------------------+----------------------+----------------------+ | Total Sales: Notebook | Average Sales: Notebook | Profit Margin: Notebook | +----------------------+----------------------+----------------------+ | Total Sales: Pen | Average Sales: Pen | Profit Margin: Pen | +----------------------+----------------------+----------------------+ | Total Sales: Folder | Average Sales: Folder | Profit Margin: Folder | +----------------------+----------------------+----------------------+ | Summary Table | +-----------------------------------------------------------------+
User can change the product name in cells F2, F3, F4 to see updated KPIs and summary table values for that product. This acts like a filter for product selection.
If you change the product name in cell F2 from "Notebook" to "Pen", which components update their values?
=C2*D2+E2 where C2=5, D2=3, and E2=10, what is the result?=A2*B2+C2 gives wrong results. Which fix is correct if you want to add B2 and C2 first, then multiply by A2?Pass the test and this pattern moves unknown