ย้อนกลับไปยัง Microsoft Excel
เชื่อมต่อ Knoon AI กับ Microsoft Excel (Microsoft) เพื่อทำงานอัตโนมัติของเวิร์กโฟลว์ AI
Aggregate values within a specific A1 range in an Excel worksheet (e.g. SUM, AVG, MIN, MAX, COUNT, ARRAY_AGG, STRING_AGG).
microsoftExcelAggregateCells
เบต้า
สิทธิ์การใช้งาน
สิทธิ์การใช้งานตัวเลือก
พารามิเตอร์
| ชื่อ | ประเภท | คำอธิบาย | จำเป็นต้องมี |
|---|---|---|---|
| workbookId | file | Select the Excel workbook that contains the range to aggregate. | ใช่ |
| worksheetName | mustache | Name of the worksheet (tab) to read from (e.g. "Sheet1"). | ใช่ |
| range | mustache | A1 range to aggregate (e.g. "A2:A100", "B2:D10"). | ใช่ |
| aggregation | string | Aggregation function to apply to the cells in the range. | ใช่ |
| delimiter | mustache | Delimiter to use for STRING_AGG. Ignored for other aggregation types. | ไม่ |
| topN | mustache | Number of top values to return for APPROX_TOP_COUNT. Ignored for other aggregation types. | ไม่ |
| numQuantiles | mustache | Number of quantiles for APPROX_QUANTILES (e.g. 4 = quartiles). Ignored for other aggregation types. | ไม่ |
คืนสินค้า
| ชื่อ | ประเภท | คำอธิบาย |
|---|---|---|
| status | string | DONE. |
| result | any | Aggregation result. For SUM/AVG/MIN/MAX/COUNT/COUNT(DISTINCT) returns a number. For STRING_AGG returns a string. For ARRAY_AGG returns an array of values. For APPROX_TOP_COUNT returns an array of { value, count } objects. For APPROX_QUANTILES returns an array of numeric quantile boundaries. |