實作範例 · EXCEL 與 POWERPOINT

將 OMB 預算表格轉為 Excel 圖表及簡報

一名預算分析師收到一份記錄1940年至2031年美國政府開支的Excel檔案。他們要求 抽出四大開支項目並為其上司繪製圖表。

透過建立 2015 至 2031 年國防、醫療保險、社會安全及利息成本的表格來分析數據,並在同一個 Excel 檔案中繪製了圖表。然後,該圖表作為真實圖表(而非圖片)被放入 PowerPoint 投影片中。

  • 2以日常英文提出的請求
  • 1已編輯 Excel 檔案,而非取代
  • 1以此製作的簡報
  • 0手動輸入的公式

開啟真實檔案

這些是執行過程中的實際檔案。請下載並在 Excel 或 PowerPoint 中開啟它們。

檔案來源: OMB Historical Tables, 表 3.1,按大類職能及職能劃分的支出,2027 財政年度預算。

01 · 起始檔案

龐大而雜亂的政府試算表

該檔案列出了 1940 年至 2031 年間每種聯邦開支,每欄代表一年,共有 94 欄。它有一些陷阱:1976 年後塞進了一個額外的「TQ」欄,而 2025 年之後的年份則標記為「2026 estimate」等。

hist03z1_fy2027.xlsx修改前
BZ4589,659
AB…ALAMAN…BZCA…CICJCK…CP
1Table 3.1 - OUTLAYS BY SUPERFUNCTION AND FUNCTION: 1940 - 2031…………
2Superfunction and Function1940…1976TQ1977…20152016…202420252026 estimate…2031 estimate
3In millions of dollars:…………
4National Defense1,660…89,61922,26997,241…589,659593,372…873,523916,140966,396…1,369,123
5Human resources4,139…203,59452,065221,895…2,706,8282,820,292…4,548,9044,706,7165,078,303…6,347,219
6Education, Training, Employment, and Social Services1,972…18,9105,16921,104…122,035109,709…306,37072,042101,970…133,413
7Health55…15,7343,92417,302…482,257511,325…911,290978,5111,047,526…1,143,249
8Medicare..........…15,8344,26419,345…546,202594,536…874,133996,7181,070,248…1,573,538
9Income Security1,514…60,78414,98161,045…508,800514,098…670,548701,609741,971…743,752
10Social Security28…73,89919,76385,061…887,753916,067…1,460,9181,580,6731,676,441…2,151,475
…
22Net interest899…26,7276,94929,901…223,181240,033…879,879970,0651,016,650…1,363,769
…
35Total, Federal outlays9,468…371,79295,975409,218…3,691,8503,852,615…6,735,2617,011,1057,540,434…9,279,779
…
39National defense17.5…24.123.223.8…16.015.4…13.013.112.8…14.8
42Net interest9.5…7.27.27.3…6.06.2…13.113.813.5…14.7
Table
剛收到的工作表。此處隱藏了帶狀欄位以節省空間。黃色列是分析師需要的四個項目。點擊儲存格即可查看其內容。

02 · 要求 1

「加入摘要表與圖表」

分析師輸入的內容

In the attached OMB Historical Table 3.1 (FY2027 Budget), please add a new sheet called 'Big Four' and leave the 'Table' sheet exactly as it is. On the new sheet:
1. Column A: fiscal years 2015 to 2031, one row per year (17 rows).
2. Columns B-E: National Defense (row 4), Medicare (row 8), Social Security (row 10) and Net interest (row 22) from the Table sheet, converted from $ millions to $ billions, one decimal. Use formulas that point at the Table sheet if you can.
3. Column F: 'Actual' for 2015-2025 and 'Estimate' for 2026-2031 (the columns headed '2026 estimate' to '2031 estimate').
4. A native Excel line chart of the four series with years on the x-axis, titled 'Federal outlays by function, FY2015-FY2031 ($ billions)', with a note that 2026-2031 are OMB estimates.

