Calculate formula on an Excel worksheet
Contents
[
Hide
]
This REST API returns the calculated value of a formula in a worksheet.
REST API
GET http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/formulaResult
The request parameters are:
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Name of the Excel file. |
| sheetName | string | path | Name of the worksheet that contains the formula. |
| formula | string | query | The formula to be evaluated (e.g., SUM(A5:A10)). |
| folder | string | query | Folder where the document is stored. |
| storageName | string | query | Name of the storage service (if applicable). |
The OpenAPI Specification defines a publicly accessible programming interface and lets you perform REST interactions directly from a web browser.
You can use the cURL command‑line tool to call Aspose.Cells web services easily. The example below shows how to request a formula result with cURL.
Cloud SDK Family
Using an SDK is the fastest way to integrate the API. An SDK handles low‑level details so you can focus on your business logic. See the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: