数据与研究

recipe-compare-sheet-tabs

googleworkspace/cli

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

  • 3.1万 次安装
  • 3.2万 星标
  • 收录于

安装命令

npx skills add https://github.com/googleworkspace/cli --skill recipe-compare-sheet-tabs

要点

Compare data across two Google Sheets tabs to identify differences.

  • Reads data from two separate sheet tabs using the gws-sheets skill
  • Requires the Google Workspace (gws) bin and gws-sheets skill as prerequisites
  • Follows a three-step workflow: read first tab, read second tab, then compare and report changes
  • Supports flexible range selection (e.g., January!A1:D, February!A1:D) for targeted data extraction

SKILL.md

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