-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 giving proper calculate values #225
Comments
There is also a slightly different workflow that is not working and I don't know of any sensible workaround: |
Try call the function |
Wow great! This is indeed the case. Working like charm. |
Description
I am able to insert new values into specified cells and able to fetch the values from a specified cell. In my excel sheet, few cells have formulas in it, so depending on my input the cell which has the formula should return the calculated value. But here the excel is able to take my values as input and store it in excel sheet but it is not giving the calculated values of new entries, it is always giving the calculated values of old entries.
For example, I have manually give 2,3,4 values in B2, B3, B4 cells respectively and B5 has the formula to add them. expected output is a sum of these cells i.e, 9. When I programmatically try to fetch the value of B5 then I am able to get the correct output as 9. Now I am trying to insert the values programmatically to B2, B3, B4 and tried to get the output from B5. At this point, I am able to save new values to B2, B3, B4 as 5,6,7 but B5 is still giving me 9 instead of 18.
Steps to reproduce the issue:
2.xlsx2.GetCellValue("Sheet1", "B16") (for getting the value of a cell)
Describe the results you received:
Describe the results you expected:
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Windows 10, Microsoft Excel version 1804
The text was updated successfully, but these errors were encountered: