Skip to content
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

Nested Formular Error with CalCellValue #1164

Closed
ffleader1 opened this issue Mar 1, 2022 · 1 comment
Closed

Nested Formular Error with CalCellValue #1164

ffleader1 opened this issue Mar 1, 2022 · 1 comment
Labels
confirmed This issue can be reproduced

Comments

@ffleader1
Copy link

Description
Cannot use nested function with calculate cell value. It produces incorrect result.

Try this function: =IF((ROUNDUP(IF(A1=16,(A2*2+4*0.3+1+1),IF(A1=4,(A2+2*0.3+1+1),(A3*SQRT(A1/2)+(SQRT(A1/2)*0.3)+1+1))),0))<=A4,(ROUNDUP(IF(A1=16,(A2*2+4*0.3+1+1),IF(A1=4,(A2+2*0.3+1+1),(A3*SQRT(A1/2)+(SQRT(A1/2)*0.3)+1+1))),0)),-1)

It works in excel but will not work with the plugin. It gives this error: IF accepts at most 3 arguments

Excelize version:

v2.5.0
@xuri xuri added the confirmed This issue can be reproduced label Mar 2, 2022
@xuri xuri closed this as completed in 129052a Mar 3, 2022
@xuri
Copy link
Member

xuri commented Mar 3, 2022

Thanks for your feedback, I have fixed this issue, please try upgrade to the master branch code, and this patch will be released in the next version.

xuri added a commit to carbin-gun/excelize that referenced this issue Oct 9, 2022
jenbonzhang pushed a commit to jenbonzhang/excelize that referenced this issue Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed This issue can be reproduced
Projects
No open projects
Status: Bugfix
Development

No branches or pull requests

2 participants