返回 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
測試版
權限
  • Files.ReadWrite
可選權限
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
參數
名稱類型說明必填
workbookIdfile Select the Excel workbook that contains the range to aggregate.是的
worksheetNamemustache Name of the worksheet (tab) to read from (e.g. "Sheet1").是的
rangemustache A1 range to aggregate (e.g. "A2:A100", "B2:D10").是的
aggregationstring Aggregation function to apply to the cells in the range.是的
delimitermustache Delimiter to use for STRING_AGG. Ignored for other aggregation types.
topNmustache Number of top values to return for APPROX_TOP_COUNT. Ignored for other aggregation types.
numQuantilesmustache Number of quantiles for APPROX_QUANTILES (e.g. 4 = quartiles). Ignored for other aggregation types.
退貨
名稱類型說明
statusstring DONE.
resultany 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.