org.zkoss.poi.ss.formula.eval.NotImplementedException: SUBTOTAL - with 'exclude hidden values' option

ZK-Tracker | samchuang | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    http://office.microsoft.com/en-001/excel-help/subtotal-function-HP010062463.aspx there's serveal function number user can use, for example "103 COUNTA" Currently, I tried (9 MAX) and (4 SUM), it works fine. BTW, with (103 COUNTA), I got org.zkoss.poi.ss.formula.eval.NotImplementedException: SUBTOTAL - with 'exclude hidden values' option at org.zkoss.poi.ss.formula.functions.Subtotal.findFunction(Subtotal.java:77) at org.zkoss.poi.ss.formula.functions.Subtotal.evaluate(Subtotal.java:92) at org.zkoss.poi.ss.formula.OperationEvaluatorFactory.evaluate(OperationEvaluatorFactory.java:132) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:539) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:316) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:255) at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:266) at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:119) at org.zkoss.zss.model.impl.BookHelper.evaluate(BookHelper.java:471) at org.zkoss.zss.model.impl.BookHelper.getFormatText(BookHelper.java:1013) at org.zkoss.zss.model.impl.RangeImpl.getFormatText(RangeImpl.java:271) at org.zkoss.zss.ui.impl.Utils.getFormatText(Utils.java:915) at org.zkoss.zss.ui.impl.CellFormatHelper.getHtmlStyle(CellFormatHelper.java:89) at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getCellAttr(Spreadsheet.java:3032) at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getRangeAttrs(Spreadsheet.java:2878) at org.zkoss.zss.ui.Spreadsheet.renderProperties(Spreadsheet.java:1647)

    ZK-Tracker | 4 years ago | samchuang
    org.zkoss.poi.ss.formula.eval.NotImplementedException: SUBTOTAL - with 'exclude hidden values' option
  2. 0

    http://office.microsoft.com/en-001/excel-help/subtotal-function-HP010062463.aspx there's serveal function number user can use, for example "103 COUNTA" Currently, I tried (9 MAX) and (4 SUM), it works fine. BTW, with (103 COUNTA), I got org.zkoss.poi.ss.formula.eval.NotImplementedException: SUBTOTAL - with 'exclude hidden values' option at org.zkoss.poi.ss.formula.functions.Subtotal.findFunction(Subtotal.java:77) at org.zkoss.poi.ss.formula.functions.Subtotal.evaluate(Subtotal.java:92) at org.zkoss.poi.ss.formula.OperationEvaluatorFactory.evaluate(OperationEvaluatorFactory.java:132) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:539) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:316) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:255) at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:266) at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:119) at org.zkoss.zss.model.impl.BookHelper.evaluate(BookHelper.java:471) at org.zkoss.zss.model.impl.BookHelper.getFormatText(BookHelper.java:1013) at org.zkoss.zss.model.impl.RangeImpl.getFormatText(RangeImpl.java:271) at org.zkoss.zss.ui.impl.Utils.getFormatText(Utils.java:915) at org.zkoss.zss.ui.impl.CellFormatHelper.getHtmlStyle(CellFormatHelper.java:89) at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getCellAttr(Spreadsheet.java:3032) at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getRangeAttrs(Spreadsheet.java:2878) at org.zkoss.zss.ui.Spreadsheet.renderProperties(Spreadsheet.java:1647)

    ZK-Tracker | 4 years ago | samchuang
    org.zkoss.poi.ss.formula.eval.NotImplementedException: SUBTOTAL - with 'exclude hidden values' option
  3. 0

    get exception when loading zksessential /WEB-INF/excel/display/engineering.xlsx file {code} Error evaluating cell Sheet1!E8 Caused by: org.zkoss.poi.ss.formula.eval.NotImplementedException: Error evaluating cell Sheet1!E8 at org.zkoss.poi.ss.formula.WorkbookEvaluator.addExceptionInfo(WorkbookEvaluator.java:385) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:326) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:255) at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:266) at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:119) at org.zkoss.zss.model.impl.BookHelper.evaluate(BookHelper.java:471) at org.zkoss.zss.model.impl.BookHelper.getFormatText(BookHelper.java:1013) at org.zkoss.zss.model.impl.RangeImpl.getFormatText(RangeImpl.java:271) at org.zkoss.zss.ui.impl.Utils.getFormatText(Utils.java:915) at org.zkoss.zss.ui.impl.CellFormatHelper.getHtmlStyle(CellFormatHelper.java:89) at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getCellAttr(Spreadsheet.java:3034) at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getRangeAttrs(Spreadsheet.java:2880) at org.zkoss.zss.ui.Spreadsheet.renderProperties(Spreadsheet.java:1648) at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:1805) at org.zkoss.zk.ui.sys.HtmlPageRenders.outPageContent(HtmlPageRenders.java:609) at org.zkoss.zul.impl.PageRenderer.renderDesktop(PageRenderer.java:98) at org.zkoss.zul.impl.PageRenderer.render(PageRenderer.java:56) at org.zkoss.zk.ui.impl.PageImpl.redraw(PageImpl.java:854) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:490) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: org.zkoss.poi.ss.formula.eval.NotImplementedException: BESSELI at org.zkoss.poi.ss.formula.atp.AnalysisToolPak$NotImplemented.evaluate(AnalysisToolPak.java:40) at org.zkoss.poi.ss.formula.UserDefinedFunction.evaluate(UserDefinedFunction.java:65) at org.zkoss.poi.ss.formula.OperationEvaluatorFactory.evaluate(OperationEvaluatorFactory.java:129) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:539) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:316) ... 37 more {code}

    ZK-Tracker | 4 years ago | dennis
    org.zkoss.poi.ss.formula.eval.NotImplementedException: Error evaluating cell Sheet1!E8
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [ZSS-270] error evaluating some statistical formulas - ZK-Tracker

    zkoss.org | 1 year ago
    org.zkoss.poi.ss.formula.eval.NotImplementedException: AVERAGEIF
  6. 0

    h3. problem description: error evaluating formulas: *AVERAGEIF, AVERAGEIFS* {code} java.lang.AssertionError: =AVERAGEIF(B12:E12,"<23000") failed, at row 11 in xsheet: formula-statistical Expected: "14000" but: was "Error evaluating cell 'formula-statistical'!B11" {code} Exception stack trace: {code} >>org.zkoss.poi.ss.formula.eval.NotImplementedException: Error evaluating cell 'formula-statistical'!B11 >>org.zkoss.poi.ss.formula.eval.NotImplementedException: AVERAGEIF >> at org.zkoss.poi.ss.formula.atp.AnalysisToolPak$NotImplemented.evaluate(AnalysisToolPak.java:40) >> at org.zkoss.poi.ss.formula.UserDefinedFunction.evaluate(UserDefinedFunction.java:65) >> at org.zkoss.poi.ss.formula.OperationEvaluatorFactory.evaluate(OperationEvaluatorFactory.java:129) >> at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:539) >> at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:316) >> at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:255) >> at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:266) >> at org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:119) >> at org.zkoss.zss.model.sys.impl.BookHelper.evaluate(BookHelper.java:476) >> at org.zkoss.zss.model.sys.impl.BookHelper.getFormatText(BookHelper.java:1018) >> at org.zkoss.zss.ui.impl.XUtils.getFormatText(XUtils.java:355) >> at org.zkoss.zss.ui.impl.CellFormatHelper.getHtmlStyle(CellFormatHelper.java:89) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getCellAttr(Spreadsheet.java:3066) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getRangeAttrs(Spreadsheet.java:2940) >> at org.zkoss.zss.ui.Spreadsheet.updateSheetAttributes(Spreadsheet.java:859) >> at org.zkoss.zss.ui.Spreadsheet.setSelectedSheetDirectly(Spreadsheet.java:798) >> at org.zkoss.zss.ui.Spreadsheet.access$40(Spreadsheet.java:776) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3520) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4721) {code} h3. reproducing steps run automatic test case {{FormulaTest}} of the [project zss.test of zkspreadsheet |https://github.com/zkoss/zkspreadsheet/tree/3.0] or attached file

    ZK-Tracker | 4 years ago | hawk
    org.zkoss.poi.ss.formula.eval.NotImplementedException: AVERAGEIF

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zkoss.poi.ss.formula.eval.NotImplementedException

      SUBTOTAL - with 'exclude hidden values' option

      at org.zkoss.poi.ss.formula.functions.Subtotal.findFunction()
    2. org.zkoss.poi
      XSSFFormulaEvaluator.evaluate
      1. org.zkoss.poi.ss.formula.functions.Subtotal.findFunction(Subtotal.java:77)
      2. org.zkoss.poi.ss.formula.functions.Subtotal.evaluate(Subtotal.java:92)
      3. org.zkoss.poi.ss.formula.OperationEvaluatorFactory.evaluate(OperationEvaluatorFactory.java:132)
      4. org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:539)
      5. org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:316)
      6. org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:255)
      7. org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:266)
      8. org.zkoss.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluate(XSSFFormulaEvaluator.java:119)
      8 frames
    3. org.zkoss.zss
      Spreadsheet.renderProperties
      1. org.zkoss.zss.model.impl.BookHelper.evaluate(BookHelper.java:471)
      2. org.zkoss.zss.model.impl.BookHelper.getFormatText(BookHelper.java:1013)
      3. org.zkoss.zss.model.impl.RangeImpl.getFormatText(RangeImpl.java:271)
      4. org.zkoss.zss.ui.impl.Utils.getFormatText(Utils.java:915)
      5. org.zkoss.zss.ui.impl.CellFormatHelper.getHtmlStyle(CellFormatHelper.java:89)
      6. org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getCellAttr(Spreadsheet.java:3032)
      7. org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getRangeAttrs(Spreadsheet.java:2878)
      8. org.zkoss.zss.ui.Spreadsheet.renderProperties(Spreadsheet.java:1647)
      8 frames