Hi ,
dll version : 4.0.5
I am using countifs formula then calculate function and after that when trying to get the cell value like ( String val22 = (String)SummarysheetModel.Cells[k, 201, k, 201].Value.ToString(); ) , system getting slow at debugging and release mode.
I have lots of entries in Excel worksheet and want to calculate each cell and show in new worksheet.
Please let me know if this is a correct to get the cell value.
sheet["B3"].Formula = "COUNTIFS(Data!V:V,\"CODE\",Data!AL:AL,\"MODEL\")";
sheet.Cells[k, 201, k, 201].Calculate();
String val22 = (String)sheet.Cells[k, 201, k, 201].Value.ToString();
Comments: If you have a very large number of cells calculation could be slow. You could attach a logger to the FormulaParserManager as described here: https://epplus.codeplex.com/wikipage?title=About%20Formula%20calculation&referringTitle=Documentation And then share here how many cells that was calculated in your workbook.
dll version : 4.0.5
I am using countifs formula then calculate function and after that when trying to get the cell value like ( String val22 = (String)SummarysheetModel.Cells[k, 201, k, 201].Value.ToString(); ) , system getting slow at debugging and release mode.
I have lots of entries in Excel worksheet and want to calculate each cell and show in new worksheet.
Please let me know if this is a correct to get the cell value.
sheet["B3"].Formula = "COUNTIFS(Data!V:V,\"CODE\",Data!AL:AL,\"MODEL\")";
sheet.Cells[k, 201, k, 201].Calculate();
String val22 = (String)sheet.Cells[k, 201, k, 201].Value.ToString();
Comments: If you have a very large number of cells calculation could be slow. You could attach a logger to the FormulaParserManager as described here: https://epplus.codeplex.com/wikipage?title=About%20Formula%20calculation&referringTitle=Documentation And then share here how many cells that was calculated in your workbook.