Recipe Compare Sheet Tabs

作者 googleworkspacea3768d0e82ad无许可证31K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库昨天更新

Read data from two tabs in a Google Sheet to compare and identify differences.

AI 生成的概览

读取 Google 表格中两个标签页的数据并进行比较,找出差异。

功能
该配方指导智能体使用 gws sheets read 命令读取同一 Google 表格中两个不同标签页的数据,然后比较所获取的行并找出两者之间的变化。它产出的是两个数据集的对比结果,而不是新文件。它是一个简短的三步流程,自身不包含脚本。
适用场景
当需要找出 Google 表格中两个标签页之间的差异时使用,例如按月对比或版本对比。它适合对表格数据进行快速核对或变更检测。
运行要求
需要 gws 命令行工具,并需加载 gws-sheets 技能。需要能够访问目标 Google 表格及其 spreadsheet ID。不包含脚本,仅为操作说明。

Compare Two Google Sheets Tabs

PREREQUISITE: Load the following skills to execute this recipe: gws-sheets

Read data from two tabs in a Google Sheet to compare and identify differences.

Steps

  1. Read the first tab: gws sheets +read --spreadsheet SHEET_ID --range "January!A1:D"
  2. Read the second tab: gws sheets +read --spreadsheet SHEET_ID --range "February!A1:D"
  3. Compare the data and identify changes

来源与署名

来源:googleworkspace/cli位于skills/recipe-compare-sheet-tabs提交a3768d0

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架