Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: Using SUMIF results in a "Syntax error." exception [9442]

$
0
0
Using

```
SUMIF(A1:A10,">0")
```

results in a "Syntax error." exception.


Code ends up in the ParseAtom() method with the _token.Type of TKTYPE.COMPARE, which is unsupported at that moment.
Comments: The fix is to just replace the value with 0 if it's blank in the built expression. MathTrig.cs line 258

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>