excel_vlookup
Adds a VLOOKUP formula to a target cell in an Excel worksheet, retrieving a value from a table range using a lookup value and column index.
Instructions
VLOOKUP formula
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>",
"targetCell": "<targetCell>",
"lookupValue": "<lookupValue>",
"tableArray": "<tableArray>",
"colIndex": "<colIndex>"
},
"name": "excel_vlookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colIndex | Yes | Column index | |
| filename | Yes | Workbook name | |
| worksheet | Yes | Worksheet name | |
| tableArray | Yes | Table range | |
| targetCell | Yes | Target cell | |
| lookupValue | Yes | Lookup value | |
| rangeLookup | No | Approximate match |