---
id: ssh2-recipe-compare-sheet-tabs
name: "recipe-compare-sheet-tabs"
url: https://skills.yangsir.net/skill/ssh2-recipe-compare-sheet-tabs
author: googleworkspace
domain: data-analysis
tags: ["google-sheets", "data-comparison", "spreadsheet-analysis", "data-validation", "cli-automation"]
install_count: 15100
rating: 4.50 (26 reviews)
github: https://github.com/googleworkspace/cli
---

# recipe-compare-sheet-tabs

> 从Google Sheet的两个标签页读取数据，进行比较并识别差异。

**Stats**: 15,100 installs · 4.5/5 (26 reviews)

## Before / After 对比

### 智能比较表格数据，快速发现差异。

## Readme

# 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



---
*Source: https://skills.yangsir.net/skill/ssh2-recipe-compare-sheet-tabs*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-recipe-compare-sheet-tabs/markdown*