的處理方式

  • 直接在上傳的 Excel 檔案中作業,沒有建立新檔案。
  • 首先檢查年份標籤,確保儘管多出了額外的 TQ 欄位,2015 年仍能對齊正確的欄位。
  • 新增一個名為「Big Four」的工作表:2015年至2031年每年一行,四個以十億美元為單位的開支項目,並附有「實際值」(Actual)或「估計值」(Estimate)標籤。
  • 填入指向原始工作表的公式,以便追蹤每個數字。點擊下方的綠色儲存格即可查看。
  • 繪製了可點擊並編輯的真實 Excel 折線圖。
  • 未更動原始工作表。我們檢查了每一個儲存格。
hist03z1_fy2027.xlsx修改後
B2=ROUND(Table!BZ4/1000,1)
ABCDEF
1Fiscal YearNational Defense ($ billions)Medicare ($ billions)Social Security ($ billions)Net Interest ($ billions)Type
22015589.7546.2887.8223.2Actual
32016593.4594.5916.1240Actual
42017598.7597.3944.9262.6Actual
52018631.3588.7987.8325Actual
62019685.76511044.4375.2Actual
72020724.6776.21095.8345.5Actual
82021753.9696.51134.6352.3Actual
92022765.6755.11218.7475.9Actual
102023820.3847.51354.3658.3Actual
112024873.5874.11460.9879.9Actual
122025916.1996.71580.7970.1Actual
132026966.41070.21676.41016.7Estimate
14202712051200.81771.11065.4Estimate
1520281323.21350.51864.41167Estimate
1620291341.61316.21957.31234.6Estimate
1720301348.81473.42052.11304.5Estimate
1820311369.11573.52151.51363.8Estimate
20Note: 2026-2031 are OMB estimates.
TableBig Four新
同一個檔案內的新「Big Four」工作表。綠色數字為公式。
hist03z1_fy2027.xlsxBig Four 工作表

Federal outlays by function, FY2015-FY2031 ($ billions)

