excel_period_comparison
Compare current and previous Excel worksheet ranges, calculate differences and optional percentage changes, and write the comparison results to a specified output range.
Instructions
Compare periods
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"currentValueRange": "<currentValueRange>",
"previousValueRange": "<previousValueRange>",
"outputRange": "<outputRange>"
},
"name": "excel_period_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Workbook name | |
| worksheet | Yes | Worksheet name | |
| outputRange | Yes | Output range | |
| showPercentage | No | Show percentage | |
| currentValueRange | Yes | Current range | |
| previousValueRange | Yes | Previous range |