Dashboard Mode - IF function
Goal
Check if sales meet a target and show "Target Met" or "Target Not Met" for each sale.
Check if sales meet a target and show "Target Met" or "Target Not Met" for each sale.
| Sale ID | Sales Amount | Target |
|---|---|---|
| 1 | 150 | 100 |
| 2 | 90 | 100 |
| 3 | 120 | 100 |
| 4 | 80 | 100 |
| 5 | 200 | 100 |
=SUM(B2:B6)=COUNTIF(D2:D6,"Target Met")=IF(B2>=C2,"Target Met","Target Not Met") copied down to D6+----------------------+----------------------------+ | Total Sales | Number of Sales Meeting | | 640 | Target (3) | +----------------------+----------------------------+ | | | Sales Status Table | | Sale ID | Sales Amount | Target | Status | | 1 | 150 | 100 | Target Met | | 2 | 90 | 100 | Target Not Met | | 3 | 120 | 100 | Target Met | | 4 | 80 | 100 | Target Not Met | | 5 | 200 | 100 | Target Met | +------------------------------------------------------+
Add a filter to select sales above a certain amount. When you change the filter, the Sales Status table updates to show only those sales. The KPI cards update to reflect totals and counts for the filtered sales.
If you add a filter to show only sales with Sales Amount >= 120, which sales appear in the Sales Status table? What is the updated Total Sales and Number of Sales Meeting Target?