Skip to content

Commit

Permalink
Register COUNTA tag (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
b0bi79 committed Sep 7, 2018
1 parent 76e04ea commit e94607b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ClosedXML.Report/Excel/SubtotalSummaryFunc.cs
Expand Up @@ -13,6 +13,7 @@ public class SubtotalSummaryFunc
{"average", new FuncData<AverageAggregator>(1)},
{"avg", new FuncData<AverageAggregator>(1)},
{"count", new FuncData<CountAggregator>(2)},
{"countnums", new FuncData<CountAggregator>(2)},
{"counta", new FuncData<CountAAggregator>(3)},
{"max", new FuncData<MaxAggregator>(4)},
{"min", new FuncData<MinAggregator>(5)},
Expand Down
1 change: 1 addition & 0 deletions ClosedXML.Report/XLTemplate.cs
Expand Up @@ -38,6 +38,7 @@ static XLTemplate()
TagsRegister.Add<SummaryFuncTag>("AVG", 50);
TagsRegister.Add<SummaryFuncTag>("AVERAGE", 50);
TagsRegister.Add<SummaryFuncTag>("COUNT", 50);
TagsRegister.Add<SummaryFuncTag>("COUNTA", 50);
TagsRegister.Add<SummaryFuncTag>("COUNTNUMS", 50);
TagsRegister.Add<SummaryFuncTag>("MAX", 50);
TagsRegister.Add<SummaryFuncTag>("MIN", 50);
Expand Down

0 comments on commit e94607b

Please sign in to comment.