• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Excel Report - Formula AVERAGE vs AVERAGEIF

    Mango Automation general Discussion
    2
    3
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Felicia Luong
      last edited by

      Hi Phil,

      I have included a formula AVERAGE in the excel report. I have no issue running the excel report. However when I change the formula from AVERAGE to AVERAGEIF in the excel report, I encounter error in running the excel report. Error message is "Failure: Error in evaluating cell Data!D2". Cell Data!D2 is where the formula resides.

      Do you know the reason?

      Thanks.

      Felicia

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by phildunlap

        Hi Felicia,

        I don't entirely know the reason, but it's in the Apache POI library and not in the Mango code, as suggested in our testing upon the last ask of this: https://forum.infiniteautomation.com/topic/3386/excel-reports-function-compatability

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by

          The AVERAGEIF is not [yet?] a supported function of Apache POI:

          https://poi.apache.org/spreadsheet/eval-devguide.html

          1 Reply Last reply Reply Quote 0
          • First post
            Last post