dream-num / univer

Univer is an open-source productivity tool dev kit helping you integrate spreadsheets, docs and slides into your applications.
https://univer.ai
Apache License 2.0
6.57k stars 561 forks source link

[Bug] issue from Logical functions #2721

Open Dushusir opened 2 months ago

Dushusir commented 2 months ago

Before you submit this issue, have you checked the following

Affected packages and versions

latest

Reproduction link

1、公式计算结果错误()
image

分析:VLOOKUP 查找算法

2、修改引用选区后undo,公式未显示计算结果2024_7_8 10_58_16 commands.json 2024_7_8 10_58_16 video.webm image 分析:数据更新问题

3、引用选区为空计算不出结果,Excel、365支持 image image 分析:为空是大多数函数通用问题,很多没有处理,需要统一处理

Expected behavior

匹配Excel

Actual behavior

查找不对

System information

No response

univer-bot[bot] commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] issue from Logical functions

Title: [Bug] issue from Logical functions


Before you submit this issue, have you checked the following

Affected packages and versions

latest

Reproduction link

  1. The formula calculation result is wrong () image

Analysis: VLOOKUP lookup algorithm

  1. After modifying the reference selection and undoing it, the formula does not display the calculation result 2024_7_8 10_58_16 commands.json 2024_7_8 10_58_16 video.webm image Analysis: Data update issues

  2. If the reference selection is empty, no result can be calculated. Excel and 365 support it. image image Analysis: Nullity is a common problem for most functions, many of which are not handled and need to be handled uniformly.

Expected behavior

Match Excel

Actual behavior

Wrong search

System information

No response