Skip to content

Spreadsheet Options

Spreadsheet options allow you to configure how Excel, CSV, and other spreadsheet formats are processed during parsing.

Find and extract sub-tables within spreadsheet cells. This is useful for spreadsheets that contain multiple logical tables within a single sheet.

{
"input_options": {
"spreadsheet": {
"detect_sub_tables_in_sheets": true
}
}
}

Re-compute spreadsheet cells containing formulas instead of using cached values. This ensures you get the most up-to-date calculated results.

{
"input_options": {
"spreadsheet": {
"force_formula_computation_in_sheets": true
}
}
}

Performance Note: Enabling formula computation may impact performance for spreadsheets containing many formulas, as each formula needs to be re-evaluated.

You can combine multiple spreadsheet options:

{
"input_options": {
"spreadsheet": {
"detect_sub_tables_in_sheets": true,
"force_formula_computation_in_sheets": true
}
}
}
Terminal window
curl -X 'POST' \
'https://api.cloud.llamaindex.ai/api/v2/parse' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $LLAMA_CLOUD_API_KEY" \
--data '{
"file_id": "<file_id>",
"tier": "agentic_plus",
"version": "latest",
"input_options": {
"spreadsheet": {
"detect_sub_tables_in_sheets": true,
"force_formula_computation_in_sheets": true
}
}
}'