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

Edited Unassigned: COUNTIF function [9435]

$
0
0
The following code
```
XLWorkbook xw = new XLWorkbook();
IXLWorksheet ws = xw.AddWorksheet("ASheet");

ws.Cell("A1").Value = 2;
ws.Cell("A2").Value = 1;
ws.Cell("A3").Value = 3;
ws.Cell("A4").Value = 1;
ws.Cell("A10").FormulaA1 = @"=COUNTIF(A1:A4;""1"")";
Debug.Print(ws.Cell("A10").Value.ToString());

```
fires an "Identifier expected" issue.



Viewing all articles
Browse latest Browse all 1877

Trending Articles



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