Is ignoring a formula and instead returning a 0.0
value a bug?
#1822
-
I have a use-case where I am exporting from QuickBooks as a The first known problematic file I have come across is When I run my Go program that uses execlize to read that file, I get all zeros ( I have forked the repo and used the Delve debugger to trace through and identify where the zero value is returned — in (c I was going to hack it and possibly provide a PR to substitute in the value from Does excelize even have expression resolution, or does it just rely on the value in I may have found my answer that tells me possibly that instead of calculating expressions excelize's approach is to delegate that to the user using Excel given your header comment for BTW, this is what a couple of the problematic rows look like from inspecting the value of <row r="9">
<c r="A9" t="s" s="3">
<v>4</v>
</c>
<c r="B9" t="n" s="5">
<f>62694.66</f>
<v>0.0</v>
</c>
</row> and <row r="17">
<c r="A17" t="s" s="3">
<v>12</v>
</c>
<c r="B17" t="n" s="6">
<f>((B10)+(B13))+(B16)</f>
<v>0.0</v>
</c>
</row> I am thinking that whoever wrote the code to generate the Excel files for Intuit didn't think to put actual non-zero values in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
And after literally hours of trying to figure this out to the point that the next day I write up the problem, I find that within minutes I find part of my answer, that yes, excelize can evaluate expressions with the That resolved my question is now; should |
Beta Was this translation helpful? Give feedback.
I was able to address the needs of my use-case.
So I submitted as a draft PR for review and discussion: #1823.