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: This only happens if the cell in A1:A10 range is an empty string ValueSatisfiesCriteria tries to evaluate the expression of value > 0, value being empty it builds an unsupported expression and the whole thing fails with Syntax error.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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