wps_et_set_formula
Write an Excel formula into a cell for real calculation by the WPS ET engine, then read the cell back to verify success or detect errors like #NAME? or #REF!.
Instructions
向单元格写入公式(以 = 开头,由 ET 引擎真实计算)。写入后必须用 read_range 读回该单元格验证结果:数值为成功;以 # 开头(#NAME? #REF! #VALUE! 等)为公式错误。注意函数语义按 Excel 标准(如 VLOOKUP 的 col_index 是相对查找范围首列的偏移量,范围 $C:$E 中第 1 列才是 C 列)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | 单元格,如 D2 | |
| formula | Yes | 公式,以 = 开头,如 =VLOOKUP(...)、=SUMIF(...)、=SUMPRODUCT(...) |