05001,0001,5002,0002,500$ billions20152016201720182019202020212022202320242025202620272028202920302031Fiscal YearNational Defense ($ billions)Medicare ($ billions)Social Security ($ billions)Net Interest ($ billions)National Defense ($ billions) · 2015: 589.7National Defense ($ billions) · 2016: 593.4National Defense ($ billions) · 2017: 598.7National Defense ($ billions) · 2018: 631.3National Defense ($ billions) · 2019: 685.7National Defense ($ billions) · 2020: 724.6National Defense ($ billions) · 2021: 753.9National Defense ($ billions) · 2022: 765.6National Defense ($ billions) · 2023: 820.3National Defense ($ billions) · 2024: 873.5National Defense ($ billions) · 2025: 916.1National Defense ($ billions) · 2026: 966.4National Defense ($ billions) · 2027: 1,205.0National Defense ($ billions) · 2028: 1,323.2National Defense ($ billions) · 2029: 1,341.6National Defense ($ billions) · 2030: 1,348.8National Defense ($ billions) · 2031: 1,369.1Medicare ($ billions) · 2015: 546.2Medicare ($ billions) · 2016: 594.5Medicare ($ billions) · 2017: 597.3Medicare ($ billions) · 2018: 588.7Medicare ($ billions) · 2019: 651.0Medicare ($ billions) · 2020: 776.2Medicare ($ billions) · 2021: 696.5Medicare ($ billions) · 2022: 755.1Medicare ($ billions) · 2023: 847.5Medicare ($ billions) · 2024: 874.1Medicare ($ billions) · 2025: 996.7Medicare ($ billions) · 2026: 1,070.2Medicare ($ billions) · 2027: 1,200.8Medicare ($ billions) · 2028: 1,350.5Medicare ($ billions) · 2029: 1,316.2Medicare ($ billions) · 2030: 1,473.4Medicare ($ billions) · 2031: 1,573.5Social Security ($ billions) · 2015: 887.8Social Security ($ billions) · 2016: 916.1Social Security ($ billions) · 2017: 944.9Social Security ($ billions) · 2018: 987.8Social Security ($ billions) · 2019: 1,044.4Social Security ($ billions) · 2020: 1,095.8Social Security ($ billions) · 2021: 1,134.6Social Security ($ billions) · 2022: 1,218.7Social Security ($ billions) · 2023: 1,354.3Social Security ($ billions) · 2024: 1,460.9Social Security ($ billions) · 2025: 1,580.7Social Security ($ billions) · 2026: 1,676.4Social Security ($ billions) · 2027: 1,771.1Social Security ($ billions) · 2028: 1,864.4Social Security ($ billions) · 2029: 1,957.3Social Security ($ billions) · 2030: 2,052.1Social Security ($ billions) · 2031: 2,151.5Net Interest ($ billions) · 2015: 223.2Net Interest ($ billions) · 2016: 240.0Net Interest ($ billions) · 2017: 262.6Net Interest ($ billions) · 2018: 325.0Net Interest ($ billions) · 2019: 375.2Net Interest ($ billions) · 2020: 345.5Net Interest ($ billions) · 2021: 352.3Net Interest ($ billions) · 2022: 475.9Net Interest ($ billions) · 2023: 658.3Net Interest ($ billions) · 2024: 879.9Net Interest ($ billions) · 2025: 970.1Net Interest ($ billions) · 2026: 1,016.7Net Interest ($ billions) · 2027: 1,065.4Net Interest ($ billions) · 2028: 1,167.0Net Interest ($ billions) · 2029: 1,234.6Net Interest ($ billions) · 2030: 1,304.5Net Interest ($ billions) · 2031: 1,363.8
  • National Defense ($ billions)
  • Medicare ($ billions)
  • Social Security ($ billions)
  • Net Interest ($ billions)
「Big Four」工作表的圖表,在此依交付檔案內的資料重繪。

AI 已複查這些數字: 2015年國防開支 589.7、醫療保險 546.2、社會安全 887.8 以及利息 223.2(單位:十億美元),全部與政府數據相符。

03 · 要求 2

「現在將它做成三張投影片」

分析師輸入的內容

Now build a 3-slide PowerPoint for the Deputy Secretary from the 'Big Four' sheet:
1. Title slide: 'Interest costs vs. defense, Medicare and Social Security', subtitle 'FY2015-FY2031, OMB Historical Table 3.1 (FY2027 Budget)'.
2. The line chart, with a one-line headline stating what it shows, and 'Source: OMB Historical Tables, Table 3.1, FY2027 Budget; FY2026-2031 are estimates' at the bottom.
3. Three takeaways, each with figures from the sheet: (a) how net interest grew from FY2015 to FY2025; (b) the first fiscal year in which net interest exceeded national defense, with both amounts; (c) what OMB projects for the four lines in FY2031.

Plain government style, no stock images.

的處理方式

  • 讀取剛才製作的「Big Four」工作表,確保投影片與試算表顯示相同的數字。
  • 讓分析師從其範本庫中挑選設計。
  • 將圖表作為真正的 PowerPoint 圖表放入第 2 張投影片中,並內含其數據。對其按滑鼠右鍵並選擇「編輯資料」。
  • 從數字中寫出重點:利息成本從 2015 年到 2025 年增長了 4.3 倍,並在 2024 年首次超過國防開支。
交付檔案圖片投影片 1
投影片 1
交付檔案圖片投影片 2
投影片 2
交付檔案圖片投影片 3
投影片 3

直接在你的原檔案中編輯

多數 AI 工具會讀取你的試算表並交回一份新的。 會打開你上傳的檔案,僅修改你要求的部分,並保留所有早期版本。

繼續閱讀

繼續閱讀另一個實作案例

查看全部 19 個實作案例