excel_year_to_date
Calculates year-to-date totals from date and value columns in an Excel worksheet, writing results to a specified output column for the given date range.
Instructions
Calculate YTD totals
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>",
"dateColumn": "<dateColumn>",
"valueColumn": "<valueColumn>",
"rangeStart": "<rangeStart>",
"rangeEnd": "<rangeEnd>",
"outputColumn": "<outputColumn>"
},
"name": "excel_year_to_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Workbook name | |
| rangeEnd | Yes | Data end | |
| worksheet | Yes | Worksheet name | |
| dateColumn | Yes | Date column | |
| rangeStart | Yes | Data start | |
| valueColumn | Yes | Value column | |
| outputColumn | Yes | Output column |