Dashboard Mode - Running macros
Dashboard Goal
Help users run macros easily to automate tasks like formatting and calculations in Excel.
Help users run macros easily to automate tasks like formatting and calculations in Excel.
| Item | Quantity | Price |
|---|---|---|
| Apples | 10 | 0.5 |
| Bananas | 5 | 0.3 |
| Oranges | 8 | 0.6 |
| Grapes | 15 | 0.4 |
| Pears | 7 | 0.55 |
=SUM(B2:B6)=SUMPRODUCT(B2:B6,C2:C6)+----------------------+----------------------+ | Total Quantity (KPI) | Total Sales (KPI) | +----------------------+----------------------+ | [Run Format Macro] | [Run Discount Macro] | +-------------------------------------------+ | Data Table with Items, Quantity, Price, | | and Discounted Price (after macro runs) | +-------------------------------------------+
Clicking the Run Format Macro button applies formatting to the data table headers and price column.
Clicking the Run Discount Macro button adds the "Discounted Price" column with prices reduced by 10%. This updates the data table to show new values.
After clicking the Run Discount Macro button, what is the discounted price for Grapes?
Answer: Grapes price is 0.4, so discounted price = 0.4 * 0.9 = 0.36