We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func TestMyConcat(t *testing.T) { t.Log("Start testing ....") f, err := excelize.OpenFile("test.xlsx") if err != nil { t.Error(err) return } defer f.Close() f.SetCellValue("Mytest", "A1", "1") f.SetCellValue("Mytest", "A2", "2") f.SetCellValue("Mytest", "A3", "3") f.SetCellValue("Mytest", "A4", "4") f.SetCellValue("Mytest", "A5", "5") f.SetCellFormula("Mytest", "C5", "CONCAT(A1:A5)") value, err := f.CalcCellValue("Mytest", "C5") if err != nil { t.Error(err) return } t.Logf("The value of Mytest C5 is : %s", value) }
========= go test -v -run ^TestMyConcat$ excelizer/testing === RUN TestMyConcat excelize_test.go:54: Start testing .... excelize_test.go:73: CONCAT requires arguments to be strings --- FAIL: TestMyConcat (0.01s) FAIL FAIL excelizer/testing 0.590s FAIL
Environment details (Windows, Microsoft Excel™ 365, physical, etc.):
The text was updated successfully, but these errors were encountered:
fb72e56
Thanks for your issue. I have fixed this issue, please try to upgrade the master branch code, and this patch will be released in the next version.
Sorry, something went wrong.
This closes qax-os#1569, formula function CONCAT, CONCATENATE support…
0af3fd6
… concatenation of multiple cell values
d783452
No branches or pull requests
========= go test -v -run ^TestMyConcat$ excelizer/testing === RUN TestMyConcat excelize_test.go:54: Start testing .... excelize_test.go:73: CONCAT requires arguments to be strings --- FAIL: TestMyConcat (0.01s) FAIL FAIL excelizer/testing 0.590s FAIL
Environment details (Windows, Microsoft Excel™ 365, physical, etc.):
The text was updated successfully, but these errors were encountered: