-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Not calculating formulas when read filter applied #3473
Comments
For some reason in this file, the formula attribute |
But in this file formulas are referencing to same row so they are in range that I am selecting, like F2=H2&E2 , so please let me know if problem in excel file or problem with the library. |
It's a shared formula: the formula itself is only actually stored for one cell (e.g. Normally cell In this file, the The code change that I've made and merged into the |
Yes, I get the latest code from github and now it is working. Thanks |
This is:
What is the expected behavior?
This code is not calculating formulas with read filters. If I change $chunk_read_filter->setRows(1500, 3000); to $chunk_read_filter->setRows(1, 3000); it works. It need to calculate formulas with the range. My all formulas are in range and within same row.
What is the current behavior?
Not calculating formulas correctly with read filters applied.
What are the steps to reproduce?
Below is usage code
ChunkReadFilter.PHP
What features do you think are causing the issue
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
Which versions of PhpSpreadsheet and PHP are affected?
PhpSpreadsheet: "1.27"
PHP: "8.2"
I am also attaching excel file
Test Template 2- TotalRecord 10000.xlsx
The text was updated successfully, but these errors were encountered: