Skip to main content

Overview

Excel tools provide comprehensive functionality for working with Excel files (.xlsx). You can create new files from array data, read data, update cells, retrieve specific rows, extract embedded images, and manipulate Excel files from URLs.

Key Features

  • EXCEL_CREATE
    • Create a new Excel file from a 2D array and return a download URL
  • EXCEL_GET_ROWS
    • Retrieve multiple rows from an Excel sheet as a 2D array, optionally limited to a range (e.g. “A1:C10”)
  • EXCEL_GET_ROW
    • Get a single row from an Excel sheet using a range (e.g. “A5:C5”)
  • EXCEL_GET_CELL_WITH_COORDINATE
    • Get cell values with their coordinates from a range defined by a start cell and an end cell
  • EXCEL_GET_IMAGES
    • Extract images embedded in an Excel file, with their sheet name and cell range
  • EXCEL_UPDATE
    • Update Excel file with new data using range selection
  • EXCEL_UPDATE_BY_COORDINATE
    • Update specific cells using coordinate-based positioning

Authentication

No authentication required. Excel tools work directly with file URLs.

Example: Creating an Excel File

The result is a URL to download the created Excel file.

Example: Reading Excel Data

EXCEL_GET_ROWS returns the cell values as a 2D array in result, and EXCEL_GET_ROW returns a single row as an array. EXCEL_GET_CELL_WITH_COORDINATE returns an array of {coordinate, content} objects for each cell in the range from startCell to endCell. EXCEL_GET_IMAGES returns a URL, file extension, MIME type, sheet name, and covered cell range for each extracted image, plus the total image count.

Example: Updating Excel Data

Example: Excel Data Processing Workflow

Tips and Best Practices

  • Always specify the sheet name to avoid working with the wrong sheet
  • Use coordinate notation (A1, B2, etc.) for precise cell references
  • When updating ranges, ensure your data array dimensions match the specified range
  • For large datasets, consider processing data in chunks to avoid timeouts
  • Validate data format before updating Excel files to prevent errors