Dashboard Mode - IF function
Goal
We want to quickly see if sales targets were met for each salesperson. The dashboard will show who met the target and the total count of successes.
We want to quickly see if sales targets were met for each salesperson. The dashboard will show who met the target and the total count of successes.
| Salesperson | Sales | Target |
|---|---|---|
| Alice | 120 | 100 |
| Bob | 90 | 100 |
| Charlie | 150 | 100 |
| Diana | 80 | 100 |
| Eva | 110 | 100 |
=IF(B2>=C2, "Met", "Not Met")=COUNTIF(D2:D6, "Met")=COUNTIF(D2:D6, "Not Met")+----------------------+-----------------+ | Sales Data Table | Status Column | | (A1:C6) | (D1:D6) | +----------------------+-----------------+ | | | | | | +----------------------+-----------------+ | Total Met: (F2) | Total Not Met: | | | (F3) | +----------------------+-----------------+
Currently, this dashboard is static. You can add filters later to select specific salespeople or sales ranges. When filters are applied, the Status column will show only filtered rows, but the total counts will not update to reflect only visible rows because COUNTIF counts all rows regardless of visibility.
If you add a filter to show only salespeople with sales >= 100, which components update to reflect only filtered data?