一、案例定位

原書示範把原本逐項詢問 Copilot 的集中趨勢計算合併成一個 Prompt,一次取得 x/y 的全部公式與建表步驟。

二、學習目標

三、案例情境

Prompt 指定 Dino 的 x、y,要求 Mean、Median、Mode,並要求輸出 Measure | x | y 表。

四、開始資料

Measure x 公式 y 公式
Mean =AVERAGE(Dino[x]) =AVERAGE(Dino[y])
Median =MEDIAN(Dino[x]) =MEDIAN(Dino[y])
Mode Copilot 當時建議舊 MODE Copilot 當時建議舊 MODE

五、Excel/R/AI 分析方法

原書的一次性 Prompt:Consider columns x and y in the Dino worksheet. Calculate the mean, median, and mode using an Excel formula, and list the instructions to build a table with the following columns: Measure, x, and y. Copilot 可再提供 Insert to new sheet。

六、計算結果

一次 Prompt 可以取代六次分開提問並建立完整三列統計表。但原書警告 Copilot 有時仍會建議舊版 MODE;新公式應改用 MODE.SNGL。

七、結果分析與管理解讀

把需求合併可減少操作,但也增加一次性輸出中「局部錯誤不易察覺」的風險。即使表格完整生成,仍要逐列檢查函數是否符合目前 Excel 版本與統計意義。

八、AI 提問詞

請一次產生 Dino x/y 的 Mean、Median、Mode 表,欄位為 Measure、x、y;所有公式必須使用目前支援的 Excel 函數,Mode 請使用 MODE.SNGL。先列公式,再提供插入新工作表的步驟。

九、思考/情境變動

**問題:**如果 Copilot 一次產生 6 條公式,其中 1 條使用舊函數,是否仍可整批直接採用?