Closed Dushusir closed 5 days ago
Attention: Patch coverage is 89.79592%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 27.00%. Comparing base (
ae4670a
) to head (99ee97c
).
Files | Patch % | Lines |
---|---|---|
...ngine-formula/src/functions/lookup/choose/index.ts | 88.37% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Origin Title: feat(formula): add choose function
Title: feat(formula): add choose function
修复
close #2000(未修改,符合预期)
实现公式
📑 Examples | 📚 Storybook |
---|---|
🔗 Preview link | 🔗 Preview link |
1、使用=SUM(A2:CHOOSE(2,A3,A4,A5))无法计算出值
2、函数内输入小数点如=CHOOSE(1.5,B2,A3,A4,A5),无法计算出值
3、将value设置为定义名称,输入值如=CHOOSE(2,定义名称,A3,A4,A5),结果计算过多 excel:
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
If you enter a decimal point in the function, such as =CHOOSE(1.5,B2,A3,A4,A5), the value cannot be calculated.
Set value to the defined name, enter a value such as =CHOOSE(2, defined name, A3, A4, A5), the result is too many calculations excel:
1,2,3 all fixed
修复
close #2000(未修改,符合预期)
实现公式
Pull Request Checklist