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

The brackets will be missing when setting up the arithmetic formula with brackets. #1913

Closed
iciness opened this issue Jun 3, 2024 · 1 comment

Comments

@iciness
Copy link

iciness commented Jun 3, 2024

Description

The brackets will be missing when setting up the arithmetic formula with brackets.

Steps to reproduce the issue:

xlsx.SetCellFormula("Sheet1", "I3", "=(H3-800)*20%")
xlsx.UpdateLinkedValue()

Describe the results you received:
After excel opens the file, the formula of i3 becomes = H3-800 * 20%

Describe the results you expected:
The brackets in the formula are not lost

Output of go version:

go version go1.22.3 windows/amd64

Excelize version or commit ID:

v2.8.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):

windows 11 pro 23H2 22631.3672
execl 2405 Build 16.0.17628.20006 64bit

@iciness iciness closed this as completed Jun 3, 2024
@iciness
Copy link
Author

iciness commented Jun 3, 2024

template.xlsx
Template files
20240603_172116_88_89.xlsx
Generated files

@iciness iciness closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
@iciness iciness closed this as completed Jun 3, 2024
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

1 participant