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

Excel formula involving multiple nested functions, an error occurs #1490

Open
SHAO-QII opened this issue Jun 17, 2024 · 3 comments
Open

Excel formula involving multiple nested functions, an error occurs #1490

SHAO-QII opened this issue Jun 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@SHAO-QII
Copy link

EPPlus usage

Noncommercial use

Environment

windows

Epplus version

7.1.3

Spreadsheet application

excel

Description

When calculating with an Excel formula involving multiple nested functions, an error occurs. The error happens after successfully retrieving the value of E7 from a subset of data, but then fails when attempting to retrieve E6. Despite this, Excel executes the formula without indicating any errors

formula :
=IFERROR(LOOKUP(OFFSET(OFFSET(钢材库!$D$2:$D$102,MATCH(E6,钢材库!$M$2:$M$102,0)-1,0,COUNTIF(钢材库!$M$2:$M$102,E6),1),MATCH(E7,OFFSET(钢材库!$D$2:$D$102,MATCH(E6,钢材库!$M$2:$M$102,0)-1,0,COUNTIF(钢材库!$M$2:$M$102,E6),1))-1,0,1,1),OFFSET(钢材库!$D$2:$D$102,MATCH(E6,钢材库!$M$2:$M$102,0)-1,0,COUNTIF(钢材库!$M$2:$M$102,E6),1),OFFSET(钢材库!$E$2:$E$102,MATCH(E6,钢材库!$M$2:$M$102,0)-1,0,COUNTIF(钢材库!$M$2:$M$102,E6),1)),VLOOKUP(E6,钢材库!$C$2:$L$102,COLUMNS(钢材库!$C$2:$E$3),FALSE))

@SHAO-QII SHAO-QII added the bug Something isn't working label Jun 17, 2024
@JanKallman
Copy link
Contributor

Can you attach the workbook that reproduces this issue.

@SHAO-QII
Copy link
Author

ok!In the "阿姆斯图兹" worksheet, the strength values in row 13 need to be updated when the steel grade in row 6 is changed.

Test.zip

@JanKallman
Copy link
Contributor

Works fine when I recalculates the workbook using EPPlus 7.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants