Read data from two tabs in a Google Sheet to compare and identify differences.
Install
npx skills add https://github.com/googleworkspace/cli --skill recipe-compare-sheet-tabsSKILL.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
- Read the first tab:
gws sheets +read --spreadsheet SHEET_ID --range "January!A1:D" - Read the second tab:
gws sheets +read --spreadsheet SHEET_ID --range "February!A1:D" - Compare the data and identify changes
Related skills
gws-admin-reportsgoogleworkspaceGoogle Workspace Admin SDK: Audit logs and usage reports.gws-calendargoogleworkspaceGoogle Calendar: Manage calendars and events.gws-calendar-agendagoogleworkspaceGoogle Calendar: Show upcoming events across all calendars.gws-calendar-insertgoogleworkspaceGoogle Calendar: Create a new event.