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

@ added to forecast formulae #615

Open
ABSYKS opened this issue Apr 17, 2020 · 3 comments
Open

@ added to forecast formulae #615

ABSYKS opened this issue Apr 17, 2020 · 3 comments

Comments

@ABSYKS
Copy link

ABSYKS commented Apr 17, 2020

Description
When setting a 'FORECAST' formula, '@' is inserted in between the '=' and the rest of the formula.

Steps to reproduce the issue:

file := excelize.NewFile()
file.NewSheet("Sheet 1")
file.SetCellFormula("Sheet 1", "A1", "FORECAST.LINEAR(2021,B3:D3,B1:D1)")
file.SaveAs("file.xlsx")

Describe the results you received:
When opening the spreadsheet, the cell formula is set as "[email protected](2021,B3:D3,B1:D1)"

Output of go version:

go version go1.14.2 darwin/amd64

Excelize version or commit ID:

Excelize v2.1.0
@xuri
Copy link
Member

xuri commented Apr 18, 2020

Thanks for your feedback. Which version of the spreadsheet application are you using? I have tested on Excel for mac 16.35, Excel 16.0.12624.20422 on Windows and it works well.

@ABSYKS
Copy link
Author

ABSYKS commented Apr 18, 2020

Thanks for the quick response! I am using Excel for mac 16.36.

@Toshik1978
Copy link

The same issue with XLOOKUP. It’s new Dynamic Arrays feauture. And excelize has no ways to deal with it

Here some info

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

3 participants