-
-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] VLOOKUP formula search for matching items and sum calculation error, inconsistent with wps results #4464
Comments
Please provide the minimal reproduction |
|
|
补充复现链接 https://stackblitz.com/edit/univer-sheets-vite-pxjpuvm4?file=index.html,src%2Fmain.js 合计列 A2 包含公式 |
Supplementary reproduction link https://stackblitz.com/edit/univer-sheets-vite-pxjpuvm4?file=index.html,src%2Fmain.js Total column A2 contains the formula |
Please help check the formula Excel:
Univer: |
Please help check the formula Excel:
Univer: |
在您提交此问题之前,您是否检查了以下内容?
受影响的包和版本
0.5.3
复现链接
输入公式 =SUM(VLOOKUP(T(IF({1},G6:H6)),下拉菜单!$P:$R,3,0) * IF(COUNT(J10:K10)=2,K10-J10+1,"0"))
G6:H6 两个人名
下拉菜单!$P:$R 两列人名和费用数字
J10:K10 日期 比如2024-01-05 2024-01-01
计算结果只算出了一个人的合计
在wps中算出的是两个人的合计 或者说很多人的统计计算
预期行为
实际行为
运行环境
Chrome
系统信息
System:
OS: macOS 15.0.1
CPU: (10) arm64 Apple M1 Max
Memory: 1.12 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.8.0 - ~/.nvm/versions/node/v18.8.0/bin/node
Yarn: 1.22.22 - ~/Library/pnpm/yarn
npm: 8.18.0 - ~/.nvm/versions/node/v18.8.0/bin/npm
pnpm: 8.10.0 - ~/Library/pnpm/pnpm
Browsers:
Chrome: 131.0.6778.265
Safari: 18.0.1
The text was updated successfully, but these errors were encountered: