原書用 Goal Seek 反推要賣多少份 Spaghetti Carbonara 才能達到 €1,000 Revenue。
AVERAGEIFS 算平均 Unit Price。Copilot 不直接執行 Goal Seek,而是提供步驟。X1 作 variable quantity,Y1 作 revenue formula。
原書 Figure 9-10/9-12:
| 項目 | 值 |
|---|---|
| 初始 X1 Quantity | 1 |
| 平均 Unit Price | 約 11.873600817 |
| Target Revenue | 1,000 |
| Goal Seek Quantity | 84.2204 |
平均單價:=AVERAGEIFS(Orders[Unit Price],Orders[Dish],"Spaghetti Carbonara");Y1=X1*平均單價。Goal Seek:Set cell=Y1,To value=1000,By changing cell=X1。
Goal Seek 將 Y1 調成 1,000,X1 調成 84.2204。這是連續數學解;若實務上份數必須是整數,還需另外決定向上取整或其他營運規則。
原書提醒 X1/Y1 沒有標籤,很難在幾個月後理解,因此建議把 Goal Seek 模型移到新工作表並整理成有欄名的表格。模型可讀性也是分析品質的一部分。
請告訴我如何用 Goal Seek 反推 Spaghetti Carbonara 達到 €1,000 Revenue 所需 Quantity。先建立有清楚標籤的 input/formula cells,再說明 Goal Seek 三個欄位各應選哪一格。