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

formula and style #156

Open
Eugene748 opened this issue Oct 13, 2024 · 1 comment
Open

formula and style #156

Eugene748 opened this issue Oct 13, 2024 · 1 comment

Comments

@Eugene748
Copy link

This example creates an error when opening a file in excel. What could be the problem?

$data = [
  ['1','100000'],
  ['2','999999'],
  ['3','<style nf="#,##0.00"><f>sum(B1:B2)</f></style>'],
];
SimpleXLSXGen::fromArray($data)->downloadAs('test.xlsx');
@shuchkin
Copy link
Owner

fixed in 1.4.13, when v=??? skipped default value is not indexed string formula, 0 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants